diff --git a/static/webui/index.html b/static/webui/index.html index c1c34e39b..ec0bee15b 100644 --- a/static/webui/index.html +++ b/static/webui/index.html @@ -368,7 +368,7 @@
-
+
Server
@@ -479,7 +479,7 @@
-
+
Account
@@ -488,26 +488,6 @@
-
-
-
Client
-
- Client cheats are currently unavailable. This could be because your client is not running or using a DLL without an HTTP interface. -
-
-
- - -
-
- - -
-
-
-
diff --git a/static/webui/script.js b/static/webui/script.js index 6e3319016..e6332e20d 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -915,34 +915,6 @@ single.getRoute("/webui/cheats").on("beforeload", function () { }); } }, 10); - - fetch("http://localhost:61558/ping", { mode: "no-cors" }) - .then(() => { - $("#client-cheats-ok").removeClass("d-none"); - $("#client-cheats-nok").addClass("d-none"); - - fetch("http://localhost:61558/skip_mission_start_timer") - .then(res => res.text()) - .then(res => { - document.getElementById("skip_mission_start_timer").checked = res == "1"; - }); - document.getElementById("skip_mission_start_timer").onchange = function () { - fetch("http://localhost:61558/skip_mission_start_timer?" + this.checked); - }; - - fetch("http://localhost:61558/fov_override") - .then(res => res.text()) - .then(res => { - document.getElementById("fov_override").value = parseFloat(res) * 10000; - }); - document.getElementById("fov_override").oninput = function () { - fetch("http://localhost:61558/fov_override?" + this.value); - }; - }) - .catch(function () { - $("#client-cheats-nok").removeClass("d-none"); - $("#client-cheats-ok").addClass("d-none"); - }); }); function doUnlockAllFocusSchools() {