commit 470c6dc599688d15dd0c7fe228a7557709fba1b6 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 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@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) {
tbb-commits@lists.torproject.org