diff --git a/astro/public/scripts/fuckchrome.js b/astro/public/scripts/fuckchrome.js index fb6a555..0e52906 100644 --- a/astro/public/scripts/fuckchrome.js +++ b/astro/public/scripts/fuckchrome.js @@ -1,5 +1,14 @@ function onload() { - redirect(); + if (!localStorage.getItem('chromeAccepted')) { + redirect() + } + else { + return + } +} + +acceptDisclaimer() { + sessionStorage.removeItem( 'chromeAccepted'); } function redirect() { diff --git a/astro/public/scripts/sga.js b/astro/public/scripts/sga.js index 4269548..99c998f 100644 --- a/astro/public/scripts/sga.js +++ b/astro/public/scripts/sga.js @@ -21,9 +21,6 @@ function disableSGA() { } function toggleTheme() { - // Obtains an array of all - // elements. - // Select your element using indexing. if (!sessionStorage.getItem('sgaEnabled')) { enableSGA() } diff --git a/astro/src/pages/bsod.astro b/astro/src/pages/bsod.astro index 36ef057..03ece89 100644 --- a/astro/src/pages/bsod.astro +++ b/astro/src/pages/bsod.astro @@ -14,7 +14,7 @@ import Layout from "../layouts/fuckchrome/bsod.astro";
For more information about this issue and possible fixes, visit https://nelle.observer/nochrome
+For more information about this issue and possible fixes, and to never be redirected again, visit https://nelle.observer/nochrome
If you contact me about this, please give me this error:
Stop Code: EW_CHROME_YUCK
The website on nelle.observer is scared of chromium-based browsers, which yours seems to be of.
NET::EW_CHROME_YUCK