-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
49 lines (49 loc) · 1.27 KB
/
Copy path404.html
File metadata and controls
49 lines (49 loc) · 1.27 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
<!doctype html>
<html>
<head>
<script>
if (location.pathname.startsWith("/internal/")) {
if (document.referrer && new URL(document.referrer).origin === location.origin) {
history.back();
} else {
location.href = "/NT.html";
}
}
</script>
</head>
<body>
<div style="
display:flex;
align-items:center;
justify-content:center;
height:100vh;
background:#0a0a0a;
color:white;
font-family:Inter,sans-serif;
text-align:center;
padding:20px;
">
<div>
<h1>404</h1>
<p>not found</p>
<button
onclick="if (document.referrer && new URL(document.referrer).origin === location.origin) {
history.back();
}"
style="
margin-top:20px;
padding:10px 20px;
border:none;
border-radius:8px;
cursor:pointer;
font-size:16px;
"
>
Return
</button>
<br> <br>
<small></small>
</div>
</div>
</body>
</html>