From a72e543ccf167c8b09ee71cda2c9e3e0476f24f0 Mon Sep 17 00:00:00 2001 From: Melvin Jones Repol Date: Sat, 20 Apr 2024 09:12:04 +0800 Subject: [PATCH] Initial Commit --- js/search.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/js/search.js b/js/search.js index 4a49b772..9c854876 100644 --- a/js/search.js +++ b/js/search.js @@ -248,15 +248,13 @@ function find(query) { if (WebviumSearchHelper.isValidDomain(aq)) { window.location.href = escapeHtml(query); } else { - s222(query); - // window.location.href = WebviumSearchHelper.getSearchEngine() + query; + window.location.href = WebviumSearchHelper.getSearchEngine() + query; } } else { if (WebviumSearchHelper.isValidDomain(aq)) { window.location.href = escapeHtml("https://" +query); } else { - s222(query); - // window.location.href = WebviumSearchHelper.getSearchEngine() + query; + window.location.href = WebviumSearchHelper.getSearchEngine() + query; } } @@ -268,8 +266,7 @@ function find(query) { if (aq.startsWith("https://") || aq.startsWith("http://")) { window.location.href = escapeHtml(query); } else { - s222(query); - //window.location.href = atob("aHR0cHM6Ly9nb29nbGUuY29tL3NlYXJjaD9xPQ==") + query; + window.location.href = atob("aHR0cHM6Ly9nb29nbGUuY29tL3NlYXJjaD9xPQ==") + query; } } }