From 17eff5ba88d304662b8ffd0fc8a1b8997bf3e123 Mon Sep 17 00:00:00 2001 From: reisxd <29177546+reisxd@users.noreply.github.com> Date: Tue, 5 Mar 2024 23:28:15 +0300 Subject: [PATCH] feat: autolaunch & useragent settings (incomplete) The User-Agent Settings does work, the problem is that the TizenTube module is, as the name says, is for Tizen. The User-Agent spoofs itself to be Cobalt (Google's own light HTML5 renderer) and because it has a few differences, both the back button (keyCode from Tizen is probably not there) and the TizenTube UI (need to set the nonce for styles) do not work. Once I fix this, I'll uncomment the lines and push a new update. --- tizenbrew-app/TizenBrew/index.html | 16 ++ tizenbrew-app/TizenBrew/js/wsClient.js | 13 ++ tizenbrew-app/TizenBrew/settings.html | 196 +++++++++++++++++++++++++ 3 files changed, 225 insertions(+) create mode 100644 tizenbrew-app/TizenBrew/settings.html diff --git a/tizenbrew-app/TizenBrew/index.html b/tizenbrew-app/TizenBrew/index.html index 4ce8f89..d967bcd 100644 --- a/tizenbrew-app/TizenBrew/index.html +++ b/tizenbrew-app/TizenBrew/index.html @@ -23,6 +23,7 @@

Launch your favorite apps with mods and tweaks on your Tizen device.

Use the GREEN button to access the module manager.

+

Use the BLUE button to access the settings.

@@ -127,6 +128,14 @@ case 404: location.href = "/moduleManager.html"; + break; + case 406: + location.href = "/settings.html"; + + break; + case 38: + canAutoLaunch = false; + break; } }; @@ -164,6 +173,13 @@ + + + + + + +
+
+
+
TizenBrew Modules
+
+

Launch your favorite apps with mods and tweaks on your Tizen device.

+

Use the BLUE button to go back to module launcher.

+
+
+

Status

+
+
+ ! + Error Message Here +
+
+
+
+
+

Autolaunch Settings

+

Launch your favorite module automatically when you launch TizenBrew.

+
+ + + +
+
+
+ + +
+ + + + + + \ No newline at end of file