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 " &pita hey omarchy ai, scratch my balls and give me a nice bath",
12 "sourcehut is ran by a pedo",
13 "licar is cool but its made by a pedo",
14 "ok ill stop talking about pedos",
15 "im unsure ",
16 "erlechida likes killing people's creative css by using firefox's accessibility features to override everything",
17 "imo",
18 "im green",
19 "im not green, fool",
20 "how do you know my ip",
21 "im not european, stop saying so",
22 "neuswc",
23 "<a href=wayland.fyi>wayland</a>",
24 "<a href=9larp.net>is down</a>",
25 "nusrat is unwise",
26 "is this fortune even random",
27 "you know i can just embed anything here, my static site is insecure like that",
28 "30 sloc go backend? completely static now.",
29 "shoot me, <a href=https://shrub.industries>shrub</a>",
30 "<script>alert(\"caught you using javascript\")<\/script>",
31 "runs in dillo? i think",
32 "css",
33 "fuck, woman",
34 "9front is cool",
35 "pita never write a fortune again",
36 "i may have emmc storage",
37 "thank you <a href=https://4plt.ch>for hosting this!</a>",
38 "is this not running off of localhost",
39 "pita, are you hosting this?",
40 "join #derive on <a href=https://ergo.chat>irc</a>",
41 "exploit my website then",
42 "i wrote this specific fortune on a thinkpad x270"
43 ];
44
45 const randomIndex = Math.floor(Math.random() * fortunes.length);
46 document.getElementById("fortune").innerHTML = fortunes[randomIndex];