main
fortune.js
1// thanks ppiita
2
3const fortunes = [
4 "so good",
5 "its chld",
6 "who you know and hate",
7 "i dont know you but i hate you",
8 "fuck, man",
9 "cholodu",
10 "codeberg",
11 "sourcehut is ran by a pedo",
12 "licar is cool but its made by a pedo",
13 "ok ill stop talking about pedos",
14 "im unsure ",
15 "erlechida likes killing people's creative css by using firefox's accessibility features to override everything",
16 "imo",
17 "im green",
18 "im not green, fool",
19 "how do you know my ip",
20 "im not european, stop saying so",
21 "neuswc",
22 "<a href=wayland.fyi>wayland</a>",
23 "nusrat is unwise",
24 "is this fortune even random",
25 "you know i can just embed anything here, my static site is insecure like that",
26 "30 sloc go backend? completely static now.",
27 "shoot me, <a href=https://shrub.industries>shrub</a>",
28 "<script>alert(\"caught you using javascript\")<\/script>",
29 "runs in dillo? i think",
30 "css",
31 "fuck, woman",
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 "exploit my website then",
36 "i wrote this specific fortune on a thinkpad x270"
37 ];
38
39 const randomIndex = Math.floor(Math.random() * fortunes.length);
40 document.getElementById("fortune").innerHTML = fortunes[randomIndex];