From 1117aa664d706976bdb9bc8a17601e45ed8d4cdc Mon Sep 17 00:00:00 2001 From: Surillya Date: Sun, 22 Jun 2025 23:15:57 +0200 Subject: [PATCH] Added THOS Browser with extension installer --- index.php | 2 +- install-unblocker.sh | 49 +++++++++ internet.html | 51 --------- internet.php | 187 ++++++++++++++++++++++++++++++++ thos-unblocker@surillya.com.xpi | Bin 0 -> 1000 bytes 5 files changed, 237 insertions(+), 52 deletions(-) create mode 100755 install-unblocker.sh delete mode 100644 internet.html create mode 100644 internet.php create mode 100644 thos-unblocker@surillya.com.xpi diff --git a/index.php b/index.php index 0eff670..2e5109c 100644 --- a/index.php +++ b/index.php @@ -368,7 +368,7 @@ if (!$state || !isset($state['localData']) || !json_decode($state['localData'], - - - -
- -
- - - - - \ No newline at end of file diff --git a/internet.php b/internet.php new file mode 100644 index 0000000..deedc6b --- /dev/null +++ b/internet.php @@ -0,0 +1,187 @@ + + + + + + Install Extension + + + +
+

Unblocker Extension Not Installed

+

THOS needs the browser unblocker extension to function fully. Would you like to install it now and reboot?

+
+ +
+
+ +'; + if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_POST['install'] === 'yes') { + shell_exec('bash /usr/thos/install-unblocker.sh'); + file_put_contents($extensionMarker, 'installed'); + echo ''; + sleep(1); + shell_exec('reboot'); + } + exit; +} +?> + + + + + + + THOS Internet + + + + +
+
+ + + + + +
+ +
+ +
+ +
+ +
+
+ + + + diff --git a/thos-unblocker@surillya.com.xpi b/thos-unblocker@surillya.com.xpi new file mode 100644 index 0000000000000000000000000000000000000000..e79f796e3a57b5b2543524e687714a2c0ae0a089 GIT binary patch literal 1000 zcmWIWW@Zs#U|`^2n6>pbv?#$TvZVam~_L-g7cqcjGli%3~d2=|HOHXO9s*V)-@b22R*|Ka` zi|eCI&n{yQQ=ILPyXOIGWXVN2#e~P-PdLn0=u4iVKkcZ*memPyd$>*;PVfxok(PI0 zUYw_6beQpa!+l*gr*wf6hM^oQ{moon>E+eFxV+2Zn%vfpyf(W#6tjwYMI>6H?6~_B|(u`)`|M5gKBPiiU{Pt;TyoFJ7jy`c#U|jk{XunnDV)4Ju z^Ddn|aW(u|T=Z;Jz+8iLv;&HlJ#cioG}Z~v_dpBH@Mh0QO<0C*(yZN3(DY_{y2 z1YjgE0RtBl2}y~`+37|3rFkj9XaGk-PI^Q}E)b(d!qlLHz)0ZP`&l$jUpH9zU5qFv-uiz8B^w8D&C?X zW%TNcS9r#>Gf75uQePxWmIi*Zy{&lyv8Dc$O54*1Bhcd1ihXy+#&(Y zMGOqUcw<=72x6h-9ac!*L5nhEBQfJ1*~nI)$!IA7Xe1~lU>M2D2C|