reverted getEngine as its really annoying & doesnt work properly

This commit is contained in:
2026-07-07 00:06:04 +02:00
parent 3551ca241d
commit 3f50c4e2da
+4 -4
View File
@@ -139,7 +139,7 @@ function setVh() {
} }
function getEngine() { /*function getEngine() {
if ("MozAppearance" in document.documentElement.style) if ("MozAppearance" in document.documentElement.style)
{ return "gecko" } { return "gecko" }
@@ -153,7 +153,7 @@ function getEngine() {
{ return "webkit" } { return "webkit" }
return "unknown"; return "unknown";
} }*/
document.addEventListener("DOMContentLoaded", async function () { document.addEventListener("DOMContentLoaded", async function () {
@@ -162,9 +162,9 @@ document.addEventListener("DOMContentLoaded", async function () {
startLoadingScreen() startLoadingScreen()
let engine = getEngine() /*let engine = getEngine()
if (!["gecko", "blink"].includes(engine)) if (!["gecko", "blink"].includes(engine))
{ alert("Your web browser is not supported, expect major issues.\nRendering engine: " + engine) } { alert("Your web browser is not supported, expect major issues.\nRendering engine: " + engine) }*/
setLoadingProgress("Fetching tips...") setLoadingProgress("Fetching tips...")