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 0000000..e79f796 Binary files /dev/null and b/thos-unblocker@surillya.com.xpi differ