-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (31 loc) · 1.07 KB
/
index.html
File metadata and controls
31 lines (31 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<script>
function create() {
var url = document.getElementById('input').value;
var win = window.open('about:blank#blocked');
win.document.body.style.margin = '0';
win.document.body.style.height = '100vh';
var iframe = win.document.createElement('iframe');
iframe.style.border = 'none';
iframe.style.width = '100%';
iframe.style.height = '100%';
iframe.style.margin = '0';
iframe.src = url;
win.document.body.appendChild(iframe);
window.location.replace("https://docs.google.com");
document.getElementById("id").innerHTML = "Cloaked~"
}
</script>
</head>
<body>
<h1> Testing </h1>
<hr>
<div class="clicker">
<input type="text" value="https://crimson-requiem.github.io/antithesis" placeholder="https://crimson-requiem.github.io/antithesis" id='input' autofocus>
<button onclick='create()'>Cloak!</button>
</div>
<p id="clock"></p>
</body>
</html>