Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mobile/android/app/mobile.js

Issue 29326061: Issue 3003 - Set DuckDuckGo as the default search engine for all locales (Closed)
Patch Set: Created Sept. 7, 2015, 11:33 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mobile/locales/en-US/chrome/region.properties » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/app/mobile.js
===================================================================
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -255,7 +255,8 @@
pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
// pointer to the default engine name
-pref("browser.search.defaultenginename", "chrome://browser/locale/region.properties");
+// Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
+pref("browser.search.defaultenginename", "data:text/plain,browser.search.defaultenginename=DuckDuckGo");
// maximum number of search suggestions, as a string because the search service expects a string pref
pref("browser.search.param.maxSuggestions", "4");
// SSL error page behaviour
@@ -263,19 +264,22 @@
pref("browser.xul.error_pages.expert_bad_cert", false);
// ordering of search engines in the engine list.
-pref("browser.search.order.1", "chrome://browser/locale/region.properties");
-pref("browser.search.order.2", "chrome://browser/locale/region.properties");
-pref("browser.search.order.3", "chrome://browser/locale/region.properties");
+// Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
+pref("browser.search.order.1", "data:text/plain,browser.search.order.1=DuckDuckGo");
+pref("browser.search.order.2", "data:text/plain,browser.search.order.2=Google");
+pref("browser.search.order.3", "data:text/plain,browser.search.order.3=Yahoo");
// Market-specific search defaults
-pref("browser.search.geoSpecificDefaults", true);
+// Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
+pref("browser.search.geoSpecificDefaults", false);
pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla.com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%");
// US specific default (used as a fallback if the geoSpecificDefaults request fails).
-pref("browser.search.defaultenginename.US", "chrome://browser/locale/region.properties");
-pref("browser.search.order.US.1", "chrome://browser/locale/region.properties");
-pref("browser.search.order.US.2", "chrome://browser/locale/region.properties");
-pref("browser.search.order.US.3", "chrome://browser/locale/region.properties");
+// Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003.
+pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=DuckDuckGo");
+pref("browser.search.order.US.1", "data:text/plain,browser.search.order.US.1=DuckDuckGo");
+pref("browser.search.order.US.2", "data:text/plain,browser.search.order.US.2=Google");
+pref("browser.search.order.US.3", "data:text/plain,browser.search.order.US.3=Yahoo");
// disable updating
pref("browser.search.update", false);
« no previous file with comments | « no previous file | mobile/locales/en-US/chrome/region.properties » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld