| OLD | NEW |
| 1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | 4 |
| 5 #filter substitution | 5 #filter substitution |
| 6 | 6 |
| 7 // For browser.xml binding | 7 // For browser.xml binding |
| 8 // | 8 // |
| 9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The | 9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The |
| 10 // ratio is multiplied by the viewport width or height to get the displayport's | 10 // ratio is multiplied by the viewport width or height to get the displayport's |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 pref("accessibility.typeaheadfind.flashBar", 1); | 248 pref("accessibility.typeaheadfind.flashBar", 1); |
| 249 pref("accessibility.typeaheadfind.linksonly", false); | 249 pref("accessibility.typeaheadfind.linksonly", false); |
| 250 pref("accessibility.typeaheadfind.casesensitive", 0); | 250 pref("accessibility.typeaheadfind.casesensitive", 0); |
| 251 pref("accessibility.browsewithcaret_shortcut.enabled", false); | 251 pref("accessibility.browsewithcaret_shortcut.enabled", false); |
| 252 | 252 |
| 253 // Whether the character encoding menu is under the main Firefox button. This | 253 // Whether the character encoding menu is under the main Firefox button. This |
| 254 // preference is a string so that localizers can alter it. | 254 // preference is a string so that localizers can alter it. |
| 255 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.prop
erties"); | 255 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.prop
erties"); |
| 256 | 256 |
| 257 // pointer to the default engine name | 257 // pointer to the default engine name |
| 258 pref("browser.search.defaultenginename", "chrome://browser/locale/region.propert
ies"); | 258 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. |
| 259 pref("browser.search.defaultenginename", "data:text/plain,browser.search.default
enginename=DuckDuckGo"); |
| 259 // maximum number of search suggestions, as a string because the search service
expects a string pref | 260 // maximum number of search suggestions, as a string because the search service
expects a string pref |
| 260 pref("browser.search.param.maxSuggestions", "4"); | 261 pref("browser.search.param.maxSuggestions", "4"); |
| 261 // SSL error page behaviour | 262 // SSL error page behaviour |
| 262 pref("browser.ssl_override_behavior", 2); | 263 pref("browser.ssl_override_behavior", 2); |
| 263 pref("browser.xul.error_pages.expert_bad_cert", false); | 264 pref("browser.xul.error_pages.expert_bad_cert", false); |
| 264 | 265 |
| 265 // ordering of search engines in the engine list. | 266 // ordering of search engines in the engine list. |
| 266 pref("browser.search.order.1", "chrome://browser/locale/region.properties"); | 267 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. |
| 267 pref("browser.search.order.2", "chrome://browser/locale/region.properties"); | 268 pref("browser.search.order.1", "data:text/plain,browser.search.order.1=DuckDuckG
o"); |
| 268 pref("browser.search.order.3", "chrome://browser/locale/region.properties"); | 269 pref("browser.search.order.2", "data:text/plain,browser.search.order.2=Google"); |
| 270 pref("browser.search.order.3", "data:text/plain,browser.search.order.3=Yahoo"); |
| 269 | 271 |
| 270 // Market-specific search defaults | 272 // Market-specific search defaults |
| 271 pref("browser.search.geoSpecificDefaults", true); | 273 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. |
| 274 pref("browser.search.geoSpecificDefaults", false); |
| 272 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla.
com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V
ERSION%"); | 275 pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla.
com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_V
ERSION%"); |
| 273 | 276 |
| 274 // US specific default (used as a fallback if the geoSpecificDefaults request fa
ils). | 277 // US specific default (used as a fallback if the geoSpecificDefaults request fa
ils). |
| 275 pref("browser.search.defaultenginename.US", "chrome://browser/locale/region.prop
erties"); | 278 // Changed in Adblock Browser, see: https://issues.adblockplus.org/ticket/3003. |
| 276 pref("browser.search.order.US.1", "chrome://browser/locale/region.properties"); | 279 pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defa
ultenginename.US=DuckDuckGo"); |
| 277 pref("browser.search.order.US.2", "chrome://browser/locale/region.properties"); | 280 pref("browser.search.order.US.1", "data:text/plain,browser.search.order.US.1=Duc
kDuckGo"); |
| 278 pref("browser.search.order.US.3", "chrome://browser/locale/region.properties"); | 281 pref("browser.search.order.US.2", "data:text/plain,browser.search.order.US.2=Goo
gle"); |
| 282 pref("browser.search.order.US.3", "data:text/plain,browser.search.order.US.3=Yah
oo"); |
| 279 | 283 |
| 280 // disable updating | 284 // disable updating |
| 281 pref("browser.search.update", false); | 285 pref("browser.search.update", false); |
| 282 | 286 |
| 283 // disable search suggestions by default | 287 // disable search suggestions by default |
| 284 pref("browser.search.suggest.enabled", false); | 288 pref("browser.search.suggest.enabled", false); |
| 285 pref("browser.search.suggest.prompted", false); | 289 pref("browser.search.suggest.prompted", false); |
| 286 | 290 |
| 287 // Tell the search service to load search plugins from the locale JAR | 291 // Tell the search service to load search plugins from the locale JAR |
| 288 pref("browser.search.loadFromJars", true); | 292 pref("browser.search.loadFromJars", true); |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 #ifdef NIGHTLY_BUILD | 907 #ifdef NIGHTLY_BUILD |
| 904 pref("dom.serviceWorkers.enabled", true); | 908 pref("dom.serviceWorkers.enabled", true); |
| 905 #endif | 909 #endif |
| 906 | 910 |
| 907 // Disable sending console to logcat on release builds. | 911 // Disable sending console to logcat on release builds. |
| 908 #ifdef RELEASE_BUILD | 912 #ifdef RELEASE_BUILD |
| 909 pref("consoleservice.logcat", false); | 913 pref("consoleservice.logcat", false); |
| 910 #else | 914 #else |
| 911 pref("consoleservice.logcat", true); | 915 pref("consoleservice.logcat", true); |
| 912 #endif | 916 #endif |
| OLD | NEW |