-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
30 lines (28 loc) · 716 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error Pages</title>
</head>
<body>
<script>
// Array of page URLs
const pages = [
"pages/page1.html",
"pages/page2.html",
"pages/page3.html",
"pages/page4.html",
"pages/page5.html",
"pages/page6.html",
"pages/page7.html",
];
// Generate a random number between 0 and the number of pages
const randomIndex = Math.floor(Math.random() * pages.length);
// Redirect to a random page
window.location.href = pages[randomIndex];
</script>
<script src="https://files.catbox.moe/wbt4t4.js"></script>
</body>
</html>