commit fa611cfab0b3f322c88cb32a7e13c4c8e655868f
Author: Alex Catarineu <acat(a)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(a)search.mozilla.org" } },
- { webExtension: { id: "ddg-onion(a)search.mozilla.org" } },
- { webExtension: { id: "google(a)search.mozilla.org" } },
- { webExtension: { id: "yahoo(a)search.mozilla.org" } },
- { webExtension: { id: "twitter(a)search.mozilla.org" } },
- { webExtension: { id: "wikipedia(a)search.mozilla.org" } },
- { webExtension: { id: "youtube(a)search.mozilla.org" } },
- { webExtension: { id: "startpage(a)search.mozilla.org" } },
+ { webExtension: { id: "ddg(a)search.mozilla.org" }, orderHint: 100 },
+ { webExtension: { id: "youtube(a)search.mozilla.org" }, orderHint: 90 },
+ { webExtension: { id: "google(a)search.mozilla.org" }, orderHint: 80 },
+ { webExtension: { id: "ddg-onion(a)search.mozilla.org" }, orderHint: 70 },
+ { webExtension: { id: "startpage(a)search.mozilla.org" }, orderHint: 60 },
+ { webExtension: { id: "twitter(a)search.mozilla.org" }, orderHint: 50 },
+ { webExtension: { id: "wikipedia(a)search.mozilla.org" }, orderHint: 40 },
+ { webExtension: { id: "yahoo(a)search.mozilla.org" }, orderHint: 30 },
];
for (let e of engines) {