diff --git a/api.php b/api.php index 0ea6c91..81338f4 100644 --- a/api.php +++ b/api.php @@ -44,7 +44,7 @@ { require "engines/bittorrent/merge.php"; $results = get_merged_torrent_results($query_encoded); - } + } break; case 4: if ($config->disable_hidden_service_search) @@ -53,7 +53,7 @@ { require "engines/ahmia/hidden_service.php"; $results = get_hidden_service_results($query_encoded); - } + } break; default: require "engines/google/text.php"; diff --git a/settings.php b/settings.php index e62b9c5..36f7b13 100644 --- a/settings.php +++ b/settings.php @@ -1,21 +1,21 @@ @@ -52,6 +52,7 @@ + @@ -76,7 +77,7 @@

Privacy friendly frontends

For an example if you want to view YouTube without getting spied on, click on "Invidious", find the instance that is most suitable for you then paste it in (correct format: https://example.com)

-
+
array("https://github.com/zyachel/libremdb", "IMDb"), "breezewiki" => array("https://gitdab.com/cadence/breezewiki", "Fandom") ); - + foreach($frontends as $frontend => $info) { echo "
"; diff --git a/static/css/dracula.css b/static/css/dracula.css new file mode 100644 index 0000000..b4fa057 --- /dev/null +++ b/static/css/dracula.css @@ -0,0 +1,26 @@ +:root { + --main-bg: #282A36; + --main-fg: #F8F8F2; + + --result-link-fg: #8BE9FD; + --result-fg: #6272A4; + + --button-bg: #44475A; + + --special-result-border: opacity 50; + --special-text-background: #44475A; + --special-text-color: #F8F8F2; + + --search-container-text-color: #F8F8F2; + --search-container-background-color: #44475A; + --search-container-background-border: #6272A4; + + --search-form-background-color: #21222C; + + --border: #6272A4; + + --footer-fg: #C2C2C2; + --footer-bg: #44475A; + + color-scheme: dark; +}