about summary refs log tree commit diff stats
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/options/search/search.html5
-rw-r--r--src/pages/options/search/search.js11
2 files changed, 2 insertions, 14 deletions
diff --git a/src/pages/options/search/search.html b/src/pages/options/search/search.html
index 01e8511e..cc1bb006 100644
--- a/src/pages/options/search/search.html
+++ b/src/pages/options/search/search.html
@@ -63,12 +63,11 @@
       <input id="disable-search" type="checkbox">
     </div>
     <div class="some-block option-block">
-      <h4 id="frontend" data-localise="__MSG_frontend__">Frontend</h4>
+      <h4 data-localise="__MSG_frontend__">Frontend</h4>
       <select id="search-frontend">
-        <option value="searx">SearX</option>
         <option value="searxng">SearXNG</option>
+        <option value="searx">SearX</option>
         <option value="whoogle">Whoogle</option>
-        <option value="startpage">Startpage</option>
       </select>
     </div>
     <div id="searx-whoogle">
diff --git a/src/pages/options/search/search.js b/src/pages/options/search/search.js
index 14834309..197b17f4 100644
--- a/src/pages/options/search/search.js
+++ b/src/pages/options/search/search.js
@@ -12,35 +12,24 @@ let whoogleDivElement = document.getElementById("whoogle");
 
 function changeFrontendsSettings(frontend) {
   let SearxWhoogleElement = document.getElementById("searx-whoogle");
-  let frontendElement = document.getElementById("frontend");
   if (frontend == 'searx') {
-    frontendElement.innerHTML = 'Frontend';
     searxDivElement.style.display = 'block';
     searxngDivElement.style.display = 'none';
     whoogleDivElement.style.display = 'none';
     SearxWhoogleElement.style.display = 'block';
   }
   else if (frontend == 'searxng') {
-    frontendElement.innerHTML = 'Frontend';
     searxDivElement.style.display = 'none';
     searxngDivElement.style.display = 'block';
     whoogleDivElement.style.display = 'none';
     SearxWhoogleElement.style.display = 'block';
   }
   else if (frontend == 'whoogle') {
-    frontendElement.innerHTML = 'Frontend';
     searxDivElement.style.display = 'none';
     searxngDivElement.style.display = 'none';
     whoogleDivElement.style.display = 'block';
     SearxWhoogleElement.style.display = 'block';
   }
-  else if (frontend == 'startpage') {
-    frontendElement.innerHTML = `Frontend: <span style="color:red;">This is a centralized service</span>`;
-    searxDivElement.style.display = 'none';
-    searxngDivElement.style.display = 'none';
-    whoogleDivElement.style.display = 'none';
-    SearxWhoogleElement.style.display = 'none';
-  }
 }
 let searchFrontendElement = document.getElementById("search-frontend");
 searchFrontendElement.addEventListener("change",