main
fortune.js
1 const fortunes = [
2 "so good",
3 "its chld",
4 "who you know and hate",
5 "i dont know you but i hate you",
6 "fuck, man",
7 "cholodu",
8 "codeberg",
9 "sourcehut is ran by a pedo",
10 "licar is cool but its made by a pedo",
11 "ok ill stop talking about pedos",
12 "im unsure ",
13 "imo",
14 "im green",
15 "im not green, fool",
16 "how do you know my ip",
17 "im not european, stop saying so",
18 "neuswc",
19 "<a href=wayland.fyi>wayland</a>",
20 "<a href=9larp.net>is down</a>",
21 "nusrat is unwise",
22 "is this fortune even random",
23 "you know i can just embed anything here, my static site is insecure like that",
24 "30 sloc go backend? completely static now.",
25 "shoot me, <a href=https://shrub.industries>shrub</a>",
26 "<script>alert(\"caught you using javascript\")<\/script>",
27 "runs in dillo? i think",
28 "css",
29 "fuck, woman",
30 "9front is cool",
31 "pita never write a fortune again",
32 "i may have emmc storage",
33 "thank you <a href=https://4plt.ch>for hosting this!</a>",
34 "is this not running off of localhost",
35 "pita, are you hosting this?",
36 "join #derive on <a href=https://ergo.chat>irc</a>",
37 "exploit my website then",
38 "i wrote this specific fortune on a thinkpad x270"
39 ];
40
41 const randomIndex = Math.floor(Math.random() * fortunes.length);
42 document.getElementById("fortune").innerHTML = fortunes[randomIndex];