From eced02835b5527b31a71925f99ff51c45ba1854d Mon Sep 17 00:00:00 2001 From: kone <70107937+konekowo@users.noreply.github.com> Date: Wed, 19 Apr 2023 08:31:03 -0400 Subject: [PATCH] mobile support part 2 --- javascript/index.html | 291 ++++++++++++++++++ .../v1_8/internal/PlatformRuntime.java | 6 + 2 files changed, 297 insertions(+) diff --git a/javascript/index.html b/javascript/index.html index 50cdeb2d..115502e3 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -109,6 +109,10 @@ let tooLate = false; let patchNumber; + if (localStorage.getItem("isTabSettingsModEnabled") == null){ + localStorage.setItem("isTabSettingsModEnabled", false); + } + if (localStorage.getItem("isTabSettingsModEnabled")){ document.title = localStorage.getItem("tabTitle"); document.getElementById("favicon").href = localStorage.getItem("imageBase64"); @@ -315,6 +319,21 @@ } }); + + +