| 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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 pref("ui.windowtext", "#101010"); | 514 pref("ui.windowtext", "#101010"); |
| 515 pref("ui.windowframe", "#efebe7"); | 515 pref("ui.windowframe", "#efebe7"); |
| 516 | 516 |
| 517 /* prefs used by the update timer system (including blocklist pings) */ | 517 /* prefs used by the update timer system (including blocklist pings) */ |
| 518 pref("app.update.timerFirstInterval", 30000); // milliseconds | 518 pref("app.update.timerFirstInterval", 30000); // milliseconds |
| 519 pref("app.update.timerMinimumDelay", 30); // seconds | 519 pref("app.update.timerMinimumDelay", 30); // seconds |
| 520 | 520 |
| 521 // used by update service to decide whether or not to | 521 // used by update service to decide whether or not to |
| 522 // automatically download an update | 522 // automatically download an update |
| 523 pref("app.update.autodownload", "wifi"); | 523 pref("app.update.autodownload", "wifi"); |
| 524 #ifdef ABB_RELEASE_BUILD |
| 525 pref("app.update.url.android", "https://update.adblockplus.org/adblockbrowser/up
dates.xml?addonName=adblockbrowser&addonVersion=%VERSION%.%BUILD_ID%&application
Name=android&applicationVersion=%OS_VERSION_INT%&platform=gecko&platformVersion=
%MOZ_VERSION%&locale=%LOCALE%"); |
| 526 #else |
| 524 pref("app.update.url.android", "https://adblockplus.org/devbuilds/adblockbrowser
/updates.xml?addonName=adblockbrowser&addonVersion=%VERSION%.%BUILD_ID%&applicat
ionName=android&applicationVersion=%OS_VERSION_INT%&platform=gecko&platformVersi
on=%MOZ_VERSION%&locale=%LOCALE%"); | 527 pref("app.update.url.android", "https://adblockplus.org/devbuilds/adblockbrowser
/updates.xml?addonName=adblockbrowser&addonVersion=%VERSION%.%BUILD_ID%&applicat
ionName=android&applicationVersion=%OS_VERSION_INT%&platform=gecko&platformVersi
on=%MOZ_VERSION%&locale=%LOCALE%"); |
| 528 #endif |
| 525 | 529 |
| 526 #ifdef MOZ_UPDATER | 530 #ifdef MOZ_UPDATER |
| 527 /* prefs used specifically for updating the app */ | 531 /* prefs used specifically for updating the app */ |
| 528 pref("app.update.enabled", false); | 532 pref("app.update.enabled", false); |
| 529 pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@"); | 533 pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@"); |
| 530 | 534 |
| 531 #endif | 535 #endif |
| 532 | 536 |
| 533 // replace newlines with spaces on paste into single-line text boxes | 537 // replace newlines with spaces on paste into single-line text boxes |
| 534 pref("editor.singleLine.pasteNewlines", 2); | 538 pref("editor.singleLine.pasteNewlines", 2); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 899 #ifdef NIGHTLY_BUILD | 903 #ifdef NIGHTLY_BUILD |
| 900 pref("dom.serviceWorkers.enabled", true); | 904 pref("dom.serviceWorkers.enabled", true); |
| 901 #endif | 905 #endif |
| 902 | 906 |
| 903 // Disable sending console to logcat on release builds. | 907 // Disable sending console to logcat on release builds. |
| 904 #ifdef RELEASE_BUILD | 908 #ifdef RELEASE_BUILD |
| 905 pref("consoleservice.logcat", false); | 909 pref("consoleservice.logcat", false); |
| 906 #else | 910 #else |
| 907 pref("consoleservice.logcat", true); | 911 pref("consoleservice.logcat", true); |
| 908 #endif | 912 #endif |
| OLD | NEW |