-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
120 lines (112 loc) · 3.67 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
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>
<link rel="icon" type="image/x-icon" href="https://google.com/favicon.ico" />
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shorcut icon" type="x-icon" href="https://google.com/favicon.ico" />
<title>Google</title>
<style>
body {
font-family: arial;
color: #fff;
background-color: #000000;
background-size: cover;
}
a {
color: #fff;
padding-bottom: 10px;
text-decoration: none;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
* {
margin: auto;
text-align: center;
}
#reason {
padding-top: 20%;
padding-bottom: 20px;
}
h1 {
font-size: 120px;
}
</style>
<style>
.button {
background-color: transparent;
border: none;
color: white;
padding: 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
padding-bottom: 10px;
text-decoration:underline;
}
</style>
</head>
<body>
<h1 id="reason">404</h1>
<h2>
This page doesn't exist. If you believe you shouldn't have gotten this
error, contact us, or go back to the main page below.
</h2>
<center>
<u>
<button class="button" onclick="statsForNerds()">Stats for nerds</button>
</u>
</center>
<div id="sfn" style="display: none;" class="message">
Please make a issue about this happening on the <a href="https://github.com/shadowgmes/shadowgmes.github.io/issues">Github issue tracker</a>. Requested URL: <span id="full">Fetching...</span><br />
Referrer: <span id="ref">Fetching...</span><br />
Title: <span id="title">Fetching...</span><br />
Screen height: <span id="height">Fetching...</span><br />
Screen width: <span id="width">Fetching...</span><br />
Window height: <span id="winheight">Fetching...</span><br />
Window width: <span id="winwidth">Fetching...</span><br />
Cookies: <span id="cookie">Fetching...</span><br />
User agent: <span id="ua">Fetching...</span><br />
OS platform: <span id="plat">Fetching...</span><br />
Online: <span id="online">Fetching...</span><br />
Error code: 404<br />
</div>
<script>
function statsForNerds() {
var x = document.getElementById("sfn");
if (x.style.display === "none") {
x.style.display = "block";
console.log("[ℹ️] Showing the stats for nerds!");
} else {
x.style.display = "none";
console.log("[ℹ️] Hiding the stats for nerds!");
}
}
document.getElementById("full").innerText = window.location.href;
document.getElementById("ref").innerHTML = document.referrer;
document.getElementById("title").innerText = document.title;
document.getElementById("height").innerHTML = screen.height + "px";
document.getElementById("width").innerHTML = screen.width + "px";
document.getElementById("winheight").innerHTML = window.innerHeight + "px";
document.getElementById("winwidth").innerHTML = window.innerWidth + "px";
document.getElementById("cookie").innerText = navigator.cookieEnabled;
document.getElementById("ua").innerHTML = navigator.userAgent;
document.getElementById("plat").innerHTML = navigator.platform;
document.getElementById("online").innerHTML = navigator.onLine;
</script>
<br />
<a href="/index.html">Home Page</a>
</body>
</html>