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