forked from npxl32/npxl32.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
120 lines (69 loc) · 2.77 KB
/
Copy path404.html
File metadata and controls
120 lines (69 loc) · 2.77 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Soft redirect</title>
<style>
body {
background-color: black;
color: white;
}
button {
padding: 10px;
outline: none;
cursor: pointer;
background-color: green;
color: white;
border: 2px outset gray;
}
button:active {
border: 2px inset gray;
}
</style>
</head>
<body>
<h1>npxl32 website</h1>
<p>Unfortunately, this website is not a GitHub Pages website, as GitHub Pages is for static websites.</p>
<p>The real website is located at https://www.npxl32.com/.</p>
<p>Would you like to go there? (Remember: it's www.npxl32.com, <i>not</i> npxl32.com)</p>
<button id="yes">Yes</button>
<button id="maybe">Maybe</button>
<button id="no">No</button>
<button id="none">None of the above</button>
<script>
// setTimeout(()=>{window.top.location.replace("https://www.npxl32.com/"), 1000});
document.querySelector("#yes").onclick = function() {
window.top.postMessage("so uhmm redirect you dumbass");
}
function onMessage(msg) {
if (msg.data == "so uhmm redirect you dumbass") {
alert("And remember: using npxl32.com without the www won't work.");
location.replace("https://www.npxl32.com/");
}
}
document.querySelector("#no").onclick = function() {
window.top.postMessage("so uhmm redirect you dumbass");
}
function onMessage(msg) {
if (msg.data == "so uhmm redirect you dumbass") {
alert("dude why");
location.replace("https://www.bing.com/images/search?view=detailV2&ccid=kTsj9swB&id=01D61C6224F5B1F7B5A7047AFF24E98EAA459C1B&thid=OIP.kTsj9swBUfydQG4k4vC9NQAAAA&mediaurl=https%3a%2f%2fi.kym-cdn.com%2fphotos%2fimages%2foriginal%2f002%2f575%2f103%2fa2b.jpg&cdnurl=https%3a%2f%2fth.bing.com%2fth%2fid%2fR.913b23f6cc0151fc9d406e24e2f0bd35%3frik%3dG5xFqo7pJP96BA%26pid%3dImgRaw%26r%3d0&exph=348&expw=474&q=Krill+yourself&simid=608033358182823917&FORM=IRPRST&ck=E6B12A8FEA9C57088B7DA09FFA1D7161&selectedIndex=2&itb=0&ajaxhist=0&ajaxserp=0");
}
}
function onMessage(msg) {
if (msg.data == "so uhmm redirect you dumbass") {
alert("Be more decisive nerd.");
location.replace("https://ia801907.us.archive.org/6/items/animusic-2001-60fps/Beyond%20the%20Walls%20%281996%29.mp4");
}
}
}
function onMessage(msg) {
if (msg.data == "so uhmm redirect you dumbass") {
alert(">:(");
location.replace("https://www.apple.com/safari/");
}
}
window.addEventListener("message", onMessage);
</script>
</body>
</html>