-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
21 lines (21 loc) · 866 Bytes
/
404.html
File metadata and controls
21 lines (21 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head>
<title>GlitterWare - Page not found</title>
<script type="text/javascript">
window.location="https://glitterware.github.io/Passy";
</script>
</head>
<body>
<h1 id="404msg"><a href="https://glitterware.github.io">Page does not exist. Did you mean https://glitterware.github.io?</a></h1>
</body>
<script type="text/javascript">
var _location = window.location.toString().toLowerCase();
const _msg = document.getElementById('404msg');
if (_location.includes('passy')) {
_msg.innerHTML = '<a href="https://glitterware.github.io/Passy">You are being redirected to https://glitterware.github.io/Passy</a>';
window.location='https://glitterware.github.io/Passy';
}
_msg.innerHTML = `<a href="https://glitterware.github.io">Page ${_location} does not exist. Did you mean https://glitterware.github.io?</a>`;
}
</script>
</html>