2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2008-04-18 17:41:49 +04:00
|
|
|
|
|
|
|
#filter substitution
|
|
|
|
|
2012-05-18 20:31:27 +04:00
|
|
|
// For browser.xml binding
|
|
|
|
//
|
|
|
|
// cacheRatio* is a ratio that determines the amount of pixels to cache. The
|
|
|
|
// ratio is multiplied by the viewport width or height to get the displayport's
|
|
|
|
// width or height, respectively.
|
|
|
|
//
|
|
|
|
// (divide integer value by 1000 to get the ratio)
|
|
|
|
//
|
|
|
|
// For instance: cachePercentageWidth is 1500
|
|
|
|
// viewport height is 500
|
|
|
|
// => display port height will be 500 * 1.5 = 750
|
|
|
|
//
|
|
|
|
pref("toolkit.browser.cacheRatioWidth", 2000);
|
|
|
|
pref("toolkit.browser.cacheRatioHeight", 3000);
|
|
|
|
|
2011-01-19 01:00:36 +03:00
|
|
|
// How long before a content view (a handle to a remote scrollable object)
|
|
|
|
// expires.
|
|
|
|
pref("toolkit.browser.contentViewExpire", 3000);
|
2010-09-02 03:25:15 +04:00
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("toolkit.defaultChromeURI", "chrome://browser/content/browser.xul");
|
2008-07-11 22:51:28 +04:00
|
|
|
pref("browser.chromeURL", "chrome://browser/content/");
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2012-10-19 19:46:55 +04:00
|
|
|
// If a tab has not been active for this long (seconds), then it may be
|
|
|
|
// turned into a zombie tab to preemptively free up memory. -1 disables time-based
|
2012-11-02 19:02:59 +04:00
|
|
|
// expiration (but low-memory conditions may still require the tab to be zombified).
|
2014-01-24 18:08:05 +04:00
|
|
|
pref("browser.tabs.expireTime", 900);
|
2012-10-19 19:46:55 +04:00
|
|
|
|
2012-05-18 20:31:27 +04:00
|
|
|
// From libpref/src/init/all.js, extended to allow a slightly wider zoom range.
|
|
|
|
pref("zoom.minPercent", 20);
|
|
|
|
pref("zoom.maxPercent", 400);
|
|
|
|
pref("toolkit.zoomManager.zoomValues", ".2,.3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2,2.4,3,4");
|
|
|
|
|
2011-12-21 09:04:26 +04:00
|
|
|
// Mobile will use faster, less durable mode.
|
|
|
|
pref("toolkit.storage.synchronous", 0);
|
|
|
|
|
2011-08-25 01:01:18 +04:00
|
|
|
pref("browser.viewport.desktopWidth", 980);
|
2012-12-21 19:22:16 +04:00
|
|
|
// The default fallback zoom level to render pages at. Set to -1 to fit page; otherwise
|
|
|
|
// the value is divided by 1000 and clamped to hard-coded min/max scale values.
|
|
|
|
pref("browser.viewport.defaultZoom", -1);
|
2010-04-23 04:54:41 +04:00
|
|
|
|
2010-12-16 07:01:00 +03:00
|
|
|
/* allow scrollbars to float above chrome ui */
|
|
|
|
pref("ui.scrollbarsCanOverlapContent", 1);
|
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* cache prefs */
|
2011-11-03 20:37:43 +04:00
|
|
|
pref("browser.cache.disk.enable", true);
|
2012-04-15 03:44:02 +04:00
|
|
|
pref("browser.cache.disk.capacity", 20480); // kilobytes
|
2012-05-05 06:46:36 +04:00
|
|
|
pref("browser.cache.disk.max_entry_size", 4096); // kilobytes
|
2012-05-31 06:59:33 +04:00
|
|
|
pref("browser.cache.disk.smart_size.enabled", true);
|
|
|
|
pref("browser.cache.disk.smart_size.first_run", true);
|
2010-01-06 00:57:26 +03:00
|
|
|
|
2012-09-25 21:04:36 +04:00
|
|
|
#ifdef MOZ_PKG_SPECIAL
|
|
|
|
// low memory devices
|
|
|
|
pref("browser.cache.memory.enable", false);
|
|
|
|
#else
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("browser.cache.memory.enable", true);
|
2012-09-25 21:04:36 +04:00
|
|
|
#endif
|
2009-07-01 22:32:06 +04:00
|
|
|
pref("browser.cache.memory.capacity", 1024); // kilobytes
|
|
|
|
|
2013-09-20 13:11:25 +04:00
|
|
|
pref("browser.cache.memory_limit", 5120); // 5 MB
|
|
|
|
|
2009-07-01 22:32:06 +04:00
|
|
|
/* image cache prefs */
|
2009-07-01 23:12:58 +04:00
|
|
|
pref("image.cache.size", 1048576); // bytes
|
2012-09-27 22:12:56 +04:00
|
|
|
pref("image.high_quality_downscaling.enabled", false);
|
2009-07-01 22:32:06 +04:00
|
|
|
|
|
|
|
/* offline cache prefs */
|
2009-10-15 00:36:47 +04:00
|
|
|
pref("browser.offline-apps.notify", true);
|
2009-07-01 22:32:06 +04:00
|
|
|
pref("browser.cache.offline.enable", true);
|
|
|
|
pref("browser.cache.offline.capacity", 5120); // kilobytes
|
|
|
|
pref("offline-apps.quota.warn", 1024); // kilobytes
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2012-01-17 15:51:17 +04:00
|
|
|
// cache compression turned off for now - see bug #715198
|
|
|
|
pref("browser.cache.compression_level", 0);
|
|
|
|
|
2012-12-13 22:06:05 +04:00
|
|
|
/* disable some protocol warnings */
|
2010-08-25 09:10:52 +04:00
|
|
|
pref("network.protocol-handler.warn-external.tel", false);
|
2012-12-13 22:06:05 +04:00
|
|
|
pref("network.protocol-handler.warn-external.sms", false);
|
2010-08-25 09:10:52 +04:00
|
|
|
pref("network.protocol-handler.warn-external.mailto", false);
|
2011-02-09 22:50:23 +03:00
|
|
|
pref("network.protocol-handler.warn-external.vnd.youtube", false);
|
2010-08-25 09:10:52 +04:00
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* http prefs */
|
|
|
|
pref("network.http.pipelining", true);
|
|
|
|
pref("network.http.pipelining.ssl", true);
|
|
|
|
pref("network.http.proxy.pipelining", true);
|
2008-08-02 01:20:56 +04:00
|
|
|
pref("network.http.pipelining.maxrequests" , 6);
|
2014-05-12 23:10:48 +04:00
|
|
|
pref("network.http.keep-alive.timeout", 109);
|
2012-06-11 03:44:50 +04:00
|
|
|
pref("network.http.max-connections", 20);
|
|
|
|
pref("network.http.max-persistent-connections-per-server", 6);
|
2012-09-05 16:27:31 +04:00
|
|
|
pref("network.http.max-persistent-connections-per-proxy", 20);
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2013-05-29 08:07:03 +04:00
|
|
|
// spdy
|
|
|
|
pref("network.http.spdy.push-allowance", 32768);
|
|
|
|
|
2011-01-06 21:28:16 +03:00
|
|
|
// See bug 545869 for details on why these are set the way they are
|
|
|
|
pref("network.buffer.cache.count", 24);
|
|
|
|
pref("network.buffer.cache.size", 16384);
|
|
|
|
|
2014-01-18 05:45:48 +04:00
|
|
|
// predictive actions
|
2015-01-15 00:59:04 +03:00
|
|
|
pref("network.predictor.enabled", true);
|
2014-06-04 00:37:46 +04:00
|
|
|
pref("network.predictor.max-db-size", 2097152); // bytes
|
|
|
|
pref("network.predictor.preserve", 50); // percentage of predictor data to keep when cleaning up
|
2014-01-18 05:45:48 +04:00
|
|
|
|
2010-08-24 12:42:28 +04:00
|
|
|
/* history max results display */
|
|
|
|
pref("browser.display.history.maxresults", 100);
|
|
|
|
|
2011-03-25 20:41:44 +03:00
|
|
|
/* How many times should have passed before the remote tabs list is refreshed */
|
|
|
|
pref("browser.display.remotetabs.timeout", 10);
|
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* session history */
|
2009-06-01 19:47:55 +04:00
|
|
|
pref("browser.sessionhistory.max_total_viewers", 1);
|
2008-05-10 02:56:14 +04:00
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
2014-12-04 22:04:36 +03:00
|
|
|
pref("browser.sessionhistory.contentViewerTimeout", 360);
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2010-12-16 04:47:38 +03:00
|
|
|
/* session store */
|
2010-12-31 05:43:08 +03:00
|
|
|
pref("browser.sessionstore.resume_session_once", false);
|
2012-10-30 03:34:29 +04:00
|
|
|
pref("browser.sessionstore.resume_from_crash", true);
|
2010-12-16 04:47:38 +03:00
|
|
|
pref("browser.sessionstore.interval", 10000); // milliseconds
|
2014-06-23 00:26:49 +04:00
|
|
|
pref("browser.sessionstore.max_tabs_undo", 5);
|
2012-01-28 10:04:54 +04:00
|
|
|
pref("browser.sessionstore.max_resumed_crashes", 1);
|
|
|
|
pref("browser.sessionstore.recent_crashes", 0);
|
2015-01-23 07:43:15 +03:00
|
|
|
pref("browser.sessionstore.privacy_level", 0); // saving data: 0 = all, 1 = unencrypted sites, 2 = never
|
2010-12-16 04:47:38 +03:00
|
|
|
|
2008-09-18 22:15:23 +04:00
|
|
|
/* these should help performance */
|
|
|
|
pref("mozilla.widget.force-24bpp", true);
|
|
|
|
pref("mozilla.widget.use-buffer-pixmap", true);
|
|
|
|
pref("mozilla.widget.disable-native-theme", true);
|
2011-05-22 20:55:55 +04:00
|
|
|
pref("layout.reflow.synthMouseMove", false);
|
2013-01-21 23:43:06 +04:00
|
|
|
pref("layout.css.report_errors", false);
|
2008-09-18 22:15:23 +04:00
|
|
|
|
2008-05-03 00:15:45 +04:00
|
|
|
/* download manager (don't show the window or alert) */
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
2008-08-29 01:45:58 +04:00
|
|
|
pref("browser.download.folderList", 1); // Default to ~/Downloads
|
2008-05-03 00:15:45 +04:00
|
|
|
pref("browser.download.manager.showAlertOnComplete", false);
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("browser.download.manager.showAlertInterval", 2000);
|
|
|
|
pref("browser.download.manager.retention", 2);
|
2008-12-04 01:32:51 +03:00
|
|
|
pref("browser.download.manager.showWhenStarting", false);
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("browser.download.manager.closeWhenDone", true);
|
|
|
|
pref("browser.download.manager.openDelay", 0);
|
|
|
|
pref("browser.download.manager.focusWhenStarting", false);
|
|
|
|
pref("browser.download.manager.flashCount", 2);
|
|
|
|
pref("browser.download.manager.displayedHistoryDays", 7);
|
2014-09-18 11:20:53 +04:00
|
|
|
pref("browser.download.manager.addToRecentDocs", true);
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2011-08-16 21:12:03 +04:00
|
|
|
/* download helper */
|
|
|
|
pref("browser.helperApps.deleteTempFileOnExit", false);
|
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* password manager */
|
|
|
|
pref("signon.rememberSignons", true);
|
|
|
|
pref("signon.expireMasterPassword", false);
|
2011-10-27 08:29:46 +04:00
|
|
|
pref("signon.debug", false);
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2013-07-16 17:12:56 +04:00
|
|
|
/* form helper (scroll to and optionally zoom into editable fields) */
|
|
|
|
pref("formhelper.mode", 2); // 0 = disabled, 1 = enabled, 2 = dynamic depending on screen size
|
2010-03-30 21:56:06 +04:00
|
|
|
pref("formhelper.autozoom", true);
|
|
|
|
|
2010-07-19 18:51:03 +04:00
|
|
|
/* find helper */
|
|
|
|
pref("findhelper.autozoom", true);
|
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* autocomplete */
|
|
|
|
pref("browser.formfill.enable", true);
|
|
|
|
|
|
|
|
/* spellcheck */
|
2011-01-27 23:30:48 +03:00
|
|
|
pref("layout.spellcheckDefault", 0);
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2012-07-09 18:53:09 +04:00
|
|
|
/* new html5 forms */
|
|
|
|
pref("dom.experimental_forms", true);
|
2013-09-12 22:11:00 +04:00
|
|
|
pref("dom.forms.number", true);
|
2012-07-09 18:53:09 +04:00
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
/* extension manager and xpinstall */
|
2014-03-20 00:24:59 +04:00
|
|
|
pref("xpinstall.whitelist.directRequest", false);
|
|
|
|
pref("xpinstall.whitelist.fileRequest", false);
|
2009-07-05 20:20:34 +04:00
|
|
|
pref("xpinstall.whitelist.add", "addons.mozilla.org");
|
2012-12-06 01:03:05 +04:00
|
|
|
pref("xpinstall.whitelist.add.180", "marketplace.firefox.com");
|
2010-03-17 06:42:01 +03:00
|
|
|
|
2011-11-16 19:18:34 +04:00
|
|
|
pref("extensions.enabledScopes", 1);
|
2010-03-17 06:42:01 +03:00
|
|
|
pref("extensions.autoupdate.enabled", true);
|
|
|
|
pref("extensions.autoupdate.interval", 86400);
|
2009-11-14 00:32:29 +03:00
|
|
|
pref("extensions.update.enabled", false);
|
2008-04-18 17:41:49 +04:00
|
|
|
pref("extensions.update.interval", 86400);
|
|
|
|
pref("extensions.dss.enabled", false);
|
|
|
|
pref("extensions.dss.switchPending", false);
|
|
|
|
pref("extensions.ignoreMTimeChanges", false);
|
|
|
|
pref("extensions.logging.enabled", false);
|
2008-08-20 06:18:36 +04:00
|
|
|
pref("extensions.hideInstallButton", true);
|
2009-09-15 22:04:19 +04:00
|
|
|
pref("extensions.showMismatchUI", false);
|
2010-04-30 23:07:27 +04:00
|
|
|
pref("extensions.hideUpdateButton", false);
|
2012-01-31 04:53:14 +04:00
|
|
|
pref("extensions.strictCompatibility", false);
|
|
|
|
pref("extensions.minCompatibleAppVersion", "11.0");
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2012-01-31 04:53:14 +04:00
|
|
|
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
2012-03-07 12:18:28 +04:00
|
|
|
pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
2008-05-23 03:58:27 +04:00
|
|
|
|
2014-06-12 21:40:00 +04:00
|
|
|
pref("extensions.hotfix.id", "firefox-android-hotfix@mozilla.org");
|
|
|
|
pref("extensions.hotfix.cert.checkAttributes", true);
|
|
|
|
pref("extensions.hotfix.certs.1.sha1Fingerprint", "91:53:98:0C:C1:86:DF:47:8F:35:22:9E:11:C9:A7:31:04:49:A1:AA");
|
|
|
|
|
2008-08-20 06:18:36 +04:00
|
|
|
/* preferences for the Get Add-ons pane */
|
2011-01-21 19:50:06 +03:00
|
|
|
pref("extensions.getAddons.cache.enabled", true);
|
2010-09-15 14:40:12 +04:00
|
|
|
pref("extensions.getAddons.maxResults", 15);
|
2012-02-03 01:04:27 +04:00
|
|
|
pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/%LOCALE%/android/recommended/");
|
|
|
|
pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/list/featured/all/%MAX_RESULTS%/%OS%/%VERSION%");
|
2012-03-07 12:18:30 +04:00
|
|
|
pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/android/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
|
2012-02-03 01:04:27 +04:00
|
|
|
pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%");
|
|
|
|
pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/android/");
|
|
|
|
pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%");
|
|
|
|
pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/android/api/%API_VERSION%/search/guid:%IDS%?src=mobile&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%");
|
2008-08-20 06:18:36 +04:00
|
|
|
|
2011-06-07 23:11:37 +04:00
|
|
|
/* preference for the locale picker */
|
|
|
|
pref("extensions.getLocales.get.url", "");
|
2011-09-02 20:37:54 +04:00
|
|
|
pref("extensions.compatability.locales.buildid", "0");
|
2011-06-07 23:11:37 +04:00
|
|
|
|
2008-08-20 06:18:36 +04:00
|
|
|
/* blocklist preferences */
|
|
|
|
pref("extensions.blocklist.enabled", true);
|
|
|
|
pref("extensions.blocklist.interval", 86400);
|
2014-08-21 04:22:25 +04:00
|
|
|
pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/");
|
2010-01-09 03:40:19 +03:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
|
2008-08-20 06:18:36 +04:00
|
|
|
|
2008-07-11 22:51:28 +04:00
|
|
|
/* block popups by default, and notify the user about blocked popups */
|
|
|
|
pref("dom.disable_open_during_load", true);
|
|
|
|
pref("privacy.popups.showBrowserMessage", true);
|
|
|
|
|
2012-03-09 03:29:30 +04:00
|
|
|
/* disable opening windows with the dialog feature */
|
|
|
|
pref("dom.disable_window_open_dialog_feature", true);
|
2012-04-13 08:55:25 +04:00
|
|
|
pref("dom.disable_window_showModalDialog", true);
|
2012-04-13 23:45:06 +04:00
|
|
|
pref("dom.disable_window_print", true);
|
2012-05-03 20:15:38 +04:00
|
|
|
pref("dom.disable_window_find", true);
|
2012-03-09 03:29:30 +04:00
|
|
|
|
2008-07-15 19:21:39 +04:00
|
|
|
pref("keyword.enabled", true);
|
2014-04-25 02:42:00 +04:00
|
|
|
pref("browser.fixup.domainwhitelist.localhost", true);
|
2008-07-15 19:21:39 +04:00
|
|
|
|
2008-07-16 19:41:38 +04:00
|
|
|
pref("accessibility.typeaheadfind", false);
|
|
|
|
pref("accessibility.typeaheadfind.timeout", 5000);
|
|
|
|
pref("accessibility.typeaheadfind.flashBar", 1);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", false);
|
2008-08-05 00:53:40 +04:00
|
|
|
pref("accessibility.typeaheadfind.casesensitive", 0);
|
2009-02-18 21:04:46 +03:00
|
|
|
pref("accessibility.browsewithcaret_shortcut.enabled", false);
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2011-02-18 22:48:50 +03:00
|
|
|
// Whether the character encoding menu is under the main Firefox button. This
|
|
|
|
// preference is a string so that localizers can alter it.
|
|
|
|
pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
|
|
|
|
|
2008-07-16 19:41:38 +04:00
|
|
|
// pointer to the default engine name
|
2010-01-09 03:40:19 +03:00
|
|
|
pref("browser.search.defaultenginename", "chrome://browser/locale/region.properties");
|
2014-04-28 20:46:00 +04:00
|
|
|
// maximum number of search suggestions, as a string because the search service expects a string pref
|
|
|
|
pref("browser.search.param.maxSuggestions", "4");
|
2008-09-09 19:52:21 +04:00
|
|
|
// SSL error page behaviour
|
|
|
|
pref("browser.ssl_override_behavior", 2);
|
|
|
|
pref("browser.xul.error_pages.expert_bad_cert", false);
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2009-06-09 21:55:14 +04:00
|
|
|
// 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");
|
2013-10-05 20:07:09 +04:00
|
|
|
pref("browser.search.order.3", "chrome://browser/locale/region.properties");
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2015-01-29 23:19:49 +03:00
|
|
|
// Market-specific search defaults (US market only)
|
|
|
|
pref("browser.search.geoSpecificDefaults", true);
|
|
|
|
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");
|
|
|
|
|
2008-07-16 19:41:38 +04:00
|
|
|
// disable updating
|
|
|
|
pref("browser.search.update", false);
|
|
|
|
|
2012-08-20 22:41:54 +04:00
|
|
|
// disable search suggestions by default
|
|
|
|
pref("browser.search.suggest.enabled", false);
|
2012-10-02 21:51:48 +04:00
|
|
|
pref("browser.search.suggest.prompted", false);
|
2008-07-23 00:33:22 +04:00
|
|
|
|
2009-11-25 20:54:06 +03:00
|
|
|
// Tell the search service to load search plugins from the locale JAR
|
|
|
|
pref("browser.search.loadFromJars", true);
|
|
|
|
pref("browser.search.jarURIs", "chrome://browser/locale/searchplugins/");
|
|
|
|
|
|
|
|
// tell the search service that we don't really expose the "current engine"
|
|
|
|
pref("browser.search.noCurrentEngine", true);
|
|
|
|
|
2014-12-17 18:04:26 +03:00
|
|
|
// Control media casting & mirroring features
|
2014-05-27 17:12:53 +04:00
|
|
|
pref("browser.casting.enabled", true);
|
2014-09-19 15:50:00 +04:00
|
|
|
#ifdef RELEASE_BUILD
|
2014-12-17 18:04:26 +03:00
|
|
|
// Roku does not yet support mirroring in production
|
2014-09-19 15:50:00 +04:00
|
|
|
pref("browser.mirroring.enabled.roku", false);
|
2015-02-13 22:40:33 +03:00
|
|
|
// Chromecast mirroring is broken (bug 1131084)
|
|
|
|
pref("browser.mirroring.enabled", false);
|
2014-09-19 15:50:00 +04:00
|
|
|
#else
|
|
|
|
pref("browser.mirroring.enabled.roku", true);
|
2015-02-13 22:40:33 +03:00
|
|
|
pref("browser.mirroring.enabled", true);
|
2014-09-19 15:50:00 +04:00
|
|
|
#endif
|
2014-01-21 02:26:27 +04:00
|
|
|
|
2013-04-17 20:21:49 +04:00
|
|
|
// Enable sparse localization by setting a few package locale overrides
|
|
|
|
pref("chrome.override_package.global", "browser");
|
|
|
|
pref("chrome.override_package.mozapps", "browser");
|
|
|
|
pref("chrome.override_package.passwordmgr", "browser");
|
|
|
|
|
2008-07-23 00:33:22 +04:00
|
|
|
// enable xul error pages
|
|
|
|
pref("browser.xul.error_pages.enabled", true);
|
|
|
|
|
2008-09-18 02:15:25 +04:00
|
|
|
// disable color management
|
|
|
|
pref("gfx.color_management.mode", 0);
|
2012-04-13 18:28:10 +04:00
|
|
|
|
2012-04-25 17:53:38 +04:00
|
|
|
// 0=fixed margin, 1=velocity bias, 2=dynamic resolution, 3=no margins, 4=prediction bias
|
2012-04-10 22:56:28 +04:00
|
|
|
pref("gfx.displayport.strategy", 1);
|
2012-10-13 19:18:20 +04:00
|
|
|
|
2012-04-13 18:28:10 +04:00
|
|
|
// all of the following displayport strategy prefs will be divided by 1000
|
|
|
|
// to obtain some multiplier which is then used in the strategy.
|
|
|
|
// fixed margin strategy options
|
|
|
|
pref("gfx.displayport.strategy_fm.multiplier", -1); // displayport dimension multiplier
|
|
|
|
pref("gfx.displayport.strategy_fm.danger_x", -1); // danger zone on x-axis when multiplied by viewport width
|
|
|
|
pref("gfx.displayport.strategy_fm.danger_y", -1); // danger zone on y-axis when multiplied by viewport height
|
2012-10-13 19:18:20 +04:00
|
|
|
|
2012-04-13 18:28:10 +04:00
|
|
|
// velocity bias strategy options
|
|
|
|
pref("gfx.displayport.strategy_vb.multiplier", -1); // displayport dimension multiplier
|
2012-04-25 17:53:38 +04:00
|
|
|
pref("gfx.displayport.strategy_vb.threshold", -1); // velocity threshold in inches/frame
|
2012-04-13 18:28:10 +04:00
|
|
|
pref("gfx.displayport.strategy_vb.reverse_buffer", -1); // fraction of buffer to keep in reverse direction from scroll
|
2012-04-14 17:50:04 +04:00
|
|
|
pref("gfx.displayport.strategy_vb.danger_x_base", -1); // danger zone on x-axis when multiplied by viewport width
|
|
|
|
pref("gfx.displayport.strategy_vb.danger_y_base", -1); // danger zone on y-axis when multiplied by viewport height
|
|
|
|
pref("gfx.displayport.strategy_vb.danger_x_incr", -1); // additional danger zone on x-axis when multiplied by viewport width and velocity
|
|
|
|
pref("gfx.displayport.strategy_vb.danger_y_incr", -1); // additional danger zone on y-axis when multiplied by viewport height and velocity
|
2012-10-13 19:18:20 +04:00
|
|
|
|
2012-04-25 17:53:38 +04:00
|
|
|
// prediction bias strategy options
|
|
|
|
pref("gfx.displayport.strategy_pb.threshold", -1); // velocity threshold in inches/frame
|
2008-09-20 09:56:06 +04:00
|
|
|
|
2013-07-04 17:53:27 +04:00
|
|
|
// Allow 24-bit colour when the hardware supports it
|
|
|
|
pref("gfx.android.rgb16.force", false);
|
|
|
|
|
2008-09-20 09:56:06 +04:00
|
|
|
// don't allow JS to move and resize existing windows
|
|
|
|
pref("dom.disable_window_move_resize", true);
|
2008-09-22 21:37:07 +04:00
|
|
|
|
2009-07-29 08:09:10 +04:00
|
|
|
// prevent click image resizing for nsImageDocument
|
|
|
|
pref("browser.enable_click_image_resizing", false);
|
|
|
|
|
2008-09-24 20:14:06 +04:00
|
|
|
// open in tab preferences
|
|
|
|
// 0=default window, 1=current window/tab, 2=new window, 3=new tab in most window
|
|
|
|
pref("browser.link.open_external", 3);
|
|
|
|
pref("browser.link.open_newwindow", 3);
|
2008-10-21 22:28:08 +04:00
|
|
|
// 0=force all new windows to tabs, 1=don't force, 2=only force those with no features set
|
|
|
|
pref("browser.link.open_newwindow.restriction", 0);
|
2008-09-25 01:11:01 +04:00
|
|
|
|
2008-09-07 10:54:06 +04:00
|
|
|
// controls which bits of private data to clear. by default we clear them all.
|
|
|
|
pref("privacy.item.cache", true);
|
|
|
|
pref("privacy.item.cookies", true);
|
|
|
|
pref("privacy.item.offlineApps", true);
|
|
|
|
pref("privacy.item.history", true);
|
|
|
|
pref("privacy.item.formdata", true);
|
|
|
|
pref("privacy.item.downloads", true);
|
|
|
|
pref("privacy.item.passwords", true);
|
|
|
|
pref("privacy.item.sessions", true);
|
2009-05-30 05:28:12 +04:00
|
|
|
pref("privacy.item.geolocation", true);
|
|
|
|
pref("privacy.item.siteSettings", true);
|
2011-02-25 04:02:24 +03:00
|
|
|
pref("privacy.item.syncAccount", true);
|
2009-05-30 05:28:12 +04:00
|
|
|
|
|
|
|
// enable geo
|
|
|
|
pref("geo.enabled", true);
|
|
|
|
|
2009-03-05 23:18:42 +03:00
|
|
|
// content sink control -- controls responsiveness during page load
|
2009-12-18 23:19:57 +03:00
|
|
|
// see https://bugzilla.mozilla.org/show_bug.cgi?id=481566#c9
|
2011-11-30 03:27:39 +04:00
|
|
|
//pref("content.sink.enable_perf_mode", 2); // 0 - switch, 1 - interactive, 2 - perf
|
|
|
|
//pref("content.sink.pending_event_mode", 0);
|
|
|
|
//pref("content.sink.perf_deflect_count", 1000000);
|
|
|
|
//pref("content.sink.perf_parse_time", 50000000);
|
2009-03-05 23:18:42 +03:00
|
|
|
|
2011-07-07 22:27:07 +04:00
|
|
|
// Disable the JS engine's gc on memory pressure, since we do one in the mobile
|
|
|
|
// browser (bug 669346).
|
|
|
|
pref("javascript.options.gc_on_memory_pressure", false);
|
|
|
|
|
2012-08-20 08:15:12 +04:00
|
|
|
#ifdef MOZ_PKG_SPECIAL
|
|
|
|
// low memory devices
|
|
|
|
pref("javascript.options.mem.gc_high_frequency_heap_growth_max", 120);
|
2014-04-14 19:32:02 +04:00
|
|
|
pref("javascript.options.mem.gc_high_frequency_heap_growth_min", 120);
|
2012-08-20 08:15:12 +04:00
|
|
|
pref("javascript.options.mem.gc_high_frequency_high_limit_mb", 40);
|
|
|
|
pref("javascript.options.mem.gc_high_frequency_low_limit_mb", 10);
|
2014-04-14 19:32:02 +04:00
|
|
|
pref("javascript.options.mem.gc_low_frequency_heap_growth", 120);
|
2012-08-20 08:15:12 +04:00
|
|
|
pref("javascript.options.mem.high_water_mark", 16);
|
2012-10-27 03:06:19 +04:00
|
|
|
pref("javascript.options.mem.gc_allocation_threshold_mb", 3);
|
2013-06-21 05:06:53 +04:00
|
|
|
pref("javascript.options.mem.gc_decommit_threshold_mb", 1);
|
2014-07-16 13:01:20 +04:00
|
|
|
pref("javascript.options.mem.gc_min_empty_chunk_count", 1);
|
|
|
|
pref("javascript.options.mem.gc_max_empty_chunk_count", 2);
|
2012-08-20 08:15:12 +04:00
|
|
|
#else
|
|
|
|
pref("javascript.options.mem.high_water_mark", 32);
|
|
|
|
#endif
|
|
|
|
|
2010-10-08 04:46:49 +04:00
|
|
|
pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chrome
|
2009-03-26 18:36:02 +03:00
|
|
|
pref("dom.max_script_run_time", 20);
|
2009-05-30 05:28:12 +04:00
|
|
|
|
2009-06-09 21:55:14 +04:00
|
|
|
// JS error console
|
2011-01-04 04:06:27 +03:00
|
|
|
pref("devtools.errorconsole.enabled", false);
|
2013-09-20 16:39:23 +04:00
|
|
|
// Absolute path to the devtools unix domain socket file used
|
|
|
|
// to communicate with a usb cable via adb forward.
|
|
|
|
pref("devtools.debugger.unix-domain-socket", "/data/data/@ANDROID_PACKAGE_NAME@/firefox-debugger-socket");
|
2009-07-10 23:43:14 +04:00
|
|
|
|
2015-02-12 18:31:00 +03:00
|
|
|
pref("font.size.inflation.minTwips", 0);
|
2011-11-25 03:40:14 +04:00
|
|
|
|
2012-05-18 19:24:27 +04:00
|
|
|
// When true, zooming will be enabled on all sites, even ones that declare user-scalable=no.
|
|
|
|
pref("browser.ui.zoom.force-user-scalable", false);
|
2010-04-08 23:57:05 +04:00
|
|
|
|
2014-11-24 17:33:06 +03:00
|
|
|
pref("ui.zoomedview.enabled", false);
|
2015-02-07 14:17:12 +03:00
|
|
|
pref("ui.zoomedview.limitReadableSize", 8); // value in layer pixels
|
2014-11-24 17:33:06 +03:00
|
|
|
|
2014-11-04 17:51:53 +03:00
|
|
|
pref("ui.touch.radius.enabled", false);
|
2014-09-22 22:53:12 +04:00
|
|
|
pref("ui.touch.radius.leftmm", 3);
|
|
|
|
pref("ui.touch.radius.topmm", 5);
|
|
|
|
pref("ui.touch.radius.rightmm", 3);
|
|
|
|
pref("ui.touch.radius.bottommm", 2);
|
|
|
|
pref("ui.touch.radius.visitedWeight", 120);
|
|
|
|
|
|
|
|
pref("ui.mouse.radius.enabled", true);
|
|
|
|
pref("ui.mouse.radius.leftmm", 3);
|
|
|
|
pref("ui.mouse.radius.topmm", 5);
|
|
|
|
pref("ui.mouse.radius.rightmm", 3);
|
|
|
|
pref("ui.mouse.radius.bottommm", 2);
|
|
|
|
pref("ui.mouse.radius.visitedWeight", 120);
|
2014-11-04 17:52:16 +03:00
|
|
|
pref("ui.mouse.radius.reposition", true);
|
2010-04-08 22:50:05 +04:00
|
|
|
|
2013-05-30 15:53:24 +04:00
|
|
|
// The percentage of the screen that needs to be scrolled before margins are exposed.
|
2014-02-13 20:47:15 +04:00
|
|
|
pref("browser.ui.show-margins-threshold", 10);
|
2013-05-30 15:53:24 +04:00
|
|
|
|
2013-08-06 12:38:32 +04:00
|
|
|
// Maximum distance from the point where the user pressed where we still
|
|
|
|
// look for text to select
|
|
|
|
pref("browser.ui.selection.distance", 250);
|
|
|
|
|
2010-01-27 02:34:11 +03:00
|
|
|
// plugins
|
2011-11-15 19:43:42 +04:00
|
|
|
pref("plugin.disable", false);
|
2011-10-07 21:46:02 +04:00
|
|
|
pref("dom.ipc.plugins.enabled", false);
|
2009-09-03 22:04:50 +04:00
|
|
|
|
2013-06-22 07:36:32 +04:00
|
|
|
// This pref isn't actually used anymore, but we're leaving this here to avoid changing
|
|
|
|
// the default so that we can migrate a user-set pref. See bug 885357.
|
|
|
|
pref("plugins.click_to_play", true);
|
2013-05-16 00:30:40 +04:00
|
|
|
// The default value for nsIPluginTag.enabledState (STATE_CLICKTOPLAY = 1)
|
|
|
|
pref("plugin.default.state", 1);
|
2011-12-10 02:04:19 +04:00
|
|
|
|
2009-09-03 22:04:50 +04:00
|
|
|
// product URLs
|
2010-04-09 19:17:14 +04:00
|
|
|
// The breakpad report server to link to in about:crashes
|
2013-03-04 11:11:21 +04:00
|
|
|
pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
|
2012-03-12 23:08:15 +04:00
|
|
|
pref("app.support.baseURL", "http://support.mozilla.org/1/mobile/%VERSION%/%OS%/%LOCALE%/");
|
2012-08-27 08:33:11 +04:00
|
|
|
// Used to submit data to input from about:feedback
|
2014-08-26 16:20:00 +04:00
|
|
|
pref("app.feedback.postURL", "https://input.mozilla.org/api/v1/feedback/");
|
2014-05-17 04:16:42 +04:00
|
|
|
pref("app.privacyURL", "https://www.mozilla.org/privacy/firefox/");
|
2011-01-26 20:08:00 +03:00
|
|
|
pref("app.creditsURL", "http://www.mozilla.org/credits/");
|
2011-09-06 19:47:00 +04:00
|
|
|
pref("app.channelURL", "http://www.mozilla.org/%LOCALE%/firefox/channel/");
|
2012-02-24 23:40:20 +04:00
|
|
|
#if MOZ_UPDATE_CHANNEL == aurora
|
|
|
|
pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/mobile/%VERSION%/auroranotes/");
|
2014-01-30 01:34:43 +04:00
|
|
|
#elif MOZ_UPDATE_CHANNEL == beta
|
|
|
|
pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/mobile/%VERSION%beta/releasenotes/");
|
2012-02-24 23:40:20 +04:00
|
|
|
#else
|
|
|
|
pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/mobile/%VERSION%/releasenotes/");
|
|
|
|
#endif
|
2010-09-24 00:29:53 +04:00
|
|
|
#if MOZ_UPDATE_CHANNEL == beta
|
|
|
|
pref("app.faqURL", "http://www.mozilla.com/%LOCALE%/mobile/beta/faq/");
|
|
|
|
#else
|
|
|
|
pref("app.faqURL", "http://www.mozilla.com/%LOCALE%/mobile/faq/");
|
|
|
|
#endif
|
2013-07-11 12:28:28 +04:00
|
|
|
pref("app.marketplaceURL", "https://marketplace.firefox.com/");
|
2011-02-18 19:10:43 +03:00
|
|
|
|
2009-09-10 07:21:26 +04:00
|
|
|
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
|
|
|
|
pref("security.alternate_certificate_error_page", "certerror");
|
2009-09-22 18:21:15 +04:00
|
|
|
|
2010-12-09 00:57:19 +03:00
|
|
|
pref("security.warn_viewing_mixed", false); // Warning is disabled. See Bug 616712.
|
2010-12-09 00:49:01 +03:00
|
|
|
|
2013-06-22 07:36:38 +04:00
|
|
|
// Block insecure active content on https pages
|
|
|
|
pref("security.mixed_content.block_active_content", true);
|
|
|
|
|
2014-09-04 00:30:12 +04:00
|
|
|
// Enable pinning
|
|
|
|
pref("security.cert_pinning.enforcement_level", 1);
|
|
|
|
|
2009-10-26 08:58:13 +03:00
|
|
|
// Override some named colors to avoid inverse OS themes
|
|
|
|
pref("ui.-moz-dialog", "#efebe7");
|
|
|
|
pref("ui.-moz-dialogtext", "#101010");
|
|
|
|
pref("ui.-moz-field", "#fff");
|
|
|
|
pref("ui.-moz-fieldtext", "#1a1a1a");
|
|
|
|
pref("ui.-moz-buttonhoverface", "#f3f0ed");
|
|
|
|
pref("ui.-moz-buttonhovertext", "#101010");
|
|
|
|
pref("ui.-moz-combobox", "#fff");
|
|
|
|
pref("ui.-moz-comboboxtext", "#101010");
|
|
|
|
pref("ui.buttonface", "#ece7e2");
|
|
|
|
pref("ui.buttonhighlight", "#fff");
|
|
|
|
pref("ui.buttonshadow", "#aea194");
|
|
|
|
pref("ui.buttontext", "#101010");
|
|
|
|
pref("ui.captiontext", "#101010");
|
|
|
|
pref("ui.graytext", "#b1a598");
|
|
|
|
pref("ui.highlight", "#fad184");
|
|
|
|
pref("ui.highlighttext", "#1a1a1a");
|
|
|
|
pref("ui.infobackground", "#f5f5b5");
|
|
|
|
pref("ui.infotext", "#000");
|
|
|
|
pref("ui.menu", "#f7f5f3");
|
|
|
|
pref("ui.menutext", "#101010");
|
|
|
|
pref("ui.threeddarkshadow", "#000");
|
|
|
|
pref("ui.threedface", "#ece7e2");
|
|
|
|
pref("ui.threedhighlight", "#fff");
|
|
|
|
pref("ui.threedlightshadow", "#ece7e2");
|
|
|
|
pref("ui.threedshadow", "#aea194");
|
|
|
|
pref("ui.window", "#efebe7");
|
|
|
|
pref("ui.windowtext", "#101010");
|
|
|
|
pref("ui.windowframe", "#efebe7");
|
|
|
|
|
2012-08-20 08:15:10 +04:00
|
|
|
/* prefs used by the update timer system (including blocklist pings) */
|
|
|
|
pref("app.update.timerFirstInterval", 30000); // milliseconds
|
|
|
|
pref("app.update.timerMinimumDelay", 30); // seconds
|
2010-03-17 06:42:01 +03:00
|
|
|
|
2012-10-15 17:56:42 +04:00
|
|
|
// used by update service to decide whether or not to
|
|
|
|
// automatically download an update
|
|
|
|
pref("app.update.autodownload", "wifi");
|
2015-02-03 19:18:13 +03:00
|
|
|
pref("app.update.url.android", "https://aus4.mozilla.org/update/4/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%MOZ_VERSION%/update.xml");
|
2012-10-15 17:56:42 +04:00
|
|
|
|
2010-01-21 20:48:08 +03:00
|
|
|
#ifdef MOZ_UPDATER
|
2012-08-20 08:15:10 +04:00
|
|
|
/* prefs used specifically for updating the app */
|
2012-08-31 17:31:29 +04:00
|
|
|
pref("app.update.enabled", false);
|
2010-01-21 20:48:08 +03:00
|
|
|
pref("app.update.channel", "@MOZ_UPDATE_CHANNEL@");
|
|
|
|
|
|
|
|
#endif
|
2010-02-17 05:27:31 +03:00
|
|
|
|
|
|
|
// replace newlines with spaces on paste into single-line text boxes
|
|
|
|
pref("editor.singleLine.pasteNewlines", 2);
|
2010-03-07 21:03:58 +03:00
|
|
|
|
2010-11-18 22:36:46 +03:00
|
|
|
// threshold where a tap becomes a drag, in 1/240" reference pixels
|
2014-04-01 08:09:23 +04:00
|
|
|
// The names of the preferences are to be in sync with EventStateManager.cpp
|
2011-03-11 20:54:40 +03:00
|
|
|
pref("ui.dragThresholdX", 25);
|
|
|
|
pref("ui.dragThresholdY", 25);
|
2010-10-05 09:21:30 +04:00
|
|
|
|
2011-09-06 23:07:07 +04:00
|
|
|
pref("layers.acceleration.disabled", false);
|
2012-02-02 11:54:01 +04:00
|
|
|
pref("layers.offmainthreadcomposition.enabled", true);
|
2012-08-14 07:03:36 +04:00
|
|
|
pref("layers.async-video.enabled", true);
|
2014-08-09 01:41:51 +04:00
|
|
|
#ifdef MOZ_ANDROID_APZ
|
|
|
|
pref("layers.async-pan-zoom.enabled", true);
|
|
|
|
#endif
|
2012-10-26 01:11:12 +04:00
|
|
|
pref("layers.progressive-paint", true);
|
2012-11-22 02:34:20 +04:00
|
|
|
pref("layers.low-precision-buffer", true);
|
2014-05-21 20:06:02 +04:00
|
|
|
pref("layers.low-precision-resolution", "0.25");
|
2014-06-23 20:00:18 +04:00
|
|
|
pref("layers.low-precision-opacity", "1.0");
|
2013-07-17 00:17:18 +04:00
|
|
|
// We want to limit layers for two reasons:
|
|
|
|
// 1) We can't scroll smoothly if we have to many draw calls
|
|
|
|
// 2) Pages that have too many layers consume too much memory and crash.
|
|
|
|
// By limiting the number of layers on mobile we're making the main thread
|
|
|
|
// work harder keep scrolling smooth and memory low.
|
|
|
|
pref("layers.max-active", 20);
|
2012-02-02 11:54:01 +04:00
|
|
|
|
2011-01-04 04:06:27 +03:00
|
|
|
pref("notification.feature.enabled", true);
|
2013-03-18 17:24:54 +04:00
|
|
|
pref("dom.webnotifications.enabled", true);
|
2011-01-05 22:02:00 +03:00
|
|
|
|
|
|
|
// prevent tooltips from showing up
|
|
|
|
pref("browser.chrome.toolbar_tips", false);
|
2011-02-15 07:43:35 +03:00
|
|
|
|
|
|
|
// prevent video elements from preloading too much data
|
|
|
|
pref("media.preload.default", 1); // default to preload none
|
|
|
|
pref("media.preload.auto", 2); // preload metadata if preload=auto
|
2014-10-21 01:32:11 +04:00
|
|
|
pref("media.cache_size", 32768); // 32MB media cache
|
|
|
|
// Try to save battery by not resuming reading from a connection until we fall
|
|
|
|
// below 10s of buffered data.
|
|
|
|
pref("media.cache_resume_threshold", 10);
|
|
|
|
pref("media.cache_readahead_limit", 30);
|
2011-02-17 23:09:00 +03:00
|
|
|
|
2014-03-11 07:44:08 +04:00
|
|
|
// Number of video frames we buffer while decoding video.
|
|
|
|
// On Android this is decided by a similar value which varies for
|
|
|
|
// each OMX decoder |OMX_PARAM_PORTDEFINITIONTYPE::nBufferCountMin|. This
|
|
|
|
// number must be less than the OMX equivalent or gecko will think it is
|
|
|
|
// chronically starved of video frames. All decoders seen so far have a value
|
|
|
|
// of at least 4.
|
|
|
|
pref("media.video-queue.default-size", 3);
|
|
|
|
|
2014-10-21 17:53:01 +04:00
|
|
|
// Enable the MediaCodec PlatformDecoderModule by default.
|
|
|
|
pref("media.fragmented-mp4.exposed", true);
|
|
|
|
pref("media.fragmented-mp4.enabled", true);
|
|
|
|
pref("media.fragmented-mp4.android-media-codec.enabled", true);
|
|
|
|
pref("media.fragmented-mp4.android-media-codec.preferred", true);
|
|
|
|
|
2011-02-17 23:09:00 +03:00
|
|
|
// optimize images memory usage
|
2015-03-25 01:39:00 +03:00
|
|
|
pref("image.decode-only-on-draw.enabled", true);
|
2011-02-17 23:09:00 +03:00
|
|
|
|
2013-12-11 19:13:30 +04:00
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
// Shumway component (SWF player) is disabled by default. Also see bug 904346.
|
|
|
|
pref("shumway.disabled", true);
|
|
|
|
#endif
|
|
|
|
|
2011-03-21 21:20:34 +03:00
|
|
|
// enable touch events interfaces
|
2012-10-25 18:57:51 +04:00
|
|
|
pref("dom.w3c_touch_events.enabled", 1);
|
2011-03-21 21:20:34 +03:00
|
|
|
|
2011-04-26 23:39:21 +04:00
|
|
|
#ifdef MOZ_SAFE_BROWSING
|
2012-10-04 18:23:34 +04:00
|
|
|
pref("browser.safebrowsing.enabled", true);
|
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
2012-09-25 00:34:27 +04:00
|
|
|
pref("browser.safebrowsing.debug", false);
|
|
|
|
|
2014-01-16 12:27:59 +04:00
|
|
|
pref("browser.safebrowsing.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2&key=%GOOGLE_API_KEY%");
|
|
|
|
pref("browser.safebrowsing.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
|
|
|
|
pref("browser.safebrowsing.reportURL", "https://safebrowsing.google.com/safebrowsing/report?");
|
2012-09-25 00:34:27 +04:00
|
|
|
pref("browser.safebrowsing.reportGenericURL", "http://%LOCALE%.phish-generic.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportErrorURL", "http://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportPhishURL", "http://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportMalwareURL", "http://%LOCALE%.malware-report.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportMalwareErrorURL", "http://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%");
|
|
|
|
|
2014-01-16 12:27:59 +04:00
|
|
|
pref("browser.safebrowsing.malware.reportURL", "https://safebrowsing.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
|
2011-04-26 23:39:21 +04:00
|
|
|
|
2013-01-10 11:38:50 +04:00
|
|
|
pref("browser.safebrowsing.id", @MOZ_APP_UA_NAME@);
|
|
|
|
|
2011-04-26 23:39:21 +04:00
|
|
|
// Name of the about: page contributed by safebrowsing to handle display of error
|
|
|
|
// pages on phishing/malware hits. (bug 399233)
|
|
|
|
pref("urlclassifier.alternate_error_page", "blocked");
|
|
|
|
|
|
|
|
// The number of random entries to send with a gethash request.
|
|
|
|
pref("urlclassifier.gethashnoise", 4);
|
|
|
|
|
2014-09-09 03:44:08 +04:00
|
|
|
// Gethash timeout for Safebrowsing.
|
|
|
|
pref("urlclassifier.gethash.timeout_ms", 5000);
|
|
|
|
|
2011-04-26 23:39:21 +04:00
|
|
|
// If an urlclassifier table has not been updated in this number of seconds,
|
|
|
|
// a gethash request will be forced to check that the result is still in
|
|
|
|
// the database.
|
2012-12-21 11:48:30 +04:00
|
|
|
pref("urlclassifier.max-complete-age", 2700);
|
2011-03-21 21:20:34 +03:00
|
|
|
#endif
|
|
|
|
|
2014-11-05 23:14:34 +03:00
|
|
|
// URL for posting tiles metrics.
|
|
|
|
#ifdef RELEASE_BUILD
|
|
|
|
pref("browser.tiles.reportURL", "https://tiles.services.mozilla.com/v2/links/click");
|
|
|
|
#endif
|
|
|
|
|
2011-06-07 23:11:37 +04:00
|
|
|
// True if this is the first time we are showing about:firstrun
|
|
|
|
pref("browser.firstrun.show.uidiscovery", true);
|
2011-10-18 22:05:28 +04:00
|
|
|
pref("browser.firstrun.show.localepicker", false);
|
2011-06-07 23:11:37 +04:00
|
|
|
|
2011-08-02 21:34:58 +04:00
|
|
|
// True if you always want dump() to work
|
|
|
|
//
|
|
|
|
// On Android, you also need to do the following for the output
|
|
|
|
// to show up in logcat:
|
|
|
|
//
|
|
|
|
// $ adb shell stop
|
|
|
|
// $ adb shell setprop log.redirect-stdio true
|
|
|
|
// $ adb shell start
|
2011-10-11 04:40:17 +04:00
|
|
|
pref("browser.dom.window.dump.enabled", true);
|
2011-09-27 04:25:41 +04:00
|
|
|
|
2013-05-03 04:52:54 +04:00
|
|
|
// SimplePush
|
|
|
|
pref("services.push.enabled", false);
|
|
|
|
|
2011-09-27 04:25:41 +04:00
|
|
|
// controls if we want camera support
|
|
|
|
pref("device.camera.enabled", true);
|
|
|
|
pref("media.realtime_decoder.enabled", true);
|
2011-10-11 10:19:56 +04:00
|
|
|
|
|
|
|
pref("dom.report_all_js_exceptions", true);
|
|
|
|
pref("javascript.options.showInConsole", true);
|
2011-11-08 22:36:04 +04:00
|
|
|
|
|
|
|
pref("full-screen-api.enabled", true);
|
2012-01-19 05:41:28 +04:00
|
|
|
|
|
|
|
pref("direct-texture.force.enabled", false);
|
|
|
|
pref("direct-texture.force.disabled", false);
|
2012-04-10 14:05:45 +04:00
|
|
|
|
2012-04-13 18:29:14 +04:00
|
|
|
// This fraction in 1000ths of velocity remains after every animation frame when the velocity is low.
|
|
|
|
pref("ui.scrolling.friction_slow", -1);
|
|
|
|
// This fraction in 1000ths of velocity remains after every animation frame when the velocity is high.
|
|
|
|
pref("ui.scrolling.friction_fast", -1);
|
|
|
|
// The maximum velocity change factor between events, per ms, in 1000ths.
|
|
|
|
// Direction changes are excluded.
|
|
|
|
pref("ui.scrolling.max_event_acceleration", -1);
|
|
|
|
// The rate of deceleration when the surface has overscrolled, in 1000ths.
|
|
|
|
pref("ui.scrolling.overscroll_decel_rate", -1);
|
|
|
|
// The fraction of the surface which can be overscrolled before it must snap back, in 1000ths.
|
|
|
|
pref("ui.scrolling.overscroll_snap_limit", -1);
|
|
|
|
// The minimum amount of space that must be present for an axis to be considered scrollable,
|
|
|
|
// in 1/1000ths of pixels.
|
|
|
|
pref("ui.scrolling.min_scrollable_distance", -1);
|
2013-04-14 17:27:02 +04:00
|
|
|
// The axis lock mode for panning behaviour - set between standard, free and sticky
|
|
|
|
pref("ui.scrolling.axis_lock_mode", "standard");
|
2013-08-28 05:01:40 +04:00
|
|
|
// Negate scrollY, true will make the mouse scroll wheel move the screen the same direction as with most desktops or laptops.
|
|
|
|
pref("ui.scrolling.negate_wheel_scrollY", true);
|
2013-09-05 05:58:40 +04:00
|
|
|
// Determine the dead zone for gamepad joysticks. Higher values result in larger dead zones; use a negative value to
|
|
|
|
// auto-detect based on reported hardware values
|
2014-03-16 01:38:42 +04:00
|
|
|
pref("ui.scrolling.gamepad_dead_zone", 115);
|
2013-04-14 17:27:02 +04:00
|
|
|
|
2015-01-02 14:17:00 +03:00
|
|
|
// Prefs for fling acceleration
|
2015-01-12 19:12:41 +03:00
|
|
|
pref("ui.scrolling.fling_accel_interval", -1);
|
|
|
|
pref("ui.scrolling.fling_accel_base_multiplier", -1);
|
|
|
|
pref("ui.scrolling.fling_accel_supplemental_multiplier", -1);
|
2012-05-05 10:46:16 +04:00
|
|
|
|
2015-01-12 19:27:41 +03:00
|
|
|
// Prefs for fling curving
|
|
|
|
pref("ui.scrolling.fling_curve_function_x1", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_function_y1", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_function_x2", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_function_y2", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_threshold_velocity", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_max_velocity", -1);
|
|
|
|
pref("ui.scrolling.fling_curve_newton_iterations", -1);
|
|
|
|
|
2012-05-05 10:46:16 +04:00
|
|
|
// Enable accessibility mode if platform accessibility is enabled.
|
2012-05-18 22:56:38 +04:00
|
|
|
pref("accessibility.accessfu.activate", 2);
|
2013-07-12 00:42:11 +04:00
|
|
|
pref("accessibility.accessfu.quicknav_modes", "Link,Heading,FormElement,Landmark,ListItem");
|
2014-10-15 01:42:50 +04:00
|
|
|
// Active quicknav mode, index value of list from quicknav_modes
|
|
|
|
pref("accessibility.accessfu.quicknav_index", 0);
|
2013-04-05 02:16:37 +04:00
|
|
|
// Setting for an utterance order (0 - description first, 1 - description last).
|
2013-07-10 18:25:57 +04:00
|
|
|
pref("accessibility.accessfu.utterance", 1);
|
2013-06-18 00:25:24 +04:00
|
|
|
// Whether to skip images with empty alt text
|
|
|
|
pref("accessibility.accessfu.skip_empty_images", true);
|
2012-05-11 14:57:07 +04:00
|
|
|
|
2013-07-11 19:39:36 +04:00
|
|
|
// Transmit UDP busy-work to the LAN when anticipating low latency
|
|
|
|
// network reads and on wifi to mitigate 802.11 Power Save Polling delays
|
|
|
|
pref("network.tickle-wifi.enabled", true);
|
|
|
|
|
2012-05-11 14:57:07 +04:00
|
|
|
// Mobile manages state by autodetection
|
|
|
|
pref("network.manage-offline-status", true);
|
2012-06-12 05:44:45 +04:00
|
|
|
|
|
|
|
// increase the timeout clamp for background tabs to 15 minutes
|
|
|
|
pref("dom.min_background_timeout_value", 900000);
|
2012-06-20 21:12:13 +04:00
|
|
|
|
2012-08-10 12:15:16 +04:00
|
|
|
// Media plugins for libstagefright playback on android
|
2012-08-15 22:00:39 +04:00
|
|
|
pref("media.plugins.enabled", true);
|
2012-08-10 12:15:16 +04:00
|
|
|
|
2012-08-25 01:20:39 +04:00
|
|
|
// Stagefright's OMXCodec::CreationFlags. The interesting flag values are:
|
|
|
|
// 0 = Let Stagefright choose hardware or software decoding (default)
|
|
|
|
// 8 = Force software decoding
|
|
|
|
// 16 = Force hardware decoding
|
|
|
|
pref("media.stagefright.omxcodec.flags", 0);
|
|
|
|
|
2012-08-09 23:54:36 +04:00
|
|
|
// Coalesce touch events to prevent them from flooding the event queue
|
2012-10-19 19:18:01 +04:00
|
|
|
pref("dom.event.touch.coalescing.enabled", false);
|
2012-08-20 21:28:40 +04:00
|
|
|
|
|
|
|
// default orientation for the app, default to undefined
|
|
|
|
// the java GeckoScreenOrientationListener needs this to be defined
|
|
|
|
pref("app.orientation.default", "");
|
2012-11-26 20:02:47 +04:00
|
|
|
|
|
|
|
// On memory pressure, release dirty but unused pages held by jemalloc
|
|
|
|
// back to the system.
|
|
|
|
pref("memory.free_dirty_pages", true);
|
2013-02-14 03:26:24 +04:00
|
|
|
|
2013-09-15 22:51:35 +04:00
|
|
|
pref("layout.imagevisibility.numscrollportwidths", 1);
|
|
|
|
pref("layout.imagevisibility.numscrollportheights", 1);
|
2013-02-25 04:59:24 +04:00
|
|
|
|
2013-12-17 18:02:16 +04:00
|
|
|
pref("layers.enable-tiles", true);
|
2013-09-10 22:21:37 +04:00
|
|
|
|
2013-03-12 22:32:26 +04:00
|
|
|
// Enable the dynamic toolbar
|
|
|
|
pref("browser.chrome.dynamictoolbar", true);
|
2013-03-07 14:17:34 +04:00
|
|
|
|
2015-01-07 23:03:03 +03:00
|
|
|
// The mode of browser titlebar
|
|
|
|
// 0: Show a current page title.
|
|
|
|
// 1: Show a current page url.
|
|
|
|
pref("browser.chrome.titlebarMode", 1);
|
|
|
|
|
2013-10-26 20:18:55 +04:00
|
|
|
// Hide common parts of URLs like "www." or "http://"
|
|
|
|
pref("browser.urlbar.trimURLs", true);
|
|
|
|
|
2013-02-14 03:26:24 +04:00
|
|
|
#ifdef MOZ_PKG_SPECIAL
|
|
|
|
// Disable webgl on ARMv6 because running the reftests takes
|
|
|
|
// too long for some reason (bug 843738)
|
|
|
|
pref("webgl.disabled", true);
|
|
|
|
#endif
|
2013-04-03 04:36:04 +04:00
|
|
|
|
2013-04-03 23:34:51 +04:00
|
|
|
// initial web feed readers list
|
|
|
|
pref("browser.contentHandlers.types.0.title", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.uri", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.1.title", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.uri", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.2.title", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.uri", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.3.title", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.uri", "chrome://browser/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
|
2013-09-27 22:38:14 +04:00
|
|
|
// WebPayment
|
|
|
|
pref("dom.mozPay.enabled", true);
|
|
|
|
|
2013-06-07 03:02:49 +04:00
|
|
|
#ifndef RELEASE_BUILD
|
2013-04-26 02:29:17 +04:00
|
|
|
pref("dom.payment.provider.0.name", "Firefox Marketplace");
|
|
|
|
pref("dom.payment.provider.0.description", "marketplace.firefox.com");
|
|
|
|
pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
|
|
|
|
pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
|
|
|
|
pref("dom.payment.provider.0.requestMethod", "GET");
|
2013-06-07 03:02:49 +04:00
|
|
|
#endif
|
2013-04-26 02:29:17 +04:00
|
|
|
|
2013-07-19 02:01:00 +04:00
|
|
|
// Shortnumber matching needed for e.g. Brazil:
|
|
|
|
// 01187654321 can be found with 87654321
|
|
|
|
pref("dom.phonenumber.substringmatching.BR", 8);
|
|
|
|
pref("dom.phonenumber.substringmatching.CO", 10);
|
|
|
|
pref("dom.phonenumber.substringmatching.VE", 7);
|
|
|
|
|
2013-07-02 01:46:30 +04:00
|
|
|
// Support for the mozAudioChannel attribute on media elements is disabled in non-webapps
|
|
|
|
pref("media.useAudioChannelService", false);
|
2013-06-26 04:08:58 +04:00
|
|
|
|
2013-07-19 22:03:46 +04:00
|
|
|
// Enable hardware-accelerated Skia canvas
|
|
|
|
pref("gfx.canvas.azure.backends", "skia");
|
|
|
|
pref("gfx.canvas.azure.accelerated", true);
|
2013-07-27 18:18:25 +04:00
|
|
|
|
|
|
|
pref("general.useragent.override.youtube.com", "Android; Tablet;#Android; Mobile;");
|
2013-08-21 00:41:58 +04:00
|
|
|
|
|
|
|
// When true, phone number linkification is enabled.
|
|
|
|
pref("browser.ui.linkify.phone", false);
|
2013-09-13 02:46:35 +04:00
|
|
|
|
2013-10-12 21:59:50 +04:00
|
|
|
// Enables/disables Spatial Navigation
|
|
|
|
pref("snav.enabled", true);
|
2013-11-23 04:55:33 +04:00
|
|
|
|
|
|
|
// This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
|
|
|
|
// this page over http opens us up to a man-in-the-middle attack that we'd rather not face. If you are a downstream
|
|
|
|
// repackager of this code using an alternate snippet url, please keep your users safe
|
|
|
|
pref("browser.snippets.updateUrl", "https://snippets.mozilla.com/json/%SNIPPETS_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
|
|
|
|
|
|
|
// How frequently we check for new snippets, in seconds (1 day)
|
|
|
|
pref("browser.snippets.updateInterval", 86400);
|
|
|
|
|
|
|
|
// URL used to check for user's country code
|
|
|
|
pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json");
|
|
|
|
|
2013-12-03 04:54:21 +04:00
|
|
|
// URL used to ping metrics with stats about which snippets have been shown
|
|
|
|
pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile");
|
|
|
|
|
2014-01-18 04:08:44 +04:00
|
|
|
// These prefs require a restart to take effect.
|
2014-01-24 03:06:36 +04:00
|
|
|
pref("browser.snippets.enabled", true);
|
2014-02-22 21:41:31 +04:00
|
|
|
pref("browser.snippets.syncPromo.enabled", true);
|
2014-08-23 02:07:40 +04:00
|
|
|
pref("browser.snippets.firstrunHomepage.enabled", true);
|
2014-01-09 22:18:55 +04:00
|
|
|
|
|
|
|
// The URL of the APK factory from which we obtain APKs for webapps.
|
2014-03-12 20:08:30 +04:00
|
|
|
pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/application.apk");
|
2014-02-08 11:50:13 +04:00
|
|
|
|
|
|
|
// How frequently to check for webapp updates, in seconds (86400 is daily).
|
|
|
|
pref("browser.webapps.updateInterval", 86400);
|
|
|
|
|
2014-04-12 02:34:28 +04:00
|
|
|
// Whether or not to check for updates. Enabled by default, but the runtime
|
|
|
|
// disables it for webapp profiles on firstrun, so only the main Fennec process
|
|
|
|
// checks for updates (to avoid duplicate update notifications).
|
|
|
|
//
|
|
|
|
// In the future, we might want to make each webapp process check for updates
|
|
|
|
// for its own webapp, in which case we'll need to have a third state for this
|
|
|
|
// preference. Thus it's an integer rather than a boolean.
|
|
|
|
//
|
|
|
|
// Possible values:
|
|
|
|
// 0: don't check for updates
|
|
|
|
// 1: do check for updates
|
|
|
|
pref("browser.webapps.checkForUpdates", 1);
|
|
|
|
|
2014-02-08 11:50:13 +04:00
|
|
|
// The URL of the service that checks for updates.
|
|
|
|
// To test updates, set this to http://apk-update-checker.paas.allizom.org,
|
|
|
|
// which is a test server that always reports all apps as having updates.
|
2014-03-12 20:08:30 +04:00
|
|
|
pref("browser.webapps.updateCheckUrl", "https://controller.apk.firefox.com/app_updates");
|
2014-02-08 11:50:13 +04:00
|
|
|
|
2014-03-08 03:28:48 +04:00
|
|
|
// The mode of home provider syncing.
|
|
|
|
// 0: Sync always
|
|
|
|
// 1: Sync only when on wifi
|
|
|
|
pref("home.sync.updateMode", 0);
|
2014-02-07 06:08:07 +04:00
|
|
|
|
|
|
|
// How frequently to check if we should sync home provider data.
|
|
|
|
pref("home.sync.checkIntervalSecs", 3600);
|
2014-07-25 00:42:50 +04:00
|
|
|
|
|
|
|
// Enable device storage API
|
|
|
|
pref("device.storage.enabled", true);
|
2014-12-01 21:55:59 +03:00
|
|
|
|
|
|
|
// Enable meta-viewport support for font inflation code
|
|
|
|
pref("dom.meta-viewport.enabled", true);
|
2014-12-17 02:01:31 +03:00
|
|
|
|
2015-02-17 20:50:21 +03:00
|
|
|
// Enable GMP support in the addon manager.
|
|
|
|
pref("media.gmp-provider.enabled", true);
|
2015-01-26 12:19:47 +03:00
|
|
|
|
2015-02-06 01:38:55 +03:00
|
|
|
// The default color scheme in reader mode (light, dark, auto)
|
2015-01-26 12:19:47 +03:00
|
|
|
// auto = color automatically adjusts according to ambient light level
|
|
|
|
// (auto only works on platforms where the 'devicelight' event is enabled)
|
|
|
|
pref("reader.color_scheme", "auto");
|
2015-01-22 04:21:11 +03:00
|
|
|
|
|
|
|
// Color scheme values available in reader mode UI.
|
2015-02-28 03:52:03 +03:00
|
|
|
pref("reader.color_scheme.values", "[\"dark\",\"auto\",\"light\"]");
|
2015-01-22 04:21:11 +03:00
|
|
|
|
|
|
|
// Whether to use a vertical or horizontal toolbar.
|
|
|
|
pref("reader.toolbar.vertical", false);
|
2015-02-19 22:47:20 +03:00
|
|
|
|
|
|
|
// Whether or not to display buttons related to reading list in reader view.
|
|
|
|
pref("browser.readinglist.enabled", true);
|