lol
This commit is contained in:
parent
41b2e51daa
commit
7a673cd588
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN LAYOUT.ASTRO BECAUSE FUCK ME
|
||||||
|
|
||||||
function enableSGA() {
|
function enableSGA() {
|
||||||
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
|
document.getElementById("body").style.fontFamily = "standardGalactic, system-ui";
|
||||||
document.getElementById("body").style.fontWeight = "lighter";
|
|
||||||
sessionStorage.setItem("sgaEnabled", 1);
|
sessionStorage.setItem("sgaEnabled", 1);
|
||||||
console.debug(sessionStorage.getItem("sgaEnabled"));
|
console.debug(sessionStorage.getItem("sgaEnabled"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,10 +29,10 @@ const { title } = Astro.props;
|
||||||
src="/scripts/fuckchrome.js"
|
src="/scripts/fuckchrome.js"
|
||||||
></script>
|
></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
// IF YOU EDIT ANYTHING IN HERE DONT FORGET TO EDIT THE SCRIPT IN SGA.JS BECAUSE FUCK ME
|
||||||
if (sessionStorage.getItem("sgaEnabled")) {
|
if (sessionStorage.getItem("sgaEnabled")) {
|
||||||
document.getElementById("body").style.fontFamily =
|
document.getElementById("body").style.fontFamily =
|
||||||
"standardGalactic, system-ui";
|
"standardGalactic, system-ui";
|
||||||
document.getElementById("body").style.fontWeight = "lighter";
|
|
||||||
sessionStorage.setItem("sgaEnabled", 1);
|
sessionStorage.setItem("sgaEnabled", 1);
|
||||||
console.debug(sessionStorage.getItem("sgaEnabled"));
|
console.debug(sessionStorage.getItem("sgaEnabled"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue