generated from Parti3s/parti3s.github.io
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
96 lines (96 loc) · 4.2 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/css/404.css" />
<title>404 Error | 3kh0</title>
<style>
/* Backup in case style sheet does not load */
body {
font-family: sans-serif;
color: #fff;
background-color: #3b3b3b;
}
a {
color: #6079e6;
}
#sfn {
padding: 10px;
}
#detail {
padding-bottom: 10px;
}
#sfnButton {
padding: 3px;
}
* {
margin: auto;
text-align: center;
}
#header {
padding-top: 25%;
padding-bottom: 20px;
}
</style>
</head>
<body>
<h1 id="header">404 Error</h1>
<p id="detail">
That requested URL or file was not found. This might be on you or it is just my bad coding, most likely my bad coding.<br />
Help us out and <a href="https://github.com/3kh0/3kh0.github.io/issues">open a issue</a> so we know this happened!<br />
If you do open a issue on the github, please click on that little "More info" button and take a screenshot of it.<br />
</p>
<button id="sfnButton" onclick="statsForNerds()">More info</button>
<div id="sfn" style="display: none;">
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 />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5756835229788588" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5756835229788588" data-ad-slot="6230603875" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5756835229788588" crossorigin="anonymous"></script>
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5756835229788588" data-ad-slot="6230603875" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<script src="/js/lib/jquery-3.2.1.min.js"></script>
<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>
<script src="/js/main.js"></script>
</body>
</html>