From e821aeebf991ec537baaa02a38dd446c57cc4a44 Mon Sep 17 00:00:00 2001 From: Yimche Date: Tue, 15 Oct 2024 01:34:41 +1100 Subject: [PATCH] :children_crossing: added '.dev' domains to be redirected to rather than searched --- meta/scripts/startpage.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/scripts/startpage.js b/meta/scripts/startpage.js index 8f6ab9a..356fde6 100644 --- a/meta/scripts/startpage.js +++ b/meta/scripts/startpage.js @@ -123,10 +123,12 @@ function performSearch() { query.trim().includes('.org') || query.trim().includes('.com') || query.trim().includes('.net') || + query.trim().includes('.dev') || query.trim().includes('.gov') || query.trim().includes('.edu') || query.trim().includes('.co') || query.trim().includes('.io') + ) { window.location.href = 'https://' + encodeURI(query.trim()); } else if (