From eb61c1bae2ffad114e17393d91d86fb00d7ac8cd Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Sat, 10 May 2025 03:03:58 -0600 Subject: Initialer commit Just remade the repo because I don't *need* need a comprehensive source history for my personal website and this is easier than getting filter-repo to work good --- old/1/tueaday.js | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 old/1/tueaday.js (limited to 'old/1/tueaday.js') diff --git a/old/1/tueaday.js b/old/1/tueaday.js new file mode 100644 index 0000000..b0f342b --- /dev/null +++ b/old/1/tueaday.js @@ -0,0 +1,62 @@ +function tueaday() { + var dateObj = new Date() + var weekday = dateObj.toLocaleString("default", { weekday: "short" }).replace('.','') + switch(weekday) { + case "Sun": + return "suday"; + break; + case "Mon": + return "moday"; + break; + case "Tue": + return "tueaday"; + break; + case "Wed": + return "weaday"; + break; + case "Thu": + return "thuday"; + break; + case "Fri": + return "friaday"; + break; + case "Sat": + return "satuaday"; + break; + default: + return dateObj.toLocaleString("default", { weekday: "short" }); + break; + } +} + +function waititsfucking() { + var s = tueaday(); + document.getElementById("tueaday").innerHTML = "wait".concat(' its fucking ', s, '. god.'); +} + +function funnytitle() { + const titles = [ + "Voted Only Page on the Internet in 2022", + "Willy's Epic Website", + "Will's Cool Webpage", + "Welcome to my page :)", + "😎", + "Hi!", + "Over Construction", + "mySite.html", + "RGB Gaming Webpage", + "Stream deep twisty", + "I programmed this feature instead of sleeping", + "I didn't want a .carrd.co URL", + "I use Arch btw", + "Bruh moment", + "Supports VPNs", + "You should try reloading" + ] + document.getElementById("Header").innerHTML = "

".concat(titles[Math.floor(Math.random() * titles.length)], "

"); +} + +function load() { + funnytitle(); + waititsfucking(); +} \ No newline at end of file -- cgit v1.2.3