fucks sake im so tired llet me go to bed please god please

This commit is contained in:
nelle 2024-08-24 03:28:41 -06:00
parent c836faa727
commit 5c50f824b0
3 changed files with 11 additions and 1 deletions

View file

@ -5,6 +5,16 @@ function onload() {
} }
} }
/*
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN SGA.JS BECAUSE FUCK ME
if (sessionStorage.getItem("sgaEnabled")) {
document.getElementById("body").style.fontFamily =
"standardGalactic, system-ui";
sessionStorage.setItem("sgaEnabled", 1);
console.debug(sessionStorage.getItem("sgaEnabled"));
}
*/
function enableSGA() { function enableSGA() {
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui"; document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
sessionStorage.setItem("sgaEnabled", 1); sessionStorage.setItem("sgaEnabled", 1);

View file

@ -3,6 +3,5 @@
<!-- unoptimized --> <!-- unoptimized -->
<script is:inline src="/scripts/ntfy.js"></script> <script is:inline src="/scripts/ntfy.js"></script>
<script is:inline src="/scripts/sga.js"></script>
<script is:inline src="/scripts/lastfm.js"></script> <script is:inline src="/scripts/lastfm.js"></script>
<script is:inline src="/scripts/sound.js"></script> <script is:inline src="/scripts/sound.js"></script>

View file

@ -28,6 +28,7 @@ const { title } = Astro.props;
is:inline is:inline
src="/scripts/fuckchrome.js" src="/scripts/fuckchrome.js"
></script> ></script>
<script is:inline src="/scripts/sga.js"></script>
<audio <audio
id="clickSound" id="clickSound"
src="/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3"> src="/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3">