From e4e7a692809fcdd3b57e16beb64d2f2cb0f18848 Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Sun, 31 Dec 2023 18:37:44 -0500 Subject: [PATCH 1/2] Changed the default search engine --- src/pages/ProxyFrame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ProxyFrame.tsx b/src/pages/ProxyFrame.tsx index e00d2b7..8279f8e 100644 --- a/src/pages/ProxyFrame.tsx +++ b/src/pages/ProxyFrame.tsx @@ -22,7 +22,7 @@ export function ProxyFrame(props: { url: string }) { const localProxy = localStorage.getItem("proxy") || "automatic"; const proxyMode = localStorage.getItem("proxyMode") || "embed"; const searchEngine = - localStorage.getItem("searchEngine") || "https://google.com/search?q=%s"; + localStorage.getItem("searchEngine") || "https://duckduckgo.com/?q=%s"; const [ProxiedUrl, setProxiedUrl] = useState(undefined); //@ts-ignore From 8b76d2655508345e076debaeb7c089f50b7f901a Mon Sep 17 00:00:00 2001 From: incognitotgt Date: Sun, 31 Dec 2023 18:43:33 -0500 Subject: [PATCH 2/2] Thought this was not important :skull: --- src/pages/Settings/Proxy.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Settings/Proxy.tsx b/src/pages/Settings/Proxy.tsx index 23df42d..1abee41 100644 --- a/src/pages/Settings/Proxy.tsx +++ b/src/pages/Settings/Proxy.tsx @@ -20,9 +20,9 @@ const Proxy = ({ id, active }) => { ]; const searchEngines = [ + { id: "https://duckduckgo.com/?q=%s", label: "DuckDuckGo" }, { id: "https://google.com/search?q=%s", label: "Google" }, - { id: "https://bing.com/search?q=%s", label: "Bing" }, - { id: "https://duckduckgo.com/?q=%s", label: "DuckDuckGo" } + { id: "https://bing.com/search?q=%s", label: "Bing" } ]; return (