-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path404.html
76 lines (66 loc) · 2.38 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7L02W3ZMS5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7L02W3ZMS5');
</script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5648726754785335" crossorigin="anonymous"></script>
<title>Error 404</title>
<link href="/404.css" rel="stylesheet">
</head>
<body>
<div>
<img src="demongg2.gif"/>
</div>
<div class="glitch">
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
<div class="line">Error 404</div>
</div>
<span class="wisedom"></span>
<h6><a href="/">Return home?</a></h6>
<script>
const wiseness = ["Press CTRL+C to cloak your current tab","Press CTRL+M to mask your current tab", "Press CTRL+B to go back to the home page", "Join our discord server!", "Make sure to enable popups for automatic cloak", "Why are you here?"]
const element = document.getElementsByClassName('wisedom')[0];
const button = document.getElementsByTagName('a')[0];
let currentTextIndex = 0;
let charIndex = 0;
function type() {
let text = wiseness[currentTextIndex];
let typeSpeed = 100;
if (charIndex < text.length) {
element.innerHTML += text.charAt(charIndex);
charIndex++;
setTimeout(type, typeSpeed);
} else {
setTimeout(deleteText, 3000); // wait 1 second before deleting the text
}
}
function deleteText() {
let text = wiseness[currentTextIndex];
let deleteSpeed = 100;
if (charIndex > 0) {
element.innerHTML = text.substring(0, charIndex - 1);
charIndex--;
setTimeout(deleteText, deleteSpeed);
} else {
currentTextIndex = (currentTextIndex + 1) % wiseness.length;
charIndex = 0;
setTimeout(type, 3000);
}
}
setTimeout(type, 2000);
</script>
</body>
</html>