This repository was archived by the owner on Sep 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 3.19 KB
/
Copy pathindex.html
File metadata and controls
42 lines (38 loc) · 3.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="./style.css">
<title>HomeworkSMP</title>
</head>
<body>
<div class="box blur">
<h1>HomeworkSMP</h1>
<p>A SMP filled with creativity, a bunch of <s>insane</s> teens with passion.</p>
</div>
<footer>
<div>
a
</div>
<p>Licensed under GPL-3.0. Made with 💚🤍💙 by Acto.</p>
</footer>
<script>
var multi1 = Math.floor(Math.random() * 7) + 1;
var multi2 = Math.floor(Math.random() * 7) + 1;
var images = multi1 * multi2;
var usernames = ["", "@acto.", "@williamhorning", "@williamhorning", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile", "@avogato_the_ailurophile"];
var path = `./assets/bkg/${images}.png`;
document.body.style.backgroundImage = `url(${path})`;
document.getElementsByTagName("footer")[0].getElementsByTagName("div")[0].innerHTML = `<br>Background Image ${images} by ${usernames[images]} \n`;
setInterval(() => {
multi1 = Math.floor(Math.random() * 7) + 1;
multi2 = Math.floor(Math.random() * 7) + 1;
images = multi1 * multi2;
document.body.style.backgroundImage = `url(./assets/bkg/${images}.png)`;
document.getElementsByTagName("footer")[0].getElementsByTagName("div")[0].innerHTML = `<br>Background Image ${images} by ${usernames[images]} \n`;
}, 5000);
</script>
</body>
</html>