[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 470c6dc599688d15dd0c7fe228a7557709fba1b6
Author: Alex Catarineu <acat@xxxxxxxxxxxxxx>
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 ce2c3a7439cf..14ad86c681a7 100644
--- a/toolkit/components/search/SearchService.jsm
+++ b/toolkit/components/search/SearchService.jsm
@@ -1083,14 +1083,14 @@ SearchService.prototype = {
       : AppConstants.MOZ_UPDATE_CHANNEL;
 
     const engines = [
-      { webExtension: { id: "ddg@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "ddg-onion@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "google@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "yahoo@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "twitter@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "wikipedia@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "youtube@xxxxxxxxxxxxxxxxxx" } },
-      { webExtension: { id: "startpage@xxxxxxxxxxxxxxxxxx" } },
+      { webExtension: { id: "ddg@xxxxxxxxxxxxxxxxxx" }, orderHint: 100 },
+      { webExtension: { id: "youtube@xxxxxxxxxxxxxxxxxx" }, orderHint: 90 },
+      { webExtension: { id: "google@xxxxxxxxxxxxxxxxxx" }, orderHint: 80 },
+      { webExtension: { id: "ddg-onion@xxxxxxxxxxxxxxxxxx" }, orderHint: 70 },
+      { webExtension: { id: "startpage@xxxxxxxxxxxxxxxxxx" }, orderHint: 60 },
+      { webExtension: { id: "twitter@xxxxxxxxxxxxxxxxxx" }, orderHint: 50 },
+      { webExtension: { id: "wikipedia@xxxxxxxxxxxxxxxxxx" }, orderHint: 40 },
+      { webExtension: { id: "yahoo@xxxxxxxxxxxxxxxxxx" }, orderHint: 30 },
     ];
 
     for (let e of engines) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits