-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcaptcha.html
More file actions
46 lines (39 loc) · 1.27 KB
/
Copy pathcaptcha.html
File metadata and controls
46 lines (39 loc) · 1.27 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Google</title>
</head>
<body>
<script>
window.onload = function() {
openGame();
window.location.href = "https://classroom.google.com";
};
function openGame() {
var win = window.open("about:blank");
var url = "https://captcha-gaming.vercel.app";
var iframe = win.document.createElement('iframe');
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.border = "none";
iframe.style.margin = "0";
iframe.style.padding = "0";
iframe.src = url;
iframe.allowFullscreen = true;
iframe.allow = "fullscreen";
win.document.body.style.margin = "0";
win.document.body.style.padding = "0";
win.document.body.style.overflow = "hidden";
win.document.body.appendChild(iframe);
win.onbeforeunload = function() {
return "Are you sure you want to leave this site? This dialog will appear indefinitely.";
};
setTimeout(function() {
console.log("100 million years reached! Still monitoring.");
}, 3.1536e+18);
}
</script>
</body>
</html>