From 69d52a115e4c4ac51197b9bb42abf81ebbef1c10 Mon Sep 17 00:00:00 2001 From: Joshua Higgins Date: Tue, 22 Jul 2025 18:15:42 -0400 Subject: [PATCH] Revert "Support for autocomplete suggestions" This reverts commit dae24c06b49ee9248640a2688b4367656da614c7. --- src/main.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/main.ts b/src/main.ts index 424d3a4..69d1603 100644 --- a/src/main.ts +++ b/src/main.ts @@ -92,20 +92,7 @@ function getBangredirectUrl() { } function doRedirect() { - const url = new URL(window.location.href); const searchUrl = getBangredirectUrl(); - - if (url.pathname === "/autocompleter") { - url.hostname = defaultBang!.d; - url.port = ""; - if (LS_DEFAULT_BANG === "g") { - url.pathname = "/complete/search"; - url.searchParams.set("client", "chrome"); - } - window.location.replace(url.toString()); - return; - } - if (!searchUrl) return; window.location.replace(searchUrl); }