[tor-commits] [tor-browser/tor-browser-84.0-10.5-2] fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing

gk at torproject.org gk at torproject.org
Mon Jan 11 10:29:50 UTC 2021


commit fa611cfab0b3f322c88cb32a7e13c4c8e655868f
Author: Alex Catarineu <acat at torproject.org>
Date:   Fri Jan 8 20:40:43 2021 +0100

    fixup! Omnibox: Add DDG, Startpage, Disconnect, Youtube, Twitter; remove Amazon, eBay, bing
    
    Bug 40288: Fix search engine order
---
 toolkit/components/search/SearchService.jsm | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/toolkit/components/search/SearchService.jsm b/toolkit/components/search/SearchService.jsm
index ab40fa57b29d..e542f4216c5d 100644
--- a/toolkit/components/search/SearchService.jsm
+++ b/toolkit/components/search/SearchService.jsm
@@ -1060,14 +1060,14 @@ SearchService.prototype = {
       : AppConstants.MOZ_UPDATE_CHANNEL;
 
     const engines = [
-      { webExtension: { id: "ddg at search.mozilla.org" } },
-      { webExtension: { id: "ddg-onion at search.mozilla.org" } },
-      { webExtension: { id: "google at search.mozilla.org" } },
-      { webExtension: { id: "yahoo at search.mozilla.org" } },
-      { webExtension: { id: "twitter at search.mozilla.org" } },
-      { webExtension: { id: "wikipedia at search.mozilla.org" } },
-      { webExtension: { id: "youtube at search.mozilla.org" } },
-      { webExtension: { id: "startpage at search.mozilla.org" } },
+      { webExtension: { id: "ddg at search.mozilla.org" }, orderHint: 100 },
+      { webExtension: { id: "youtube at search.mozilla.org" }, orderHint: 90 },
+      { webExtension: { id: "google at search.mozilla.org" }, orderHint: 80 },
+      { webExtension: { id: "ddg-onion at search.mozilla.org" }, orderHint: 70 },
+      { webExtension: { id: "startpage at search.mozilla.org" }, orderHint: 60 },
+      { webExtension: { id: "twitter at search.mozilla.org" }, orderHint: 50 },
+      { webExtension: { id: "wikipedia at search.mozilla.org" }, orderHint: 40 },
+      { webExtension: { id: "yahoo at search.mozilla.org" }, orderHint: 30 },
     ];
 
     for (let e of engines) {



More information about the tor-commits mailing list