`;
- if (chromium)
- window.location.replace("/nochrome");
\ No newline at end of file
diff --git a/public/scripts/galactic-font.js b/public/scripts/limepot.js
similarity index 51%
rename from public/scripts/galactic-font.js
rename to public/scripts/limepot.js
index c73578b..0fa7818 100644
--- a/public/scripts/galactic-font.js
+++ b/public/scripts/limepot.js
@@ -1,3 +1,8 @@
+function onload() {
+ redirect()
+ sdocument.getElementById("body").style.fontFamily = "system-ui, sans-serif";
+}
+
function toggleTheme() {
// Obtains an array of all
// elements.
@@ -5,7 +10,16 @@ function toggleTheme() {
if (document.getElementById("body").style.fontFamily !== "standardGalactic") {
document.getElementById("body").style.fontFamily = "standardGalactic";
}
- else {
+ else{
document.getElementById("body").style.fontFamily = "system-ui, sans-serif";
}
-}
\ No newline at end of file
+}
+
+function redirect() {
+let chromium = /Chrome|Chromium|OPR|Opera|Edge|UC|QQ|Brave/.test(
+ navigator.userAgent
+ );
+ let disclaimer = `
`;
+ if (chromium)
+ window.location.replace("/nochrome");
+}
\ No newline at end of file
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 7187d40..a27d157 100755
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -15,11 +15,10 @@ const { title } = Astro.props;