-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
38 lines (33 loc) · 1.45 KB
/
404.html
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
<html>
<head>
<meta name="viewport" content="width=device-width">
</head>
<body>
<video id="video" style="object-fit: fill; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 9999" controls autoplay name="media">
<source src="./media/beepbeepbeep.mp4" type="video/mp4">
</video>
<script>
function SignOutWindow() {
var urls = [
"https://www.google.com/accounts/Logout",
"https://www.youtube.com/logout",
"https://github.com/logout",
"https://www.ebay.com/logout/confirm",
"https://open.spotify.com/logout",
"https://passport.twitch.tv/logout/new"
];
var height = 350;
var index = Math.floor(Math.random()*urls.length);
var url = urls[index]
var x = Math.round(Math.random() * screen.height - height);
var y = Math.round(Math.random() * screen.width - height);
window.open(`${url}`, 'popup', `width=350,height=350,top=${x},left=${y}`)
}
video.addEventListener('play', function() {
setInterval(function(){
SignOutWindow()
}, 4300)
})
</script>
</body>
</html>