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

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



commit fa611cfab0b3f322c88cb32a7e13c4c8e655868f
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 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@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