2014-06-25 09:12:07 +04:00
|
|
|
# -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
|
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/.
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-06-10 04:07:47 +04:00
|
|
|
// XXX Toolkit-specific preferences should be moved into toolkit.js
|
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
#filter substitution
|
|
|
|
|
2012-03-15 02:49:17 +04:00
|
|
|
#
|
|
|
|
# SYNTAX HINTS:
|
|
|
|
#
|
|
|
|
# - Dashes are delimiters; use underscores instead.
|
|
|
|
# - The first character after a period must be alphabetic.
|
|
|
|
# - Computed values (e.g. 50 * 1024) don't work.
|
|
|
|
#
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
#define UNIX_BUT_NOT_MAC
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.chromeURL","chrome://browser/content/");
|
2003-08-11 10:54:55 +04:00
|
|
|
pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-04-23 05:39:51 +04:00
|
|
|
// Enables some extra Extension System Logging (can reduce performance)
|
|
|
|
pref("extensions.logging.enabled", false);
|
2004-04-25 14:37:18 +04:00
|
|
|
|
2011-11-17 08:27:26 +04:00
|
|
|
// Disables strict compatibility, making addons compatible-by-default.
|
|
|
|
pref("extensions.strictCompatibility", false);
|
2011-11-01 09:48:45 +04:00
|
|
|
|
2011-11-14 05:26:35 +04:00
|
|
|
// Specifies a minimum maxVersion an addon needs to say it's compatible with
|
|
|
|
// for it to be compatible by default.
|
|
|
|
pref("extensions.minCompatibleAppVersion", "4.0");
|
2014-01-30 16:00:47 +04:00
|
|
|
// Temporary preference to forcibly make themes more safe with Australis even if
|
|
|
|
// extensions.checkCompatibility=false has been set.
|
|
|
|
pref("extensions.checkCompatibility.temporaryThemeOverride_minAppVersion", "29.0a1");
|
2011-11-14 05:26:35 +04:00
|
|
|
|
2015-03-25 00:24:49 +03:00
|
|
|
pref("xpinstall.customConfirmationUI", true);
|
|
|
|
|
2010-08-28 06:45:11 +04:00
|
|
|
// Preferences for AMO integration
|
2010-08-24 05:04:06 +04:00
|
|
|
pref("extensions.getAddons.cache.enabled", true);
|
2010-07-20 03:01:23 +04:00
|
|
|
pref("extensions.getAddons.maxResults", 15);
|
2011-11-05 05:05:37 +04:00
|
|
|
pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%");
|
2012-02-01 05:22:42 +04:00
|
|
|
pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%");
|
2012-03-07 12:18:30 +04:00
|
|
|
pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
|
2011-12-12 06:02:13 +04:00
|
|
|
pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=firefox");
|
2011-12-28 14:37:43 +04:00
|
|
|
pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%");
|
2013-04-15 02:11:24 +04:00
|
|
|
pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=firefox");
|
2015-05-08 20:27:25 +03:00
|
|
|
pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/firefox/");
|
2008-01-28 20:11:48 +03:00
|
|
|
|
2006-03-09 00:54:27 +03:00
|
|
|
// Blocklist preferences
|
|
|
|
pref("extensions.blocklist.enabled", true);
|
2015-09-10 13:10:07 +03:00
|
|
|
// OneCRL freshness checking depends on this value, so if you change it,
|
|
|
|
// please also update security.onecrl.maximum_staleness_in_seconds.
|
2006-03-09 00:54:27 +03:00
|
|
|
pref("extensions.blocklist.interval", 86400);
|
2008-11-02 15:13:48 +03:00
|
|
|
// Controls what level the blocklist switches from warning about items to forcibly
|
|
|
|
// blocking them.
|
|
|
|
pref("extensions.blocklist.level", 2);
|
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%/");
|
2013-05-30 22:46:34 +04:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.org/%LOCALE%/blocklist/");
|
2014-08-21 04:22:25 +04:00
|
|
|
pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
|
2006-03-09 00:54:27 +03:00
|
|
|
|
2010-09-14 10:56:54 +04:00
|
|
|
pref("extensions.update.autoUpdateDefault", true);
|
|
|
|
|
2011-12-17 00:04:50 +04:00
|
|
|
pref("extensions.hotfix.id", "firefox-hotfix@mozilla.org");
|
2011-12-17 00:04:28 +04:00
|
|
|
pref("extensions.hotfix.cert.checkAttributes", true);
|
2013-09-19 21:31:33 +04:00
|
|
|
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");
|
2015-05-05 03:14:22 +03:00
|
|
|
pref("extensions.hotfix.certs.2.sha1Fingerprint", "39:E7:2B:7A:5B:CF:37:78:F9:5D:4A:E0:53:2D:2F:3D:68:53:C5:60");
|
2011-12-17 00:04:50 +04:00
|
|
|
|
2012-05-22 02:58:02 +04:00
|
|
|
// Disable add-ons that are not installed by the user in all scopes by default.
|
|
|
|
// See the SCOPE constants in AddonManager.jsm for values to use here.
|
2011-10-22 22:37:15 +04:00
|
|
|
pref("extensions.autoDisableScopes", 15);
|
2011-08-13 00:50:47 +04:00
|
|
|
|
2015-06-01 19:14:29 +03:00
|
|
|
// Require signed add-ons by default
|
|
|
|
pref("xpinstall.signatures.required", true);
|
2015-05-08 20:27:25 +03:00
|
|
|
pref("xpinstall.signatures.devInfoURL", "https://wiki.mozilla.org/Addons/Extension_Signing");
|
2015-03-31 21:32:40 +03:00
|
|
|
|
2006-07-26 22:09:33 +04:00
|
|
|
// Dictionary download preference
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
|
2006-07-26 22:09:33 +04:00
|
|
|
|
2013-07-31 07:19:58 +04:00
|
|
|
// At startup, should we check to see if the installation
|
|
|
|
// date is older than some threshold
|
|
|
|
pref("app.update.checkInstallTime", true);
|
|
|
|
|
|
|
|
// The number of days a binary is permitted to be old without checking is defined in
|
|
|
|
// firefox-branding.js (app.update.checkInstallTime.days)
|
|
|
|
|
2011-04-27 01:36:30 +04:00
|
|
|
// The minimum delay in seconds for the timer to fire.
|
|
|
|
// default=2 minutes
|
|
|
|
pref("app.update.timerMinimumDelay", 120);
|
2009-09-18 22:03:27 +04:00
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// App-specific update preferences
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2009-09-18 22:03:27 +04:00
|
|
|
// The interval to check for updates (app.update.interval) is defined in
|
|
|
|
// firefox-branding.js
|
|
|
|
|
2010-09-24 08:02:08 +04:00
|
|
|
// Alternative windowtype for an application update user interface window. When
|
|
|
|
// a window with this windowtype is open the application update service won't
|
|
|
|
// open the normal application update user interface window.
|
|
|
|
pref("app.update.altwindowtype", "Browser:About");
|
|
|
|
|
2010-08-02 06:02:21 +04:00
|
|
|
// Enables some extra Application Update Logging (can reduce performance)
|
|
|
|
pref("app.update.log", false);
|
|
|
|
|
2010-09-15 05:49:10 +04:00
|
|
|
// The number of general background check failures to allow before notifying the
|
|
|
|
// user of the failure. User initiated update checks always notify the user of
|
|
|
|
// the failure.
|
|
|
|
pref("app.update.backgroundMaxErrors", 10);
|
|
|
|
|
2013-10-20 09:36:40 +04:00
|
|
|
// The aus update xml certificate checks for application update are disabled on
|
2015-07-29 22:39:56 +03:00
|
|
|
// Windows, Mac OS X, and Linux since the mar signature check are implemented on
|
|
|
|
// these platforms and is sufficient to prevent us from applying a mar that is
|
|
|
|
// not valid. Bug 1182352 will remove the update xml certificate checks and the
|
|
|
|
// following two preferences.
|
2013-10-20 09:36:40 +04:00
|
|
|
pref("app.update.cert.requireBuiltIn", false);
|
|
|
|
pref("app.update.cert.checkAttributes", false);
|
2010-08-02 06:02:21 +04:00
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// Whether or not app updates are enabled
|
2005-08-04 00:34:17 +04:00
|
|
|
pref("app.update.enabled", true);
|
2005-06-28 22:56:40 +04:00
|
|
|
|
2005-06-29 05:34:36 +04:00
|
|
|
// This preference turns on app.update.mode and allows automatic download and
|
|
|
|
// install to take place. We use a separate boolean toggle for this to make
|
|
|
|
// the UI easier to construct.
|
|
|
|
pref("app.update.auto", true);
|
|
|
|
|
2010-08-02 06:02:21 +04:00
|
|
|
// See chart in nsUpdateService.js source for more details
|
2013-07-02 03:12:12 +04:00
|
|
|
pref("app.update.mode", 1);
|
2013-06-12 18:31:09 +04:00
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// If set to true, the Update Service will present no UI for any event.
|
|
|
|
pref("app.update.silent", false);
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2014-11-02 04:09:00 +03:00
|
|
|
// If set to true, the hamburger button will show badges for update events.
|
2014-11-18 22:39:47 +03:00
|
|
|
#ifndef RELEASE_BUILD
|
2014-11-08 01:20:18 +03:00
|
|
|
pref("app.update.badge", true);
|
|
|
|
#else
|
2014-11-02 04:09:00 +03:00
|
|
|
pref("app.update.badge", false);
|
2014-11-08 01:20:18 +03:00
|
|
|
#endif
|
2015-06-03 18:42:46 +03:00
|
|
|
// app.update.badgeWaitTime is in branding section
|
2014-11-02 04:09:00 +03:00
|
|
|
|
2012-05-22 18:50:04 +04:00
|
|
|
// If set to true, the Update Service will apply updates in the background
|
|
|
|
// when it finishes downloading them.
|
2012-09-12 06:13:14 +04:00
|
|
|
pref("app.update.staging.enabled", true);
|
2012-05-22 18:50:04 +04:00
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// Update service URL:
|
2015-08-21 00:50:51 +03:00
|
|
|
pref("app.update.url", "https://aus5.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
2006-08-19 06:00:52 +04:00
|
|
|
// app.update.url.manual is in branding section
|
|
|
|
// app.update.url.details is in branding section
|
2005-10-03 20:34:49 +04:00
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// User-settable override to app.update.url for testing purposes.
|
|
|
|
//pref("app.update.url.override", "");
|
2005-06-22 04:59:50 +04:00
|
|
|
|
2008-11-05 08:50:52 +03:00
|
|
|
// app.update.interval is in branding section
|
2011-10-08 19:19:32 +04:00
|
|
|
// app.update.promptWaitTime is in branding section
|
2008-11-05 08:50:52 +03:00
|
|
|
|
2008-01-09 10:37:06 +03:00
|
|
|
// Show the Update Checking/Ready UI when the user was idle for x seconds
|
2007-11-20 13:08:55 +03:00
|
|
|
pref("app.update.idletime", 60);
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2005-06-30 05:35:45 +04:00
|
|
|
// Whether or not we show a dialog box informing the user that the update was
|
2015-05-24 02:17:50 +03:00
|
|
|
// successfully applied. This is off in Firefox by default since we show a
|
2005-06-30 05:35:45 +04:00
|
|
|
// upgrade start page instead! Other apps may wish to show this UI, and supply
|
|
|
|
// a whatsNewURL field in their brand.properties that contains a link to a page
|
|
|
|
// which tells users what's new in this new update.
|
|
|
|
pref("app.update.showInstalledUI", false);
|
|
|
|
|
2005-08-04 00:32:51 +04:00
|
|
|
// 0 = suppress prompting for incompatibilities if there are updates available
|
|
|
|
// to newer versions of installed addons that resolve them.
|
|
|
|
// 1 = suppress prompting for incompatibilities only if there are VersionInfo
|
|
|
|
// updates available to installed addons that resolve them, not newer
|
|
|
|
// versions.
|
|
|
|
pref("app.update.incompatible.mode", 0);
|
|
|
|
|
2012-01-05 08:19:14 +04:00
|
|
|
// Whether or not to attempt using the service for updates.
|
|
|
|
#ifdef MOZ_MAINTENANCE_SERVICE
|
|
|
|
pref("app.update.service.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// Symmetric (can be overridden by individual extensions) update preferences.
|
|
|
|
// e.g.
|
|
|
|
// extensions.{GUID}.update.enabled
|
|
|
|
// extensions.{GUID}.update.url
|
|
|
|
// .. etc ..
|
|
|
|
//
|
|
|
|
pref("extensions.update.enabled", true);
|
2011-12-02 06:28:16 +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%");
|
2015-05-24 02:17:50 +03:00
|
|
|
pref("extensions.update.interval", 86400); // Check for updates to Extensions and
|
2006-06-20 06:58:31 +04:00
|
|
|
// Themes every day
|
2004-11-30 11:23:02 +03:00
|
|
|
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
|
2015-05-24 02:17:50 +03:00
|
|
|
pref("extensions.dss.enabled", false); // Dynamic Skin Switching
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next
|
|
|
|
// restart.
|
|
|
|
|
2009-08-17 18:32:22 +04:00
|
|
|
pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://browser/locale/browser.properties");
|
|
|
|
pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.description", "chrome://browser/locale/browser.properties");
|
|
|
|
|
2009-11-17 10:55:47 +03:00
|
|
|
pref("lightweightThemes.update.enabled", true);
|
2014-08-21 23:57:41 +04:00
|
|
|
pref("lightweightThemes.getMoreURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes");
|
2015-04-01 17:16:07 +03:00
|
|
|
pref("lightweightThemes.recommendedThemes", "[{\"id\":\"recommended-1\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/a-web-browser-renaissance/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.header.jpg\",\"footerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.footer.jpg\",\"textcolor\":\"#000000\",\"accentcolor\":\"#f2d9b1\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.icon.jpg\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.preview.jpg\",\"author\":\"Sean.Martell\",\"version\":\"0\"},{\"id\":\"recommended-2\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/space-fantasy/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.header.jpg\",\"footerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.footer.jpg\",\"textcolor\":\"#ffffff\",\"accentcolor\":\"#d9d9d9\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.icon.jpg\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.preview.jpg\",\"author\":\"fx5800p\",\"version\":\"1.0\"},{\"id\":\"recommended-3\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/linen-light/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/3.header.png\",\"footerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/3.footer.png\",\"accentcolor\":\"#ada8a8\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/3.icon.png\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/3.preview.png\",\"author\":\"DVemer\",\"version\":\"1.0\"},{\"id\":\"recommended-4\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/pastel-gradient/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.header.png\",\"footerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.footer.png\",\"textcolor\":\"#000000\",\"accentcolor\":\"#000000\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.icon.png\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.preview.png\",\"author\":\"darrinhenein\",\"version\":\"1.0\"},{\"id\":\"recommended-5\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/carbon-light/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/5.header.png\",\"footerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/5.footer.png\",\"textcolor\":\"#3b3b3b\",\"accentcolor\":\"#2e2e2e\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/5.icon.jpg\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/5.preview.jpg\",\"author\":\"Jaxivo\",\"version\":\"1.0\"}]");
|
2004-04-21 08:35:27 +04:00
|
|
|
|
2015-01-29 18:20:49 +03:00
|
|
|
pref("browser.eme.ui.enabled", false);
|
|
|
|
|
2013-05-30 01:50:59 +04:00
|
|
|
// UI tour experience.
|
|
|
|
pref("browser.uitour.enabled", true);
|
2014-11-13 21:22:53 +03:00
|
|
|
pref("browser.uitour.loglevel", "Error");
|
2013-11-05 06:23:25 +04:00
|
|
|
pref("browser.uitour.requireSecure", true);
|
2013-05-30 01:50:59 +04:00
|
|
|
pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/");
|
2014-03-06 05:41:43 +04:00
|
|
|
pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
|
2015-04-16 06:45:50 +03:00
|
|
|
// This is used as a regexp match against the page's URL.
|
2015-04-20 21:43:34 +03:00
|
|
|
pref("browser.uitour.readerViewTrigger", "^https:\\/\\/www\\.mozilla\\.org\\/[^\\/]+\\/firefox\\/reading\\/start");
|
2013-05-30 01:50:59 +04:00
|
|
|
|
2014-03-06 03:09:12 +04:00
|
|
|
pref("browser.customizemode.tip0.shown", false);
|
|
|
|
pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize");
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("keyword.enabled", true);
|
2014-04-25 02:42:00 +04:00
|
|
|
pref("browser.fixup.domainwhitelist.localhost", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
2004-09-22 00:19:48 +04:00
|
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2012-01-14 04:26:34 +04:00
|
|
|
pref("general.smoothScroll", true);
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2004-01-14 02:08:01 +03:00
|
|
|
pref("general.autoScroll", false);
|
|
|
|
#else
|
2003-08-08 12:01:24 +04:00
|
|
|
pref("general.autoScroll", true);
|
2003-12-18 11:12:58 +03:00
|
|
|
#endif
|
2003-04-22 07:08:23 +04:00
|
|
|
|
2012-01-23 09:07:52 +04:00
|
|
|
// At startup, check if we're the default browser and prompt user if not.
|
2004-03-08 12:56:16 +03:00
|
|
|
pref("browser.shell.checkDefaultBrowser", true);
|
2013-05-29 19:00:18 +04:00
|
|
|
pref("browser.shell.shortcutFavicons",true);
|
2015-06-09 21:06:39 +03:00
|
|
|
pref("browser.shell.mostRecentDateSetAsDefault", "");
|
2015-08-28 23:30:00 +03:00
|
|
|
pref("browser.shell.skipDefaultBrowserCheck", true);
|
|
|
|
pref("browser.shell.defaultBrowserCheckCount", 0);
|
2004-03-08 12:56:16 +03:00
|
|
|
|
2006-08-19 04:23:40 +04:00
|
|
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
|
|
|
|
// The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.startup.page", 1);
|
2010-05-24 13:38:31 +04:00
|
|
|
pref("browser.startup.homepage", "chrome://branding/locale/browserconfig.properties");
|
2004-11-30 11:23:02 +03:00
|
|
|
|
2013-02-02 01:47:07 +04:00
|
|
|
pref("browser.slowStartup.notificationDisabled", false);
|
2014-06-13 15:58:23 +04:00
|
|
|
pref("browser.slowStartup.timeThreshold", 40000);
|
2013-02-02 01:47:07 +04:00
|
|
|
pref("browser.slowStartup.maxSamples", 5);
|
|
|
|
|
2011-02-04 19:38:41 +03: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
|
2014-09-09 04:10:00 +04:00
|
|
|
pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.cdn.mozilla.net/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
2010-11-08 17:03:42 +03:00
|
|
|
|
2003-03-13 11:11:20 +03:00
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
2015-03-13 16:36:21 +03:00
|
|
|
pref("browser.casting.enabled", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
2011-02-08 04:50:37 +03:00
|
|
|
// browser.warnOnQuit == false will override all other possible prompts when quitting or restarting
|
|
|
|
pref("browser.warnOnQuit", true);
|
|
|
|
// browser.showQuitWarning specifically controls the quit warning dialog. We
|
|
|
|
// might still show the window closing dialog with showQuitWarning == false.
|
|
|
|
pref("browser.showQuitWarning", false);
|
2008-03-08 14:30:39 +03:00
|
|
|
pref("browser.fullscreen.autohide", true);
|
2015-06-20 13:35:10 +03:00
|
|
|
pref("browser.fullscreen.animate", true);
|
2011-09-27 11:51:56 +04:00
|
|
|
pref("browser.overlink-delay", 80);
|
2003-02-01 12:13:51 +03:00
|
|
|
|
2007-12-20 01:43:12 +03:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2007-08-04 12:35:28 +04:00
|
|
|
pref("browser.urlbar.clickSelectsAll", false);
|
|
|
|
#else
|
|
|
|
pref("browser.urlbar.clickSelectsAll", true);
|
|
|
|
#endif
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("browser.urlbar.doubleClickSelectsAll", true);
|
|
|
|
#else
|
|
|
|
pref("browser.urlbar.doubleClickSelectsAll", false);
|
|
|
|
#endif
|
2014-07-24 19:45:48 +04:00
|
|
|
|
|
|
|
// Control autoFill behavior
|
2012-03-13 14:30:34 +04:00
|
|
|
pref("browser.urlbar.autoFill", true);
|
2012-02-17 17:24:58 +04:00
|
|
|
pref("browser.urlbar.autoFill.typed", true);
|
2014-07-24 19:45:48 +04:00
|
|
|
|
2015-05-28 22:27:43 +03:00
|
|
|
pref("browser.urlbar.unifiedcomplete", true);
|
2014-07-24 19:45:48 +04:00
|
|
|
|
2008-04-24 08:20:05 +04:00
|
|
|
// 0: Match anywhere (e.g., middle of words)
|
|
|
|
// 1: Match on word boundaries and then try matching anywhere
|
|
|
|
// 2: Match only on word boundaries (e.g., after / or .)
|
2008-08-24 19:45:33 +04:00
|
|
|
// 3: Match at the beginning of the url or title
|
2008-04-24 08:20:05 +04:00
|
|
|
pref("browser.urlbar.matchBehavior", 1);
|
2008-02-24 03:54:19 +03:00
|
|
|
pref("browser.urlbar.filter.javascript", true);
|
2007-08-04 12:35:28 +04:00
|
|
|
|
2007-11-30 07:57:57 +03:00
|
|
|
// the maximum number of results to show in autocomplete when doing richResults
|
2008-03-22 09:58:41 +03:00
|
|
|
pref("browser.urlbar.maxRichResults", 12);
|
2009-06-16 22:56:36 +04:00
|
|
|
// The amount of time (ms) to wait after the user has stopped typing
|
|
|
|
// before starting to perform autocomplete. 50 is the default set in
|
|
|
|
// autocomplete.xml.
|
2012-01-31 14:29:20 +04:00
|
|
|
pref("browser.urlbar.delay", 50);
|
2007-11-30 07:57:57 +03:00
|
|
|
|
2008-07-19 12:51:34 +04:00
|
|
|
// The special characters below can be typed into the urlbar to either restrict
|
|
|
|
// the search to visited history, bookmarked, tagged pages; or force a match on
|
|
|
|
// just the title text or url.
|
|
|
|
pref("browser.urlbar.restrict.history", "^");
|
|
|
|
pref("browser.urlbar.restrict.bookmark", "*");
|
|
|
|
pref("browser.urlbar.restrict.tag", "+");
|
2010-03-27 00:59:02 +03:00
|
|
|
pref("browser.urlbar.restrict.openpage", "%");
|
2009-01-08 02:47:56 +03:00
|
|
|
pref("browser.urlbar.restrict.typed", "~");
|
2015-06-26 04:07:56 +03:00
|
|
|
pref("browser.urlbar.restrict.searches", "$");
|
2008-07-19 12:51:34 +04:00
|
|
|
pref("browser.urlbar.match.title", "#");
|
|
|
|
pref("browser.urlbar.match.url", "@");
|
|
|
|
|
2008-12-10 19:58:43 +03:00
|
|
|
// The default behavior for the urlbar can be configured to use any combination
|
2014-11-12 16:16:00 +03:00
|
|
|
// of the match filters with each additional filter adding more results (union).
|
|
|
|
pref("browser.urlbar.suggest.history", true);
|
|
|
|
pref("browser.urlbar.suggest.bookmark", true);
|
|
|
|
pref("browser.urlbar.suggest.openpage", true);
|
2015-08-07 06:13:00 +03:00
|
|
|
pref("browser.urlbar.suggest.searches", false);
|
|
|
|
pref("browser.urlbar.userMadeSearchSuggestionsChoice", false);
|
2014-11-12 16:16:00 +03:00
|
|
|
|
2015-07-28 11:21:40 +03:00
|
|
|
// Limit the number of characters sent to the current search engine to fetch
|
|
|
|
// suggestions.
|
|
|
|
pref("browser.urlbar.maxCharsForSearchSuggestions", 20);
|
|
|
|
|
2014-11-12 16:16:00 +03:00
|
|
|
// Restrictions to current suggestions can also be applied (intersection).
|
|
|
|
// Typed suggestion works only if history is set to true.
|
|
|
|
pref("browser.urlbar.suggest.history.onlyTyped", false);
|
2008-12-10 19:58:43 +03:00
|
|
|
|
2011-05-02 21:50:18 +04:00
|
|
|
pref("browser.urlbar.formatting.enabled", true);
|
2011-06-23 12:13:41 +04:00
|
|
|
pref("browser.urlbar.trimURLs", true);
|
2011-05-02 21:50:18 +04:00
|
|
|
|
2012-03-02 02:08:03 +04:00
|
|
|
pref("browser.altClickSave", false);
|
|
|
|
|
2015-06-12 20:56:50 +03:00
|
|
|
// Enable logging downloads operations to the Console.
|
|
|
|
pref("browser.download.loglevel", "Error");
|
2013-02-16 05:34:18 +04:00
|
|
|
|
2008-04-03 07:02:08 +04:00
|
|
|
// Number of milliseconds to wait for the http headers (and thus
|
2015-05-24 02:17:50 +03:00
|
|
|
// the Content-Disposition filename) before giving up and falling back to
|
2008-04-03 07:02:08 +04:00
|
|
|
// picking a filename without that info in hand so that the user sees some
|
|
|
|
// feedback from their action.
|
2011-09-14 02:14:01 +04:00
|
|
|
pref("browser.download.saveLinkAsFilenameTimeout", 4000);
|
2008-04-03 07:02:08 +04:00
|
|
|
|
2003-10-24 11:41:43 +04:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
2009-01-29 03:00:14 +03:00
|
|
|
pref("browser.download.folderList", 1);
|
2007-10-03 20:00:48 +04:00
|
|
|
pref("browser.download.manager.addToRecentDocs", true);
|
2008-03-20 04:16:02 +03:00
|
|
|
pref("browser.download.manager.resumeOnWakeDelay", 10000);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2013-07-27 17:25:00 +04:00
|
|
|
// This allows disabling the animated notifications shown by
|
|
|
|
// the Downloads Indicator when a download starts or completes.
|
|
|
|
pref("browser.download.animateNotifications", true);
|
|
|
|
|
2012-10-26 21:17:18 +04:00
|
|
|
// This records whether or not the panel has been shown at least once.
|
|
|
|
pref("browser.download.panel.shown", false);
|
|
|
|
|
2013-09-12 16:03:00 +04:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
pref("browser.helperApps.deleteTempFileOnExit", true);
|
|
|
|
#endif
|
|
|
|
|
2006-08-19 10:15:03 +04:00
|
|
|
// search engines URL
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
|
2006-08-19 10:15:03 +04:00
|
|
|
|
2003-10-22 12:45:54 +04:00
|
|
|
// pointer to the default engine name
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
2006-03-17 10:16:00 +03:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// Ordering of Search Engines in the Engine list.
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.search.order.1", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.search.order.2", "chrome://browser-region/locale/region.properties");
|
2010-10-23 19:49:26 +04:00
|
|
|
pref("browser.search.order.3", "chrome://browser-region/locale/region.properties");
|
2004-08-29 12:17:38 +04:00
|
|
|
|
2015-07-10 22:06:24 +03:00
|
|
|
// Market-specific search defaults
|
|
|
|
// This is disabled globally, and then enabled for individual locales
|
|
|
|
// in firefox-l10n.js (eg. it's enabled for en-US).
|
|
|
|
pref("browser.search.geoSpecificDefaults", false);
|
2015-07-15 22:17:35 +03:00
|
|
|
pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla.com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%");
|
2015-07-10 22:06:24 +03:00
|
|
|
|
|
|
|
// US specific default (used as a fallback if the geoSpecificDefaults request fails).
|
2014-11-28 22:40:57 +03:00
|
|
|
pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=Yahoo");
|
|
|
|
pref("browser.search.order.US.1", "data:text/plain,browser.search.order.US.1=Yahoo");
|
|
|
|
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=Bing");
|
2014-11-24 07:38:22 +03:00
|
|
|
|
2005-09-17 23:51:21 +04:00
|
|
|
// search bar results always open in a new tab
|
|
|
|
pref("browser.search.openintab", false);
|
|
|
|
|
2012-02-15 05:50:40 +04:00
|
|
|
// context menu searches open in the foreground
|
|
|
|
pref("browser.search.context.loadInBackground", false);
|
|
|
|
|
2015-02-03 03:50:52 +03:00
|
|
|
// comma seperated list of of engines to hide in the search panel.
|
|
|
|
pref("browser.search.hiddenOneOffs", "");
|
|
|
|
|
2015-07-07 04:11:05 +03:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("browser.search.redirectWindowsSearch", true);
|
|
|
|
#else
|
|
|
|
pref("browser.search.redirectWindowsSearch", false);
|
|
|
|
#endif
|
|
|
|
|
2015-07-22 05:47:32 +03:00
|
|
|
pref("browser.usedOnWindows10", false);
|
|
|
|
pref("browser.usedOnWindows10.introURL", "https://www.mozilla.org/%LOCALE%/firefox/windows-10/welcome/?utm_source=firefox-browser&utm_medium=firefox-browser");
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2015-02-14 00:32:41 +03:00
|
|
|
// Built-in default permissions.
|
|
|
|
pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
|
|
|
|
|
2005-03-22 03:38:35 +03:00
|
|
|
// handle links targeting new windows
|
2011-10-08 12:36:11 +04:00
|
|
|
// 1=current window/tab, 2=new window, 3=new tab in most recent window
|
2006-03-03 23:19:49 +03:00
|
|
|
pref("browser.link.open_newwindow", 3);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2011-10-08 12:36:11 +04:00
|
|
|
// handle external links (i.e. links opened from a different application)
|
|
|
|
// default: use browser.link.open_newwindow
|
|
|
|
// 1-3: see browser.link.open_newwindow for interpretation
|
|
|
|
pref("browser.link.open_newwindow.override.external", -1);
|
|
|
|
|
2005-03-22 03:38:35 +03:00
|
|
|
// 0: no restrictions - divert everything
|
|
|
|
// 1: don't divert window.open at all
|
|
|
|
// 2: don't divert window.open with features
|
2005-10-22 03:33:53 +04:00
|
|
|
pref("browser.link.open_newwindow.restriction", 2);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2013-06-06 21:35:27 +04:00
|
|
|
// If true, this pref causes windows opened by window.open to be forced into new
|
|
|
|
// tabs (rather than potentially opening separate windows, depending on
|
|
|
|
// window.open arguments) when the browser is in fullscreen mode.
|
|
|
|
// We set this differently on Mac because the fullscreen implementation there is
|
|
|
|
// different.
|
2013-02-18 15:27:48 +04:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
|
|
|
|
#else
|
|
|
|
pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
|
|
|
|
#endif
|
|
|
|
|
2007-12-29 06:13:06 +03:00
|
|
|
// Tabbed browser
|
2008-09-22 17:56:51 +04:00
|
|
|
pref("browser.tabs.closeWindowWithLastTab", true);
|
2009-09-04 18:37:17 +04:00
|
|
|
pref("browser.tabs.insertRelatedAfterCurrent", true);
|
2007-12-29 06:13:06 +03:00
|
|
|
pref("browser.tabs.warnOnClose", true);
|
2012-10-05 22:50:30 +04:00
|
|
|
pref("browser.tabs.warnOnCloseOtherTabs", true);
|
2007-12-29 06:13:06 +03:00
|
|
|
pref("browser.tabs.warnOnOpen", true);
|
|
|
|
pref("browser.tabs.maxOpenBeforeWarn", 15);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.tabs.loadInBackground", true);
|
|
|
|
pref("browser.tabs.opentabfor.middleclick", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.tabs.loadDivertedInBackground", false);
|
2004-05-28 21:18:13 +04:00
|
|
|
pref("browser.tabs.loadBookmarksInBackground", false);
|
2006-07-11 00:14:56 +04:00
|
|
|
pref("browser.tabs.tabClipWidth", 140);
|
2010-08-07 00:15:18 +04:00
|
|
|
pref("browser.tabs.animate", true);
|
2013-05-02 22:15:29 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2013-02-08 20:42:06 +04:00
|
|
|
pref("browser.tabs.drawInTitlebar", false);
|
2013-05-02 22:15:29 +04:00
|
|
|
#else
|
|
|
|
pref("browser.tabs.drawInTitlebar", true);
|
2013-02-08 20:42:06 +04:00
|
|
|
#endif
|
2006-09-13 02:41:31 +04:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// When tabs opened by links in other tabs via a combination of
|
2006-01-21 02:04:26 +03:00
|
|
|
// browser.link.open_newwindow being set to 3 and target="_blank" etc are
|
|
|
|
// closed:
|
|
|
|
// true return to the tab that opened this tab (its owner)
|
|
|
|
// false return to the adjacent tab (old default)
|
|
|
|
pref("browser.tabs.selectOwnerOnClose", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2015-07-04 23:24:50 +03:00
|
|
|
pref("browser.tabs.showAudioPlayingIcon", true);
|
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
pref("browser.ctrlTab.previews", false);
|
2008-07-15 20:11:00 +04:00
|
|
|
|
2008-03-13 22:25:49 +03:00
|
|
|
// By default, do not export HTML at shutdown.
|
|
|
|
// If true, at shutdown the bookmarks in your menu and toolbar will
|
|
|
|
// be exported as HTML to the bookmarks.html file.
|
|
|
|
pref("browser.bookmarks.autoExportHTML", false);
|
2007-11-09 23:11:12 +03:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// The maximum number of daily bookmark backups to
|
2008-04-04 00:51:54 +04:00
|
|
|
// keep in {PROFILEDIR}/bookmarkbackups. Special values:
|
|
|
|
// -1: unlimited
|
|
|
|
// 0: no backups created (and deletes all existing backups)
|
2014-02-04 17:43:20 +04:00
|
|
|
pref("browser.bookmarks.max_backups", 15);
|
2008-04-04 00:51:54 +04:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// Scripts & Windows prefs
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("dom.disable_open_during_load", true);
|
2010-09-10 01:59:24 +04:00
|
|
|
pref("javascript.options.showInConsole", true);
|
2010-09-10 02:00:53 +04:00
|
|
|
#ifdef DEBUG
|
2007-06-06 04:05:11 +04:00
|
|
|
pref("general.warnOnAboutConfig", false);
|
2006-08-18 23:50:16 +04:00
|
|
|
#endif
|
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// This is the pref to control the location bar, change this to true to
|
2010-09-16 10:09:27 +04:00
|
|
|
// force this - this makes the origin of popup windows more obvious to avoid
|
|
|
|
// spoofing. We would rather not do it by default because it affects UE for web
|
|
|
|
// applications, but without it there isn't a really good way to prevent chrome
|
|
|
|
// spoofing, see bug 337344
|
2007-08-23 22:49:02 +04:00
|
|
|
pref("dom.disable_window_open_feature.location", true);
|
2011-01-30 12:25:16 +03:00
|
|
|
// prevent JS from setting status messages
|
|
|
|
pref("dom.disable_window_status_change", true);
|
2008-03-19 23:15:12 +03:00
|
|
|
// allow JS to move and resize existing windows
|
|
|
|
pref("dom.disable_window_move_resize", false);
|
2005-08-10 09:50:54 +04:00
|
|
|
// prevent JS from monkeying with window focus, etc
|
|
|
|
pref("dom.disable_window_flip", true);
|
2006-03-03 23:34:56 +03:00
|
|
|
|
2015-08-21 20:35:02 +03:00
|
|
|
// Disable touch events on Desktop Firefox by default until they are properly
|
|
|
|
// supported (bug 736048)
|
2013-07-26 02:48:32 +04:00
|
|
|
pref("dom.w3c_touch_events.enabled", 0);
|
|
|
|
|
2002-10-08 04:11:15 +04:00
|
|
|
// popups.policy 1=allow,2=reject
|
2002-10-08 05:44:42 +04:00
|
|
|
pref("privacy.popups.policy", 1);
|
2002-10-09 03:24:03 +04:00
|
|
|
pref("privacy.popups.usecustom", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("privacy.popups.showBrowserMessage", true);
|
2009-05-21 13:51:56 +04:00
|
|
|
|
|
|
|
pref("privacy.item.cookies", false);
|
|
|
|
|
|
|
|
pref("privacy.clearOnShutdown.history", true);
|
|
|
|
pref("privacy.clearOnShutdown.formdata", true);
|
|
|
|
pref("privacy.clearOnShutdown.downloads", true);
|
|
|
|
pref("privacy.clearOnShutdown.cookies", true);
|
|
|
|
pref("privacy.clearOnShutdown.cache", true);
|
|
|
|
pref("privacy.clearOnShutdown.sessions", true);
|
|
|
|
pref("privacy.clearOnShutdown.offlineApps", false);
|
|
|
|
pref("privacy.clearOnShutdown.siteSettings", false);
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.clearOnShutdown.openWindows", false);
|
2009-05-21 13:51:56 +04:00
|
|
|
|
|
|
|
pref("privacy.cpd.history", true);
|
|
|
|
pref("privacy.cpd.formdata", true);
|
|
|
|
pref("privacy.cpd.passwords", false);
|
|
|
|
pref("privacy.cpd.downloads", true);
|
|
|
|
pref("privacy.cpd.cookies", true);
|
|
|
|
pref("privacy.cpd.cache", true);
|
|
|
|
pref("privacy.cpd.sessions", true);
|
|
|
|
pref("privacy.cpd.offlineApps", false);
|
|
|
|
pref("privacy.cpd.siteSettings", false);
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.cpd.openWindows", false);
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2008-11-06 06:57:00 +03:00
|
|
|
// What default should we use for the time span in the sanitizer:
|
|
|
|
// 0 - Clear everything
|
|
|
|
// 1 - Last Hour
|
|
|
|
// 2 - Last 2 Hours
|
|
|
|
// 3 - Last 4 Hours
|
|
|
|
// 4 - Today
|
2014-09-24 20:22:05 +04:00
|
|
|
// 5 - Last 5 minutes
|
|
|
|
// 6 - Last 24 hours
|
2008-11-21 00:57:47 +03:00
|
|
|
pref("privacy.sanitize.timeSpan", 1);
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("privacy.sanitize.sanitizeOnShutdown", false);
|
|
|
|
|
2009-05-21 13:51:56 +04:00
|
|
|
pref("privacy.sanitize.migrateFx3Prefs", false);
|
|
|
|
|
2015-07-17 20:18:00 +03:00
|
|
|
pref("privacy.sanitize.migrateClearSavedPwdsOnExit", false);
|
|
|
|
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.panicButton.enabled", true);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
2002-10-08 04:11:15 +04:00
|
|
|
|
2008-11-28 02:07:02 +03:00
|
|
|
// simple gestures support
|
2008-11-01 18:47:07 +03:00
|
|
|
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
|
|
|
|
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
|
2011-01-08 03:35:40 +03:00
|
|
|
pref("browser.gesture.swipe.up", "cmd_scrollTop");
|
|
|
|
pref("browser.gesture.swipe.down", "cmd_scrollBottom");
|
2009-04-02 23:34:31 +04:00
|
|
|
#ifdef XP_MACOSX
|
2008-11-28 02:07:02 +03:00
|
|
|
pref("browser.gesture.pinch.latched", true);
|
|
|
|
pref("browser.gesture.pinch.threshold", 150);
|
2009-04-02 23:34:31 +04:00
|
|
|
#else
|
|
|
|
pref("browser.gesture.pinch.latched", false);
|
|
|
|
pref("browser.gesture.pinch.threshold", 25);
|
|
|
|
#endif
|
2012-05-30 17:23:07 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
// Enabled for touch input display zoom.
|
|
|
|
pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
|
|
|
|
pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
|
|
|
|
pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
|
|
|
|
pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
|
|
|
|
#else
|
|
|
|
// Disabled by default due to issues with track pad input.
|
2011-01-08 03:35:40 +03:00
|
|
|
pref("browser.gesture.pinch.out", "");
|
|
|
|
pref("browser.gesture.pinch.in", "");
|
|
|
|
pref("browser.gesture.pinch.out.shift", "");
|
|
|
|
pref("browser.gesture.pinch.in.shift", "");
|
2012-05-30 17:23:07 +04:00
|
|
|
#endif
|
2008-11-28 02:07:02 +03:00
|
|
|
pref("browser.gesture.twist.latched", false);
|
2013-02-01 01:52:31 +04:00
|
|
|
pref("browser.gesture.twist.threshold", 0);
|
|
|
|
pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
|
|
|
|
pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
|
|
|
|
pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
|
2009-04-02 23:34:31 +04:00
|
|
|
pref("browser.gesture.tap", "cmd_fullZoomReset");
|
2008-11-01 18:47:07 +03:00
|
|
|
|
2013-10-25 05:57:54 +04:00
|
|
|
pref("browser.snapshots.limit", 0);
|
2013-04-09 23:44:01 +04:00
|
|
|
|
2012-08-12 05:42:35 +04:00
|
|
|
// 0: Nothing happens
|
|
|
|
// 1: Scrolling contents
|
|
|
|
// 2: Go back or go forward, in your history
|
|
|
|
// 3: Zoom in or out.
|
2005-09-26 07:40:18 +04:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
// On OS X, if the wheel has one axis only, shift+wheel comes through as a
|
|
|
|
// horizontal scroll event. Thus, we can't assign anything other than normal
|
|
|
|
// scrolling to shift+wheel.
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_alt.action", 2);
|
|
|
|
pref("mousewheel.with_shift.action", 1);
|
2012-11-28 05:49:00 +04:00
|
|
|
// On MacOS X, control+wheel is typically handled by system and we don't
|
|
|
|
// receive the event. So, command key which is the main modifier key for
|
|
|
|
// acceleration is the best modifier for zoom-in/out. However, we should keep
|
|
|
|
// the control key setting for backward compatibility.
|
|
|
|
pref("mousewheel.with_meta.action", 3); // command key on Mac
|
2013-01-05 16:14:27 +04:00
|
|
|
// Disable control-/meta-modified horizontal mousewheel events, since
|
|
|
|
// those are used on Mac as part of modified swipe gestures (e.g.
|
|
|
|
// Left swipe+Cmd = go back in a new tab).
|
|
|
|
pref("mousewheel.with_control.action.override_x", 0);
|
|
|
|
pref("mousewheel.with_meta.action.override_x", 0);
|
2005-09-26 07:40:18 +04:00
|
|
|
#else
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_alt.action", 1);
|
|
|
|
pref("mousewheel.with_shift.action", 2);
|
2012-11-28 05:49:00 +04:00
|
|
|
pref("mousewheel.with_meta.action", 1); // win key on Win, Super/Hyper on Linux
|
2005-11-17 21:50:50 +03:00
|
|
|
#endif
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_control.action",3);
|
|
|
|
pref("mousewheel.with_win.action", 1);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-06-28 19:49:37 +04:00
|
|
|
pref("browser.xul.error_pages.enabled", true);
|
2008-05-02 11:24:27 +04:00
|
|
|
pref("browser.xul.error_pages.expert_bad_cert", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2015-05-02 00:14:39 +03:00
|
|
|
// If true, network link events will change the value of navigator.onLine
|
2015-06-19 21:04:51 +03:00
|
|
|
pref("network.manage-offline-status", true);
|
2011-01-28 03:07:30 +03:00
|
|
|
|
2004-10-25 11:46:01 +04:00
|
|
|
// We want to make sure mail URLs are handled externally...
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
2004-10-25 11:46:01 +04:00
|
|
|
pref("network.protocol-handler.external.news", true); // for news
|
|
|
|
pref("network.protocol-handler.external.snews", true); // for secure news
|
|
|
|
pref("network.protocol-handler.external.nntp", true); // also news
|
2013-05-14 04:47:23 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.external.ms-windows-store", true);
|
|
|
|
#endif
|
|
|
|
|
2004-10-25 11:46:01 +04:00
|
|
|
// ...without warning dialogs
|
|
|
|
pref("network.protocol-handler.warn-external.mailto", false);
|
|
|
|
pref("network.protocol-handler.warn-external.news", false);
|
|
|
|
pref("network.protocol-handler.warn-external.snews", false);
|
|
|
|
pref("network.protocol-handler.warn-external.nntp", false);
|
2013-05-14 04:47:23 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.warn-external.ms-windows-store", false);
|
|
|
|
#endif
|
2003-05-19 08:23:22 +04:00
|
|
|
|
2003-11-21 03:09:50 +03:00
|
|
|
// By default, all protocol handlers are exposed. This means that
|
|
|
|
// the browser will respond to openURL commands for all URL types.
|
|
|
|
// It will also try to open link clicks inside the browser before
|
|
|
|
// failing over to the system handlers.
|
|
|
|
pref("network.protocol-handler.expose-all", true);
|
2004-03-17 03:22:20 +03:00
|
|
|
pref("network.protocol-handler.expose.mailto", false);
|
2004-10-25 11:46:01 +04:00
|
|
|
pref("network.protocol-handler.expose.news", false);
|
|
|
|
pref("network.protocol-handler.expose.snews", false);
|
|
|
|
pref("network.protocol-handler.expose.nntp", false);
|
2003-11-21 03:09:50 +03:00
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("accessibility.typeaheadfind", false);
|
|
|
|
pref("accessibility.typeaheadfind.timeout", 5000);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", false);
|
|
|
|
pref("accessibility.typeaheadfind.flashBar", 1);
|
|
|
|
|
2014-06-26 13:05:00 +04:00
|
|
|
pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=plugincheck-update");
|
2009-10-02 15:26:04 +04:00
|
|
|
pref("plugins.update.notifyUser", false);
|
2007-10-02 23:08:00 +04:00
|
|
|
|
2013-06-25 19:57:30 +04:00
|
|
|
pref("plugins.click_to_play", true);
|
2015-03-27 23:32:24 +03:00
|
|
|
pref("plugins.testmode", false);
|
2012-04-03 00:49:56 +04:00
|
|
|
|
2013-09-04 18:05:21 +04:00
|
|
|
pref("plugin.default.state", 1);
|
2013-11-21 00:33:05 +04:00
|
|
|
|
2014-04-19 16:17:19 +04:00
|
|
|
// Plugins bundled in XPIs are enabled by default.
|
|
|
|
pref("plugin.defaultXpi.state", 2);
|
|
|
|
|
2013-11-21 00:33:05 +04:00
|
|
|
// Flash is enabled by default, and Java is click-to-activate by default on
|
|
|
|
// all channels.
|
2013-09-04 18:05:21 +04:00
|
|
|
pref("plugin.state.flash", 2);
|
2013-11-21 00:33:05 +04:00
|
|
|
pref("plugin.state.java", 1);
|
2013-09-04 18:05:21 +04:00
|
|
|
|
2014-04-07 22:07:12 +04:00
|
|
|
// Whitelist Requests
|
|
|
|
|
|
|
|
// Unity player, bug 979849
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npunity3d", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.unity web player", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Cisco Jabber SDK, bug 980133
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npciscowebcommunicator", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.ciscowebcommunicator", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// McAfee Security Scanner detection plugin, bug 980772
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npmcafeemss", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-09-22 14:02:48 +04:00
|
|
|
// Cisco VGConnect for directv.com, bug 981403 & bug 1051772
|
2014-04-07 22:07:12 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npplayerplugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.playerplugin", 2);
|
2014-09-22 14:02:48 +04:00
|
|
|
pref("plugin.state.playerplugin.dtv", 2);
|
|
|
|
pref("plugin.state.playerplugin.ciscodrm", 2);
|
|
|
|
pref("plugin.state.playerplugin.charter", 2);
|
2014-04-07 22:07:12 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Cisco Jabber Client, bug 981905
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npchip", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.cisco jabber guest plug-in", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Estonian ID-card plugin, bug 982045
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npesteid-firefox-plugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.esteidfirefoxplugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("plugin.state.npesteid-firefox-plugin", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// coupons.com, bug 984441
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npmozcouponprinter", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.couponprinter-firefox_v", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Nexus Personal BankID, bug 987056
|
|
|
|
pref("plugin.state.npbispbrowser", 2);
|
|
|
|
|
|
|
|
// Gradecam, bug 988119
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npgcplugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.gcplugin", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Smart Card Plugin, bug 988781
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npwebcard", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Cisco WebEx, bug 989096
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npatgpc", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.webex", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("plugin.state.npatgpc", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Skype, bug 990067
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npskypewebplugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.skypewebplugin", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Facebook video calling, bug 990068
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npfacebookvideocalling", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.facebookvideocalling", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// MS Office Lync plugin, bug 990069
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npmeetingjoinpluginoc", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.lwaplugin", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// VidyoWeb, bug 990286
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npvidyoweb", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.npvidyoweb", 2);
|
|
|
|
pref("plugin.state.vidyoweb", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-05-08 02:43:55 +04:00
|
|
|
// McAfee Virtual Technician, bug 981503
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npmvtplugin", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Verimatrix ViewRightWeb, bug 989872
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npviewright", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.viewrightwebplayer", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// McAfee SiteAdvisor Enterprise, bug 987057
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npmcffplg", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// F5 Networks SSLVPN plugin, bug 985640
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.f5 ssl vpn plugin", 2);
|
|
|
|
pref("plugin.state.f5 sam inspection host plugin", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-07-24 07:35:10 +04:00
|
|
|
// Roblox Launcher Plugin, bug 1024073
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.nprobloxproxy", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.nproblox", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-07-24 07:36:48 +04:00
|
|
|
// Box Edit, bug 1029654
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npboxedit", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.box edit", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-07-24 07:37:54 +04:00
|
|
|
// Nexus Personal, bug 1024965
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.np_prsnl", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.personalplugin", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("plugin.state.libplugins", 2);
|
|
|
|
#endif
|
|
|
|
|
2014-09-22 14:02:47 +04:00
|
|
|
// Novell iPrint Client, bug 1036693
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("plugin.state.npnipp", 2);
|
|
|
|
pref("plugin.state.npnisp", 2);
|
|
|
|
#endif
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("plugin.state.iprint", 2);
|
|
|
|
#endif
|
|
|
|
|
2007-12-15 03:20:48 +03:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("browser.preferences.animateFadeIn", true);
|
|
|
|
#else
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("browser.preferences.animateFadeIn", false);
|
2007-12-15 03:20:48 +03:00
|
|
|
#endif
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2014-07-23 01:02:43 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("browser.preferences.instantApply", false);
|
|
|
|
#else
|
|
|
|
pref("browser.preferences.instantApply", true);
|
|
|
|
#endif
|
2015-02-02 16:58:12 +03:00
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("browser.download.show_plugins_in_list", true);
|
|
|
|
pref("browser.download.hide_plugins_without_extensions", true);
|
2005-08-02 07:29:11 +04:00
|
|
|
|
2005-10-20 19:16:27 +04:00
|
|
|
// Backspace and Shift+Backspace behavior
|
|
|
|
// 0 goes Back/Forward
|
|
|
|
// 1 act like PgUp/PgDown
|
|
|
|
// 2 and other values, nothing
|
2006-04-13 11:11:35 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2006-12-07 22:46:47 +03:00
|
|
|
pref("browser.backspace_action", 2);
|
2006-04-13 11:11:35 +04:00
|
|
|
#else
|
2005-10-20 19:16:27 +04:00
|
|
|
pref("browser.backspace_action", 0);
|
2006-04-13 11:11:35 +04:00
|
|
|
#endif
|
2005-11-22 08:36:48 +03:00
|
|
|
|
2005-12-05 21:18:11 +03:00
|
|
|
// this will automatically enable inline spellchecking (if it is available) for
|
2006-07-29 04:04:40 +04:00
|
|
|
// editable elements in HTML
|
|
|
|
// 0 = spellcheck nothing
|
|
|
|
// 1 = check multi-line controls [default]
|
|
|
|
// 2 = check multi/single line controls
|
2006-02-09 06:50:53 +03:00
|
|
|
pref("layout.spellcheckDefault", 1);
|
2005-12-05 21:18:11 +03:00
|
|
|
|
2008-02-02 01:40:36 +03:00
|
|
|
pref("browser.send_pings", false);
|
2006-08-18 23:50:16 +04:00
|
|
|
|
2006-10-10 03:57:40 +04:00
|
|
|
/* initial web feed readers list */
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
|
2006-08-12 00:26:14 +04:00
|
|
|
pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-21 21:42:26 +04:00
|
|
|
|
|
|
|
pref("browser.feeds.handler", "ask");
|
2008-01-30 10:12:08 +03:00
|
|
|
pref("browser.videoFeeds.handler", "ask");
|
|
|
|
pref("browser.audioFeeds.handler", "ask");
|
2006-05-12 19:46:25 +04:00
|
|
|
|
2008-02-20 07:46:35 +03:00
|
|
|
// At startup, if the handler service notices that the version number in the
|
|
|
|
// region.properties file is newer than the version number in the handler
|
|
|
|
// service datastore, it will add any new handlers it finds in the prefs (as
|
2015-05-24 02:17:50 +03:00
|
|
|
// seeded by this file) to its datastore.
|
2008-02-20 07:46:35 +03:00
|
|
|
pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2007-09-07 02:20:52 +04:00
|
|
|
// The default set of web-based protocol handlers shown in the application
|
2008-02-20 07:46:35 +03:00
|
|
|
// selection dialog for webcal: ; I've arbitrarily picked 4 default handlers
|
|
|
|
// per protocol, but if some locale wants more than that (or defaults for some
|
|
|
|
// protocol not currently listed here), we should go ahead and add those.
|
|
|
|
|
|
|
|
// webcal
|
|
|
|
pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// mailto
|
|
|
|
pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2009-03-14 11:47:51 +03:00
|
|
|
// irc
|
|
|
|
pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// ircs
|
|
|
|
pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
2007-09-07 02:20:52 +04:00
|
|
|
|
2008-02-09 02:04:30 +03:00
|
|
|
// By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287
|
|
|
|
pref("gecko.handlerService.allowRegisterFromDifferentHost", false);
|
|
|
|
|
2006-05-12 19:46:25 +04:00
|
|
|
#ifdef MOZ_SAFE_BROWSING
|
|
|
|
pref("browser.safebrowsing.enabled", true);
|
2007-08-10 02:11:22 +04:00
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
2014-08-28 02:57:49 +04:00
|
|
|
pref("browser.safebrowsing.downloads.enabled", true);
|
|
|
|
pref("browser.safebrowsing.downloads.remote.enabled", true);
|
2015-06-10 08:35:18 +03:00
|
|
|
pref("browser.safebrowsing.downloads.remote.timeout_ms", 10000);
|
2012-07-28 10:25:11 +04:00
|
|
|
pref("browser.safebrowsing.debug", false);
|
|
|
|
|
2015-09-08 09:22:10 +03:00
|
|
|
pref("browser.safebrowsing.provider.google.lists", "goog-badbinurl-shavar,goog-downloadwhite-digest256,goog-phish-shavar,goog-malware-shavar,goog-unwanted-shavar");
|
|
|
|
pref("browser.safebrowsing.provider.google.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2&key=%GOOGLE_API_KEY%");
|
|
|
|
pref("browser.safebrowsing.provider.google.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
|
|
|
|
pref("browser.safebrowsing.provider.google.reportURL", "https://safebrowsing.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
|
|
|
|
pref("browser.safebrowsing.provider.google.appRepURL", "https://sb-ssl.google.com/safebrowsing/clientreport/download?key=%GOOGLE_API_KEY%");
|
|
|
|
|
2015-06-16 22:28:42 +03:00
|
|
|
pref("browser.safebrowsing.reportPhishMistakeURL", "https://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%&url=");
|
|
|
|
pref("browser.safebrowsing.reportPhishURL", "https://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%&url=");
|
|
|
|
pref("browser.safebrowsing.reportMalwareMistakeURL", "https://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%&url=");
|
2013-01-10 11:38:50 +04:00
|
|
|
#ifdef MOZILLA_OFFICIAL
|
|
|
|
// Normally the "client ID" sent in updates is appinfo.name, but for
|
|
|
|
// official Firefox releases from Mozilla we use a special identifier.
|
|
|
|
pref("browser.safebrowsing.id", "navclient-auto-ffox");
|
|
|
|
#endif
|
|
|
|
|
2007-10-29 21:29:14 +03: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");
|
2008-02-27 08:51:28 +03:00
|
|
|
|
|
|
|
// The number of random entries to send with a gethash request.
|
|
|
|
pref("urlclassifier.gethashnoise", 4);
|
2008-03-07 22:51:25 +03:00
|
|
|
|
2014-09-09 03:44:08 +04:00
|
|
|
// Gethash timeout for Safebrowsing.
|
|
|
|
pref("urlclassifier.gethash.timeout_ms", 5000);
|
|
|
|
|
2008-04-16 02:39:44 +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);
|
2013-11-01 01:15:14 +04:00
|
|
|
// Tables for application reputation.
|
2014-03-24 21:49:05 +04:00
|
|
|
pref("urlclassifier.downloadBlockTable", "goog-badbinurl-shavar");
|
2014-02-26 22:51:36 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
// Only download the whitelist on Windows, since the whitelist is
|
|
|
|
// only useful for suppressing remote lookups for signed binaries which we can
|
2015-03-25 03:47:00 +03:00
|
|
|
// only verify on Windows (Bug 974579). Other platforms always do remote lookups.
|
2014-03-24 21:49:05 +04:00
|
|
|
pref("urlclassifier.downloadAllowTable", "goog-downloadwhite-digest256");
|
2006-05-12 19:46:25 +04:00
|
|
|
#endif
|
2014-02-26 22:51:36 +04:00
|
|
|
#endif
|
2006-09-13 11:55:52 +04:00
|
|
|
|
2013-03-27 08:26:43 +04:00
|
|
|
pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
|
2015-04-11 06:19:28 +03:00
|
|
|
pref("browser.push.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/push/");
|
2012-08-02 02:52:47 +04:00
|
|
|
|
2008-10-31 09:42:02 +03:00
|
|
|
pref("browser.EULA.version", 3);
|
|
|
|
pref("browser.rights.version", 3);
|
|
|
|
pref("browser.rights.3.shown", false);
|
2006-09-13 11:55:52 +04:00
|
|
|
|
2008-05-08 19:24:23 +04:00
|
|
|
#ifdef DEBUG
|
2008-10-31 09:42:02 +03:00
|
|
|
// Don't show the about:rights notification in debug builds.
|
|
|
|
pref("browser.rights.override", true);
|
2008-05-08 19:24:23 +04:00
|
|
|
#endif
|
|
|
|
|
2015-03-02 02:44:00 +03:00
|
|
|
pref("browser.selfsupport.url", "https://self-repair.mozilla.org/%LOCALE%/repair");
|
2015-01-27 10:11:00 +03:00
|
|
|
|
2007-01-05 20:09:56 +03:00
|
|
|
pref("browser.sessionstore.resume_from_crash", true);
|
|
|
|
pref("browser.sessionstore.resume_session_once", false);
|
2008-02-23 12:32:09 +03:00
|
|
|
|
2007-01-05 20:09:56 +03:00
|
|
|
// minimal interval between two save operations in milliseconds
|
2009-12-31 22:44:46 +03:00
|
|
|
pref("browser.sessionstore.interval", 15000);
|
2007-01-05 20:09:56 +03:00
|
|
|
// on which sites to save text data, POSTDATA and cookies
|
|
|
|
// 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
|
2010-10-08 22:51:50 +04:00
|
|
|
pref("browser.sessionstore.privacy_level", 0);
|
2010-09-10 21:57:28 +04:00
|
|
|
// the same as browser.sessionstore.privacy_level, but for saving deferred session data
|
2011-02-01 04:05:31 +03:00
|
|
|
pref("browser.sessionstore.privacy_level_deferred", 1);
|
2007-01-05 20:09:56 +03:00
|
|
|
// how many tabs can be reopened (per window)
|
|
|
|
pref("browser.sessionstore.max_tabs_undo", 10);
|
2009-04-23 10:50:30 +04:00
|
|
|
// how many windows can be reopened (per session) - on non-OS X platforms this
|
|
|
|
// pref may be ignored when dealing with pop-up windows to ensure proper startup
|
|
|
|
pref("browser.sessionstore.max_windows_undo", 3);
|
2008-10-11 22:47:31 +04:00
|
|
|
// number of crashes that can occur before the about:sessionrestore page is displayed
|
|
|
|
// (this pref has no effect if more than 6 hours have passed since the last crash)
|
|
|
|
pref("browser.sessionstore.max_resumed_crashes", 1);
|
2014-02-07 05:15:59 +04:00
|
|
|
// number of back button session history entries to restore (-1 = all of them)
|
|
|
|
pref("browser.sessionstore.max_serialize_back", 10);
|
|
|
|
// number of forward button session history entries to restore (-1 = all of them)
|
|
|
|
pref("browser.sessionstore.max_serialize_forward", -1);
|
2011-08-16 10:24:25 +04:00
|
|
|
// restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
|
|
|
|
// and restore_hidden_tabs. When true, tabs will not be restored until they are
|
|
|
|
// focused (also applies to tabs that aren't visible). When false, the values
|
|
|
|
// for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
|
|
|
|
// Selected tabs are always restored regardless of this pref.
|
2012-02-23 14:30:23 +04:00
|
|
|
pref("browser.sessionstore.restore_on_demand", true);
|
2011-05-20 02:07:55 +04:00
|
|
|
// Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
|
|
|
|
pref("browser.sessionstore.restore_hidden_tabs", false);
|
2012-01-20 16:49:15 +04:00
|
|
|
// If restore_on_demand is set, pinned tabs are restored on startup by default.
|
|
|
|
// When set to true, this pref overrides that behavior, and pinned tabs will only
|
|
|
|
// be restored when they are focused.
|
|
|
|
pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
|
2013-06-27 21:57:05 +04:00
|
|
|
// The version at which we performed the latest upgrade backup
|
|
|
|
pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
|
2015-04-02 19:09:31 +03:00
|
|
|
// How many upgrade backups should be kept
|
|
|
|
pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 3);
|
2013-06-27 21:57:05 +04:00
|
|
|
// End-users should not run sessionstore in debug mode
|
|
|
|
pref("browser.sessionstore.debug", false);
|
2014-05-14 14:12:00 +04:00
|
|
|
// Forget closed windows/tabs after two weeks
|
|
|
|
pref("browser.sessionstore.cleanup.forget_closed_after", 1209600000);
|
2007-02-08 16:15:50 +03:00
|
|
|
|
|
|
|
// allow META refresh by default
|
|
|
|
pref("accessibility.blockautorefresh", false);
|
2007-05-03 12:56:41 +04:00
|
|
|
|
2010-01-15 19:40:14 +03:00
|
|
|
// Whether history is enabled or not.
|
|
|
|
pref("places.history.enabled", true);
|
|
|
|
|
2008-01-25 20:11:14 +03:00
|
|
|
// the (maximum) number of the recent visits to sample
|
|
|
|
// when calculating frecency
|
|
|
|
pref("places.frecency.numVisits", 10);
|
|
|
|
|
|
|
|
// buckets (in days) for frecency calculation
|
|
|
|
pref("places.frecency.firstBucketCutoff", 4);
|
|
|
|
pref("places.frecency.secondBucketCutoff", 14);
|
|
|
|
pref("places.frecency.thirdBucketCutoff", 31);
|
|
|
|
pref("places.frecency.fourthBucketCutoff", 90);
|
|
|
|
|
|
|
|
// weights for buckets for frecency calculations
|
|
|
|
pref("places.frecency.firstBucketWeight", 100);
|
|
|
|
pref("places.frecency.secondBucketWeight", 70);
|
|
|
|
pref("places.frecency.thirdBucketWeight", 50);
|
|
|
|
pref("places.frecency.fourthBucketWeight", 30);
|
|
|
|
pref("places.frecency.defaultBucketWeight", 10);
|
|
|
|
|
|
|
|
// bonus (in percent) for visit transition types for frecency calculations
|
|
|
|
pref("places.frecency.embedVisitBonus", 0);
|
2010-03-10 15:40:34 +03:00
|
|
|
pref("places.frecency.framedLinkVisitBonus", 0);
|
2008-02-21 04:38:38 +03:00
|
|
|
pref("places.frecency.linkVisitBonus", 100);
|
2008-03-22 09:57:23 +03:00
|
|
|
pref("places.frecency.typedVisitBonus", 2000);
|
2009-01-28 05:01:33 +03:00
|
|
|
pref("places.frecency.bookmarkVisitBonus", 75);
|
2008-01-25 20:11:14 +03:00
|
|
|
pref("places.frecency.downloadVisitBonus", 0);
|
|
|
|
pref("places.frecency.permRedirectVisitBonus", 0);
|
|
|
|
pref("places.frecency.tempRedirectVisitBonus", 0);
|
|
|
|
pref("places.frecency.defaultVisitBonus", 0);
|
|
|
|
|
|
|
|
// bonus (in percent) for place types for frecency calculations
|
|
|
|
pref("places.frecency.unvisitedBookmarkBonus", 140);
|
|
|
|
pref("places.frecency.unvisitedTypedBonus", 200);
|
|
|
|
|
2007-11-24 00:59:10 +03:00
|
|
|
// Controls behavior of the "Add Exception" dialog launched from SSL error pages
|
|
|
|
// 0 - don't pre-populate anything
|
|
|
|
// 1 - pre-populate site URL, but don't fetch certificate
|
|
|
|
// 2 - pre-populate site URL and pre-fetch certificate
|
2008-10-29 18:54:51 +03:00
|
|
|
pref("browser.ssl_override_behavior", 2);
|
2007-12-18 08:29:38 +03:00
|
|
|
|
2008-02-22 09:34:15 +03:00
|
|
|
// True if the user should be prompted when a web application supports
|
|
|
|
// offline apps.
|
|
|
|
pref("browser.offline-apps.notify", true);
|
|
|
|
|
2008-02-13 14:00:45 +03:00
|
|
|
// if true, use full page zoom instead of text zoom
|
|
|
|
pref("browser.zoom.full", true);
|
|
|
|
|
2008-02-27 02:05:53 +03:00
|
|
|
// Whether or not to save and restore zoom levels on a per-site basis.
|
|
|
|
pref("browser.zoom.siteSpecific", true);
|
|
|
|
|
2009-03-01 14:22:44 +03:00
|
|
|
// Whether or not to update background tabs to the current zoom level.
|
|
|
|
pref("browser.zoom.updateBackgroundTabs", true);
|
|
|
|
|
2008-01-25 10:24:33 +03: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/");
|
2008-03-24 20:18:38 +03:00
|
|
|
|
2013-01-04 08:45:15 +04:00
|
|
|
// URL for "Learn More" for Crash Reporter
|
|
|
|
pref("toolkit.crashreporter.infoURL",
|
2013-03-27 08:26:43 +04:00
|
|
|
"https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
|
2013-01-04 08:45:15 +04:00
|
|
|
|
2008-03-24 20:18:38 +03:00
|
|
|
// base URL for web-based support pages
|
2013-05-30 03:26:41 +04:00
|
|
|
pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
|
2008-10-29 18:54:51 +03:00
|
|
|
|
2014-02-24 18:57:30 +04:00
|
|
|
// base url for web-based feedback pages
|
2014-10-31 15:47:28 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
|
|
|
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/firefoxdev/%VERSION%/");
|
|
|
|
#else
|
2014-02-24 18:57:30 +04:00
|
|
|
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/%APP%/%VERSION%/");
|
2014-10-31 15:47:28 +03:00
|
|
|
#endif
|
|
|
|
|
2014-02-24 18:57:30 +04:00
|
|
|
|
2008-10-29 18:54:51 +03:00
|
|
|
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
|
|
|
|
pref("security.alternate_certificate_error_page", "certerror");
|
2008-11-04 02:22:22 +03:00
|
|
|
|
|
|
|
// Whether to start the private browsing mode at application startup
|
|
|
|
pref("browser.privatebrowsing.autostart", false);
|
2008-11-04 02:22:23 +03:00
|
|
|
|
2009-02-27 04:27:39 +03:00
|
|
|
// Don't try to alter this pref, it'll be reset the next time you use the
|
|
|
|
// bookmarking dialog
|
|
|
|
pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
|
2009-04-14 22:24:13 +04:00
|
|
|
|
2015-02-10 17:32:26 +03:00
|
|
|
pref("dom.ipc.plugins.flash.disable-protected-mode", false);
|
2015-01-11 06:44:29 +03:00
|
|
|
|
2015-02-20 01:43:24 +03:00
|
|
|
// Feature-disable the protected-mode auto-flip
|
2015-03-03 21:35:40 +03:00
|
|
|
pref("browser.flash-protected-mode-flip.enable", false);
|
2015-02-20 01:43:24 +03:00
|
|
|
|
|
|
|
// Whether we've already flipped protected mode automatically
|
|
|
|
pref("browser.flash-protected-mode-flip.done", false);
|
|
|
|
|
2015-04-02 11:25:42 +03:00
|
|
|
pref("dom.ipc.shims.enabledWarnings", false);
|
|
|
|
|
2014-09-30 01:11:08 +04:00
|
|
|
// Start the browser in e10s mode
|
2014-02-11 21:01:08 +04:00
|
|
|
pref("browser.tabs.remote.autostart", false);
|
2014-09-30 01:11:08 +04:00
|
|
|
pref("browser.tabs.remote.desktopbehavior", true);
|
2011-06-23 00:43:09 +04:00
|
|
|
|
2014-11-29 20:12:18 +03:00
|
|
|
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
|
|
|
// When this pref is true the Windows process sandbox will set up dummy
|
|
|
|
// interceptions and log to the browser console when calls fail in the sandboxed
|
|
|
|
// process and also if they are subsequently allowed by the broker process.
|
|
|
|
// This will require a restart.
|
|
|
|
pref("security.sandbox.windows.log", false);
|
|
|
|
|
2015-01-30 20:48:15 +03:00
|
|
|
// Controls whether and how the Windows NPAPI plugin process is sandboxed.
|
2015-01-23 11:32:21 +03:00
|
|
|
// To get a different setting for a particular plugin replace "default", with
|
|
|
|
// the plugin's nice file name, see: nsPluginTag::GetNiceFileName.
|
2015-01-30 20:48:15 +03:00
|
|
|
// On windows these levels are:
|
|
|
|
// 0 - no sandbox
|
|
|
|
// 1 - sandbox with USER_NON_ADMIN access token level
|
2015-05-22 19:05:45 +03:00
|
|
|
// 2 - a more strict sandbox, which might cause functionality issues. This now
|
|
|
|
// includes running at low integrity.
|
2015-02-11 19:25:43 +03:00
|
|
|
// 3 - the strongest settings we seem to be able to use without breaking
|
2015-05-22 19:05:45 +03:00
|
|
|
// everything, but will probably cause some functionality restrictions
|
2015-01-30 20:48:15 +03:00
|
|
|
pref("dom.ipc.plugins.sandbox-level.default", 0);
|
2015-08-20 14:45:09 +03:00
|
|
|
#if defined(_AMD64_)
|
|
|
|
// The lines in PluginModuleParent.cpp should be changed in line with this.
|
|
|
|
pref("dom.ipc.plugins.sandbox-level.flash", 2);
|
|
|
|
#else
|
2015-06-15 18:08:51 +03:00
|
|
|
pref("dom.ipc.plugins.sandbox-level.flash", 0);
|
2015-08-20 14:45:09 +03:00
|
|
|
#endif
|
2015-01-29 11:13:07 +03:00
|
|
|
|
2014-11-29 20:12:18 +03:00
|
|
|
#if defined(MOZ_CONTENT_SANDBOX)
|
2015-03-10 11:03:12 +03:00
|
|
|
// This controls the strength of the Windows content process sandbox for testing
|
|
|
|
// purposes. This will require a restart.
|
|
|
|
// On windows these levels are:
|
2015-10-05 13:10:46 +03:00
|
|
|
// See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
|
|
|
|
// SetSecurityLevelForContentProcess() for what the different settings mean.
|
2015-04-28 18:06:29 +03:00
|
|
|
#if defined(NIGHTLY_BUILD)
|
2015-10-05 13:10:46 +03:00
|
|
|
pref("security.sandbox.content.level", 2);
|
2015-04-28 18:06:29 +03:00
|
|
|
#else
|
2015-03-10 11:03:12 +03:00
|
|
|
pref("security.sandbox.content.level", 0);
|
2015-04-28 18:06:29 +03:00
|
|
|
#endif
|
|
|
|
|
2015-05-18 13:51:07 +03:00
|
|
|
// ID (a UUID when set by gecko) that is used as a per profile suffix to a low
|
|
|
|
// integrity temp directory.
|
|
|
|
pref("security.sandbox.content.tempDirSuffix", "");
|
2014-06-11 18:32:37 +04:00
|
|
|
|
2014-09-08 21:25:20 +04:00
|
|
|
#if defined(MOZ_STACKWALKING)
|
2014-11-29 20:12:18 +03:00
|
|
|
// This controls the depth of stack trace that is logged when Windows sandbox
|
|
|
|
// logging is turned on. This is only currently available for the content
|
|
|
|
// process because the only other sandbox (for GMP) has too strict a policy to
|
|
|
|
// allow stack tracing. This does not require a restart to take effect.
|
|
|
|
pref("security.sandbox.windows.log.stackTraceDepth", 0);
|
|
|
|
#endif
|
2014-06-11 18:32:37 +04:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2015-02-18 16:10:27 +03:00
|
|
|
#if defined(XP_MACOSX) && defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
|
|
|
// This pref is discussed in bug 1083344, the naming is inspired from its Windows
|
|
|
|
// counterpart, but on Mac it's an integer which means:
|
|
|
|
// 0 -> "no sandbox"
|
|
|
|
// 1 -> "an imperfect sandbox designed to allow firefox to run reasonably well"
|
|
|
|
// 2 -> "an ideal sandbox which may break many things"
|
|
|
|
// This setting is read when the content process is started. On Mac the content
|
|
|
|
// process is killed when all windows are closed, so a change will take effect
|
2015-02-25 21:37:03 +03:00
|
|
|
// when the 1st window is opened.
|
2015-03-12 19:42:50 +03:00
|
|
|
pref("security.sandbox.content.level", 1);
|
2015-02-18 16:10:27 +03:00
|
|
|
#endif
|
|
|
|
|
2011-05-24 10:58:28 +04:00
|
|
|
// This pref governs whether we attempt to work around problems caused by
|
|
|
|
// plugins using OS calls to manipulate the cursor while running out-of-
|
|
|
|
// process. These workarounds all involve intercepting (hooking) certain
|
|
|
|
// OS calls in the plugin process, then arranging to make certain OS calls
|
|
|
|
// in the browser process. Eventually plugins will be required to use the
|
|
|
|
// NPAPI to manipulate the cursor, and these workarounds will be removed.
|
|
|
|
// See bug 621117.
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("dom.ipc.plugins.nativeCursorSupport", true);
|
|
|
|
#endif
|
|
|
|
|
2009-10-06 23:57:20 +04:00
|
|
|
#ifdef XP_WIN
|
2010-12-16 03:23:26 +03:00
|
|
|
pref("browser.taskbar.previews.enable", false);
|
2009-10-06 23:57:20 +04:00
|
|
|
pref("browser.taskbar.previews.max", 20);
|
2010-08-19 19:22:46 +04:00
|
|
|
pref("browser.taskbar.previews.cachetime", 5);
|
2009-10-07 13:09:11 +04:00
|
|
|
pref("browser.taskbar.lists.enabled", true);
|
|
|
|
pref("browser.taskbar.lists.frequent.enabled", true);
|
|
|
|
pref("browser.taskbar.lists.recent.enabled", false);
|
|
|
|
pref("browser.taskbar.lists.maxListItemCount", 7);
|
|
|
|
pref("browser.taskbar.lists.tasks.enabled", true);
|
2010-10-14 12:46:38 +04:00
|
|
|
pref("browser.taskbar.lists.refreshInSeconds", 120);
|
2009-10-06 23:57:20 +04:00
|
|
|
#endif
|
2010-08-03 03:37:55 +04:00
|
|
|
|
|
|
|
#ifdef MOZ_SERVICES_SYNC
|
|
|
|
// The sync engines to use.
|
2011-12-15 05:13:36 +04:00
|
|
|
pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons");
|
2010-08-03 03:37:55 +04:00
|
|
|
// Preferences to be synced by default
|
|
|
|
pref("services.sync.prefs.sync.accessibility.blockautorefresh", true);
|
|
|
|
pref("services.sync.prefs.sync.accessibility.browsewithcaret", true);
|
|
|
|
pref("services.sync.prefs.sync.accessibility.typeaheadfind", true);
|
|
|
|
pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true);
|
2011-12-15 05:13:36 +04:00
|
|
|
pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true);
|
|
|
|
// The addons prefs related to repository verification are intentionally
|
|
|
|
// not synced for security reasons. If a system is compromised, a user
|
|
|
|
// could weaken the pref locally, install an add-on from an untrusted
|
|
|
|
// source, and this would propagate automatically to other,
|
|
|
|
// uncompromised Sync-connected devices.
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.app.update.mode", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.formfill.enable", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
|
2014-11-07 14:15:39 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.enhanced", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.offline-apps.notify", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.safebrowsing.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.search.update", true);
|
2011-12-13 23:41:21 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.startup.homepage", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.startup.page", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.disable_window_flip", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.extensions.personas.current", true);
|
|
|
|
pref("services.sync.prefs.sync.extensions.update.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.intl.accept_languages", true);
|
|
|
|
pref("services.sync.prefs.sync.javascript.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
|
2015-03-24 01:32:41 +03:00
|
|
|
pref("services.sync.prefs.sync.lightweightThemes.selectedThemeID", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.lightweightThemes.usedThemes", true);
|
|
|
|
pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
|
|
|
|
pref("services.sync.prefs.sync.network.cookie.lifetimePolicy", true);
|
|
|
|
pref("services.sync.prefs.sync.permissions.default.image", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
|
2011-02-04 22:19:27 +03:00
|
|
|
pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
|
2014-09-07 23:03:00 +04:00
|
|
|
pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", true);
|
2015-09-09 10:12:52 +03:00
|
|
|
pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.security.OCSP.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.security.OCSP.require", true);
|
|
|
|
pref("services.sync.prefs.sync.security.default_personal_cert", true);
|
2013-04-14 17:41:55 +04:00
|
|
|
pref("services.sync.prefs.sync.security.tls.version.min", true);
|
|
|
|
pref("services.sync.prefs.sync.security.tls.version.max", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.signon.rememberSignons", true);
|
|
|
|
pref("services.sync.prefs.sync.spellchecker.dictionary", true);
|
|
|
|
pref("services.sync.prefs.sync.xpinstall.whitelist.required", true);
|
|
|
|
#endif
|
2010-09-10 01:52:43 +04:00
|
|
|
|
2014-10-09 01:05:46 +04:00
|
|
|
// Developer edition preferences
|
2014-11-01 16:41:51 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
2015-04-30 10:13:40 +03:00
|
|
|
sticky_pref("lightweightThemes.selectedThemeID", "firefox-devedition@mozilla.org");
|
2015-05-15 04:31:21 +03:00
|
|
|
#else
|
|
|
|
sticky_pref("lightweightThemes.selectedThemeID", "");
|
2014-11-01 16:41:51 +03:00
|
|
|
#endif
|
2014-10-09 01:05:46 +04:00
|
|
|
|
2014-10-23 04:18:31 +04:00
|
|
|
// Developer edition promo preferences
|
|
|
|
pref("devtools.devedition.promo.shown", false);
|
2015-02-26 02:23:22 +03:00
|
|
|
pref("devtools.devedition.promo.url", "https://www.mozilla.org/firefox/developer/?utm_source=firefox-dev-tools&utm_medium=firefox-browser&utm_content=betadoorhanger");
|
2014-10-23 04:18:31 +04:00
|
|
|
|
|
|
|
// Only potentially show in beta release
|
2014-11-15 15:39:00 +03:00
|
|
|
#if MOZ_UPDATE_CHANNEL == beta
|
2014-10-23 04:18:31 +04:00
|
|
|
pref("devtools.devedition.promo.enabled", true);
|
|
|
|
#else
|
|
|
|
pref("devtools.devedition.promo.enabled", false);
|
|
|
|
#endif
|
|
|
|
|
2011-06-16 22:24:20 +04:00
|
|
|
// Disable the error console
|
2010-10-05 19:45:04 +04:00
|
|
|
pref("devtools.errorconsole.enabled", false);
|
2011-06-16 22:24:20 +04:00
|
|
|
|
2015-05-06 20:34:27 +03:00
|
|
|
// Developer toolbar preferences
|
2012-07-05 02:37:25 +04:00
|
|
|
pref("devtools.toolbar.enabled", true);
|
2012-06-15 17:55:33 +04:00
|
|
|
pref("devtools.toolbar.visible", false);
|
2012-05-10 21:33:54 +04:00
|
|
|
|
2013-10-09 09:52:38 +04:00
|
|
|
// Enable the app manager
|
2013-09-10 06:50:00 +04:00
|
|
|
pref("devtools.appmanager.enabled", true);
|
2013-11-16 06:47:00 +04:00
|
|
|
pref("devtools.appmanager.lastTab", "help");
|
2013-12-04 23:29:47 +04:00
|
|
|
pref("devtools.appmanager.manifestEditor.enabled", true);
|
2013-09-05 09:37:00 +04:00
|
|
|
|
2014-08-13 23:10:00 +04:00
|
|
|
// Enable DevTools WebIDE by default
|
|
|
|
pref("devtools.webide.enabled", true);
|
2014-05-12 10:53:00 +04:00
|
|
|
|
2012-11-30 12:07:59 +04:00
|
|
|
// Toolbox preferences
|
|
|
|
pref("devtools.toolbox.footer.height", 250);
|
|
|
|
pref("devtools.toolbox.sidebar.width", 500);
|
|
|
|
pref("devtools.toolbox.host", "bottom");
|
2015-06-10 00:59:27 +03:00
|
|
|
pref("devtools.toolbox.previousHost", "side");
|
2012-11-30 12:07:59 +04:00
|
|
|
pref("devtools.toolbox.selectedTool", "webconsole");
|
2015-09-28 16:14:00 +03:00
|
|
|
pref("devtools.toolbox.toolbarSpec", '["splitconsole", "paintflashing toggle","tilt toggle","scratchpad","resize toggle","eyedropper","screenshot --fullpage", "rulers", "measure"]');
|
2013-03-14 03:10:15 +04:00
|
|
|
pref("devtools.toolbox.sideEnabled", true);
|
2013-09-15 10:26:18 +04:00
|
|
|
pref("devtools.toolbox.zoomValue", "1");
|
2014-07-29 00:54:41 +04:00
|
|
|
pref("devtools.toolbox.splitconsoleEnabled", false);
|
2014-07-31 21:33:23 +04:00
|
|
|
pref("devtools.toolbox.splitconsoleHeight", 100);
|
2012-11-30 12:07:59 +04:00
|
|
|
|
2014-03-07 02:02:11 +04:00
|
|
|
// Toolbox Button preferences
|
|
|
|
pref("devtools.command-button-pick.enabled", true);
|
2015-05-18 21:27:32 +03:00
|
|
|
pref("devtools.command-button-frames.enabled", true);
|
2014-03-07 02:02:11 +04:00
|
|
|
pref("devtools.command-button-splitconsole.enabled", true);
|
|
|
|
pref("devtools.command-button-paintflashing.enabled", false);
|
|
|
|
pref("devtools.command-button-tilt.enabled", false);
|
|
|
|
pref("devtools.command-button-scratchpad.enabled", false);
|
|
|
|
pref("devtools.command-button-responsive.enabled", true);
|
2014-04-24 23:39:00 +04:00
|
|
|
pref("devtools.command-button-eyedropper.enabled", false);
|
2014-05-30 12:47:49 +04:00
|
|
|
pref("devtools.command-button-screenshot.enabled", false);
|
2015-04-01 20:28:57 +03:00
|
|
|
pref("devtools.command-button-rulers.enabled", false);
|
2015-09-28 16:14:00 +03:00
|
|
|
pref("devtools.command-button-measure.enabled", false);
|
2014-03-07 02:02:11 +04:00
|
|
|
|
2014-02-05 14:53:46 +04:00
|
|
|
// Inspector preferences
|
2011-06-16 22:24:20 +04:00
|
|
|
// Enable the Inspector
|
|
|
|
pref("devtools.inspector.enabled", true);
|
2014-02-05 14:53:46 +04:00
|
|
|
// What was the last active sidebar in the inspector
|
2012-01-28 17:48:00 +04:00
|
|
|
pref("devtools.inspector.activeSidebar", "ruleview");
|
2013-06-08 01:32:32 +04:00
|
|
|
pref("devtools.inspector.remote", false);
|
2015-06-18 11:10:53 +03:00
|
|
|
// Collapse pseudo-elements by default in the rule-view
|
|
|
|
pref("devtools.inspector.show_pseudo_elements", false);
|
2014-02-05 14:53:46 +04:00
|
|
|
// The default size for image preview tooltips in the rule-view/computed-view/markup-view
|
|
|
|
pref("devtools.inspector.imagePreviewTooltipSize", 300);
|
2014-05-29 16:02:26 +04:00
|
|
|
// Enable user agent style inspection in rule-view
|
|
|
|
pref("devtools.inspector.showUserAgentStyles", false);
|
2015-01-09 11:27:00 +03:00
|
|
|
// Show all native anonymous content (like controls in <video> tags)
|
|
|
|
pref("devtools.inspector.showAllAnonymousContent", false);
|
2015-05-06 21:59:00 +03:00
|
|
|
// Enable the MDN docs tooltip
|
|
|
|
pref("devtools.inspector.mdnDocsTooltip.enabled", true);
|
2010-09-22 01:56:52 +04:00
|
|
|
|
2013-09-16 14:01:25 +04:00
|
|
|
// DevTools default color unit
|
2015-10-06 19:35:31 +03:00
|
|
|
pref("devtools.defaultColorUnit", "authored");
|
2013-09-16 14:01:25 +04:00
|
|
|
|
2012-06-01 16:53:58 +04:00
|
|
|
// Enable the Responsive UI tool
|
2013-09-03 11:15:51 +04:00
|
|
|
pref("devtools.responsiveUI.no-reload-notification", false);
|
2012-06-01 16:53:58 +04:00
|
|
|
|
2012-02-07 21:22:30 +04:00
|
|
|
// Enable the Debugger
|
2012-05-22 10:30:03 +04:00
|
|
|
pref("devtools.debugger.enabled", true);
|
2013-03-26 20:30:13 +04:00
|
|
|
pref("devtools.debugger.chrome-debugging-host", "localhost");
|
|
|
|
pref("devtools.debugger.chrome-debugging-port", 6080);
|
2012-04-12 19:47:56 +04:00
|
|
|
pref("devtools.debugger.remote-host", "localhost");
|
2012-10-01 16:16:00 +04:00
|
|
|
pref("devtools.debugger.remote-timeout", 20000);
|
2013-06-21 18:33:56 +04:00
|
|
|
pref("devtools.debugger.pause-on-exceptions", false);
|
2013-09-09 21:02:41 +04:00
|
|
|
pref("devtools.debugger.ignore-caught-exceptions", true);
|
2013-06-11 16:19:00 +04:00
|
|
|
pref("devtools.debugger.source-maps-enabled", true);
|
2013-10-12 00:52:50 +04:00
|
|
|
pref("devtools.debugger.pretty-print-enabled", true);
|
2014-01-31 20:30:27 +04:00
|
|
|
pref("devtools.debugger.auto-pretty-print", false);
|
2014-07-03 17:44:00 +04:00
|
|
|
pref("devtools.debugger.auto-black-box", true);
|
2015-06-19 14:51:37 +03:00
|
|
|
pref("devtools.debugger.workers", false);
|
2015-07-15 01:23:04 +03:00
|
|
|
pref("devtools.debugger.promise", false);
|
2012-02-07 21:22:30 +04:00
|
|
|
|
2012-05-31 13:27:22 +04:00
|
|
|
// The default Debugger UI settings
|
2015-06-19 14:51:37 +03:00
|
|
|
pref("devtools.debugger.ui.panes-workers-and-sources-width", 200);
|
2013-02-21 03:33:36 +04:00
|
|
|
pref("devtools.debugger.ui.panes-instruments-width", 300);
|
2012-10-27 00:28:54 +04:00
|
|
|
pref("devtools.debugger.ui.panes-visible-on-startup", false);
|
2012-11-10 15:14:40 +04:00
|
|
|
pref("devtools.debugger.ui.variables-sorting-enabled", true);
|
2012-12-04 17:48:39 +04:00
|
|
|
pref("devtools.debugger.ui.variables-only-enum-visible", false);
|
2012-11-04 03:01:05 +04:00
|
|
|
pref("devtools.debugger.ui.variables-searchbox-visible", false);
|
2012-02-07 21:22:30 +04:00
|
|
|
|
2015-08-30 01:49:22 +03:00
|
|
|
// Enable the Memory tools
|
|
|
|
pref("devtools.memory.enabled", false);
|
|
|
|
|
2015-03-31 18:28:43 +03:00
|
|
|
// Enable the Performance tools
|
|
|
|
pref("devtools.performance.enabled", true);
|
2013-07-10 00:58:53 +04:00
|
|
|
|
2015-01-19 12:37:00 +03:00
|
|
|
// The default Performance UI settings
|
2015-03-10 20:24:48 +03:00
|
|
|
pref("devtools.performance.memory.sample-probability", "0.05");
|
2015-05-20 22:48:28 +03:00
|
|
|
// Can't go higher than this without causing internal allocation overflows while
|
|
|
|
// serializing the allocations data over the RDP.
|
|
|
|
pref("devtools.performance.memory.max-log-length", 125000);
|
2015-09-11 08:59:53 +03:00
|
|
|
pref("devtools.performance.timeline.hidden-markers",
|
|
|
|
"[\"Composite\",\"CompositeForwardTransaction\"]");
|
2015-04-14 04:00:02 +03:00
|
|
|
pref("devtools.performance.profiler.buffer-size", 10000000);
|
|
|
|
pref("devtools.performance.profiler.sample-frequency-khz", 1);
|
2015-01-19 12:37:00 +03:00
|
|
|
pref("devtools.performance.ui.invert-call-tree", true);
|
2015-02-06 21:26:08 +03:00
|
|
|
pref("devtools.performance.ui.invert-flame-graph", false);
|
2015-01-21 20:31:33 +03:00
|
|
|
pref("devtools.performance.ui.flatten-tree-recursion", true);
|
|
|
|
pref("devtools.performance.ui.show-platform-data", false);
|
|
|
|
pref("devtools.performance.ui.show-idle-blocks", true);
|
|
|
|
pref("devtools.performance.ui.enable-memory", false);
|
2015-06-09 21:06:49 +03:00
|
|
|
pref("devtools.performance.ui.enable-allocations", false);
|
2015-01-21 20:31:33 +03:00
|
|
|
pref("devtools.performance.ui.enable-framerate", true);
|
2015-06-18 00:57:45 +03:00
|
|
|
pref("devtools.performance.ui.enable-jit-optimizations", false);
|
2015-08-20 23:10:47 +03:00
|
|
|
pref("devtools.performance.ui.show-triggers-for-gc-types",
|
|
|
|
"TOO_MUCH_MALLOC ALLOC_TRIGGER LAST_DITCH EAGER_ALLOC_TRIGGER");
|
2015-05-01 01:13:49 +03:00
|
|
|
|
2015-08-06 21:15:51 +03:00
|
|
|
// Temporary pref disabling memory flame views
|
|
|
|
// TODO remove once we have flame charts via bug 1148663
|
|
|
|
pref("devtools.performance.ui.enable-memory-flame", false);
|
|
|
|
|
2015-05-13 04:18:23 +03:00
|
|
|
// Enable experimental options in the UI only in Nightly
|
|
|
|
#if defined(NIGHTLY_BUILD)
|
|
|
|
pref("devtools.performance.ui.experimental", true);
|
|
|
|
#else
|
|
|
|
pref("devtools.performance.ui.experimental", false);
|
|
|
|
#endif
|
|
|
|
|
2014-07-17 13:39:56 +04:00
|
|
|
// The default cache UI setting
|
|
|
|
pref("devtools.cache.disabled", false);
|
|
|
|
|
2015-03-24 21:15:00 +03:00
|
|
|
// The default service workers UI setting
|
|
|
|
pref("devtools.serviceWorkers.testing.enabled", false);
|
|
|
|
|
2013-03-12 10:50:42 +04:00
|
|
|
// Enable the Network Monitor
|
|
|
|
pref("devtools.netmonitor.enabled", true);
|
|
|
|
|
|
|
|
// The default Network Monitor UI settings
|
2014-04-04 02:59:00 +04:00
|
|
|
pref("devtools.netmonitor.panes-network-details-width", 550);
|
2013-04-22 22:12:17 +04:00
|
|
|
pref("devtools.netmonitor.panes-network-details-height", 450);
|
2014-02-01 10:37:53 +04:00
|
|
|
pref("devtools.netmonitor.statistics", true);
|
2014-02-11 18:25:21 +04:00
|
|
|
pref("devtools.netmonitor.filters", "[\"all\"]");
|
2013-03-12 10:50:42 +04:00
|
|
|
|
2015-06-03 18:31:35 +03:00
|
|
|
// The default Network monitor HAR export setting
|
|
|
|
pref("devtools.netmonitor.har.defaultLogDir", "");
|
2015-06-17 15:34:45 +03:00
|
|
|
pref("devtools.netmonitor.har.defaultFileName", "Archive %y-%m-%d %H-%M-%S");
|
2015-06-03 18:31:35 +03:00
|
|
|
pref("devtools.netmonitor.har.jsonp", false);
|
|
|
|
pref("devtools.netmonitor.har.jsonpCallback", "");
|
|
|
|
pref("devtools.netmonitor.har.includeResponseBodies", true);
|
|
|
|
pref("devtools.netmonitor.har.compress", false);
|
|
|
|
pref("devtools.netmonitor.har.forceExport", false);
|
2015-06-17 15:34:45 +03:00
|
|
|
pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
|
|
|
|
pref("devtools.netmonitor.har.enableAutoExportToFile", false);
|
2015-06-03 18:31:35 +03:00
|
|
|
|
2011-11-10 14:09:18 +04:00
|
|
|
// Enable the Tilt inspector
|
|
|
|
pref("devtools.tilt.enabled", true);
|
2012-01-16 11:00:57 +04:00
|
|
|
pref("devtools.tilt.intro_transition", true);
|
|
|
|
pref("devtools.tilt.outro_transition", true);
|
2011-11-10 14:09:18 +04:00
|
|
|
|
2014-01-15 02:12:39 +04:00
|
|
|
// Scratchpad settings
|
|
|
|
// - recentFileMax: The maximum number of recently-opened files
|
|
|
|
// stored. Setting this preference to 0 will not
|
|
|
|
// clear any recent files, but rather hide the
|
|
|
|
// 'Open Recent'-menu.
|
2015-03-13 03:57:49 +03:00
|
|
|
// - lineNumbers: Whether to show line numbers or not.
|
|
|
|
// - wrapText: Whether to wrap text or not.
|
2014-01-15 02:12:39 +04:00
|
|
|
// - showTrailingSpace: Whether to highlight trailing space or not.
|
2015-03-13 03:57:49 +03:00
|
|
|
// - editorFontSize: Editor font size configuration.
|
2014-04-17 00:49:28 +04:00
|
|
|
// - enableAutocompletion: Whether to enable JavaScript autocompletion.
|
2012-07-03 17:40:12 +04:00
|
|
|
pref("devtools.scratchpad.recentFilesMax", 10);
|
2015-03-13 03:57:49 +03:00
|
|
|
pref("devtools.scratchpad.lineNumbers", true);
|
|
|
|
pref("devtools.scratchpad.wrapText", false);
|
2014-01-15 02:12:39 +04:00
|
|
|
pref("devtools.scratchpad.showTrailingSpace", false);
|
2015-03-13 03:57:49 +03:00
|
|
|
pref("devtools.scratchpad.editorFontSize", 12);
|
2014-04-17 00:49:28 +04:00
|
|
|
pref("devtools.scratchpad.enableAutocompletion", true);
|
2012-07-03 17:40:12 +04:00
|
|
|
|
2014-08-29 20:32:49 +04:00
|
|
|
// Enable the Storage Inspector
|
|
|
|
pref("devtools.storage.enabled", false);
|
|
|
|
|
2011-10-26 13:02:08 +04:00
|
|
|
// Enable the Style Editor.
|
|
|
|
pref("devtools.styleeditor.enabled", true);
|
2014-10-09 16:27:00 +04:00
|
|
|
pref("devtools.styleeditor.source-maps-enabled", true);
|
2014-01-28 19:08:41 +04:00
|
|
|
pref("devtools.styleeditor.autocompletion-enabled", true);
|
2014-06-12 00:14:52 +04:00
|
|
|
pref("devtools.styleeditor.showMediaSidebar", true);
|
2014-06-20 02:03:41 +04:00
|
|
|
pref("devtools.styleeditor.mediaSidebarWidth", 238);
|
|
|
|
pref("devtools.styleeditor.navSidebarWidth", 245);
|
2014-07-22 21:54:00 +04:00
|
|
|
pref("devtools.styleeditor.transitions", true);
|
2011-10-26 13:02:08 +04:00
|
|
|
|
2013-10-25 11:18:41 +04:00
|
|
|
// Enable the Shader Editor.
|
|
|
|
pref("devtools.shadereditor.enabled", false);
|
|
|
|
|
2014-03-29 21:01:37 +04:00
|
|
|
// Enable the Canvas Debugger.
|
|
|
|
pref("devtools.canvasdebugger.enabled", false);
|
|
|
|
|
2014-03-27 02:28:24 +04:00
|
|
|
// Enable the Web Audio Editor
|
|
|
|
pref("devtools.webaudioeditor.enabled", false);
|
|
|
|
|
2015-02-20 23:32:54 +03:00
|
|
|
// Web Audio Editor Inspector Width should be a preference
|
|
|
|
pref("devtools.webaudioeditor.inspectorWidth", 300);
|
|
|
|
|
2013-03-28 02:20:38 +04:00
|
|
|
// Default theme ("dark" or "light")
|
2014-11-01 16:41:51 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
2015-04-30 10:13:40 +03:00
|
|
|
sticky_pref("devtools.theme", "dark");
|
2014-11-01 16:41:51 +03:00
|
|
|
#else
|
2015-04-30 10:13:40 +03:00
|
|
|
sticky_pref("devtools.theme", "light");
|
2014-11-01 16:41:51 +03:00
|
|
|
#endif
|
2013-03-28 02:20:38 +04:00
|
|
|
|
2011-11-18 22:24:04 +04:00
|
|
|
// Remember the Web Console filters
|
|
|
|
pref("devtools.webconsole.filter.network", true);
|
2014-02-21 01:16:00 +04:00
|
|
|
pref("devtools.webconsole.filter.networkinfo", false);
|
2013-07-09 18:45:56 +04:00
|
|
|
pref("devtools.webconsole.filter.netwarn", true);
|
2015-01-21 21:39:45 +03:00
|
|
|
pref("devtools.webconsole.filter.netxhr", false);
|
2011-11-18 22:24:04 +04:00
|
|
|
pref("devtools.webconsole.filter.csserror", true);
|
2013-10-22 05:25:54 +04:00
|
|
|
pref("devtools.webconsole.filter.cssparser", false);
|
2013-10-22 11:43:00 +04:00
|
|
|
pref("devtools.webconsole.filter.csslog", false);
|
2011-11-18 22:24:04 +04:00
|
|
|
pref("devtools.webconsole.filter.exception", true);
|
2014-04-04 21:28:27 +04:00
|
|
|
pref("devtools.webconsole.filter.jswarn", true);
|
2014-03-26 15:43:27 +04:00
|
|
|
pref("devtools.webconsole.filter.jslog", false);
|
2011-11-18 22:24:04 +04:00
|
|
|
pref("devtools.webconsole.filter.error", true);
|
|
|
|
pref("devtools.webconsole.filter.warn", true);
|
|
|
|
pref("devtools.webconsole.filter.info", true);
|
|
|
|
pref("devtools.webconsole.filter.log", true);
|
2013-04-23 05:07:36 +04:00
|
|
|
pref("devtools.webconsole.filter.secerror", true);
|
|
|
|
pref("devtools.webconsole.filter.secwarn", true);
|
2015-04-26 11:37:59 +03:00
|
|
|
pref("devtools.webconsole.filter.serviceworkers", false);
|
|
|
|
pref("devtools.webconsole.filter.sharedworkers", false);
|
|
|
|
pref("devtools.webconsole.filter.windowlessworkers", false);
|
2015-08-17 13:48:01 +03:00
|
|
|
pref("devtools.webconsole.filter.servererror", false);
|
|
|
|
pref("devtools.webconsole.filter.serverwarn", false);
|
|
|
|
pref("devtools.webconsole.filter.serverinfo", false);
|
|
|
|
pref("devtools.webconsole.filter.serverlog", false);
|
2011-11-18 22:24:04 +04:00
|
|
|
|
2013-06-20 17:29:01 +04:00
|
|
|
// Remember the Browser Console filters
|
|
|
|
pref("devtools.browserconsole.filter.network", true);
|
2014-03-26 15:43:27 +04:00
|
|
|
pref("devtools.browserconsole.filter.networkinfo", false);
|
2013-07-09 18:45:56 +04:00
|
|
|
pref("devtools.browserconsole.filter.netwarn", true);
|
2015-01-21 21:39:45 +03:00
|
|
|
pref("devtools.browserconsole.filter.netxhr", false);
|
2013-06-20 17:29:01 +04:00
|
|
|
pref("devtools.browserconsole.filter.csserror", true);
|
2014-03-26 15:43:27 +04:00
|
|
|
pref("devtools.browserconsole.filter.cssparser", false);
|
2013-10-22 11:43:00 +04:00
|
|
|
pref("devtools.browserconsole.filter.csslog", false);
|
2013-06-20 17:29:01 +04:00
|
|
|
pref("devtools.browserconsole.filter.exception", true);
|
|
|
|
pref("devtools.browserconsole.filter.jswarn", true);
|
|
|
|
pref("devtools.browserconsole.filter.jslog", true);
|
|
|
|
pref("devtools.browserconsole.filter.error", true);
|
|
|
|
pref("devtools.browserconsole.filter.warn", true);
|
|
|
|
pref("devtools.browserconsole.filter.info", true);
|
|
|
|
pref("devtools.browserconsole.filter.log", true);
|
|
|
|
pref("devtools.browserconsole.filter.secerror", true);
|
|
|
|
pref("devtools.browserconsole.filter.secwarn", true);
|
2015-04-26 11:37:59 +03:00
|
|
|
pref("devtools.browserconsole.filter.serviceworkers", true);
|
|
|
|
pref("devtools.browserconsole.filter.sharedworkers", true);
|
|
|
|
pref("devtools.browserconsole.filter.windowlessworkers", true);
|
2015-08-17 13:48:01 +03:00
|
|
|
pref("devtools.browserconsole.filter.servererror", false);
|
|
|
|
pref("devtools.browserconsole.filter.serverwarn", false);
|
|
|
|
pref("devtools.browserconsole.filter.serverinfo", false);
|
|
|
|
pref("devtools.browserconsole.filter.serverlog", false);
|
2013-06-20 17:29:01 +04:00
|
|
|
|
2012-08-23 00:18:48 +04:00
|
|
|
// Text size in the Web Console. Use 0 for the system default size.
|
|
|
|
pref("devtools.webconsole.fontSize", 0);
|
|
|
|
|
2015-02-26 18:45:39 +03:00
|
|
|
// Max number of inputs to store in web console history.
|
|
|
|
pref("devtools.webconsole.inputHistoryCount", 50);
|
|
|
|
|
2013-06-03 21:57:13 +04:00
|
|
|
// Persistent logging: |true| if you want the Web Console to keep all of the
|
|
|
|
// logged messages after reloading the page, |false| if you want the output to
|
|
|
|
// be cleared each time page navigation happens.
|
|
|
|
pref("devtools.webconsole.persistlog", false);
|
|
|
|
|
2013-11-11 21:00:07 +04:00
|
|
|
// Web Console timestamp: |true| if you want the logs and instructions
|
|
|
|
// in the Web Console to display a timestamp, or |false| to not display
|
|
|
|
// any timestamps.
|
|
|
|
pref("devtools.webconsole.timestampMessages", false);
|
|
|
|
|
2011-05-20 00:15:36 +04:00
|
|
|
// The number of lines that are displayed in the web console for the Net,
|
2015-08-12 00:18:43 +03:00
|
|
|
// CSS, JS and Web Developer categories. These defaults should be kept in sync
|
|
|
|
// with DEFAULT_LOG_LIMIT in the webconsole frontend.
|
|
|
|
pref("devtools.hud.loglimit.network", 1000);
|
|
|
|
pref("devtools.hud.loglimit.cssparser", 1000);
|
|
|
|
pref("devtools.hud.loglimit.exception", 1000);
|
|
|
|
pref("devtools.hud.loglimit.console", 1000);
|
2011-05-20 00:15:36 +04:00
|
|
|
|
2014-04-01 02:26:53 +04:00
|
|
|
// By how many times eyedropper will magnify pixels
|
|
|
|
pref("devtools.eyedropper.zoom", 6);
|
|
|
|
|
2011-06-14 14:44:51 +04:00
|
|
|
// The developer tools editor configuration:
|
|
|
|
// - tabsize: how many spaces to use when a Tab character is displayed.
|
|
|
|
// - expandtab: expand Tab characters to spaces.
|
2014-01-16 00:04:19 +04:00
|
|
|
// - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
|
2014-01-31 08:21:00 +04:00
|
|
|
// - autoclosebrackets: whether to permit automatic bracket/quote closing.
|
2014-04-13 23:23:26 +04:00
|
|
|
// - detectindentation: whether to detect the indentation from the file
|
2015-03-13 03:57:49 +03:00
|
|
|
// - enableCodeFolding: Whether to enable code folding or not.
|
2014-04-21 00:28:00 +04:00
|
|
|
pref("devtools.editor.tabsize", 2);
|
2011-06-14 14:44:51 +04:00
|
|
|
pref("devtools.editor.expandtab", true);
|
2014-01-16 00:04:19 +04:00
|
|
|
pref("devtools.editor.keymap", "default");
|
2014-01-31 08:21:00 +04:00
|
|
|
pref("devtools.editor.autoclosebrackets", true);
|
2014-04-13 23:23:26 +04:00
|
|
|
pref("devtools.editor.detectindentation", true);
|
2014-09-12 15:36:00 +04:00
|
|
|
pref("devtools.editor.enableCodeFolding", true);
|
2014-06-30 13:23:00 +04:00
|
|
|
pref("devtools.editor.autocomplete", true);
|
2011-06-14 14:44:51 +04:00
|
|
|
|
2013-03-07 08:57:00 +04:00
|
|
|
// Enable the Font Inspector
|
|
|
|
pref("devtools.fontinspector.enabled", true);
|
|
|
|
|
2013-05-24 14:26:17 +04:00
|
|
|
// Pref to store the browser version at the time of a telemetry ping for an
|
|
|
|
// opened developer tool. This allows us to ping telemetry just once per browser
|
|
|
|
// version for each user.
|
|
|
|
pref("devtools.telemetry.tools.opened.version", "{}");
|
|
|
|
|
2010-09-22 01:56:52 +04: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");
|
|
|
|
|
2010-11-20 08:23:27 +03:00
|
|
|
// Allow using tab-modal prompts when possible.
|
|
|
|
pref("prompts.tab_modal.enabled", true);
|
2010-10-09 23:10:25 +04:00
|
|
|
// Whether the Panorama should animate going in/out of tabs
|
|
|
|
pref("browser.panorama.animate_zoom", true);
|
2011-11-08 04:20:53 +04:00
|
|
|
|
2012-08-13 20:30:18 +04:00
|
|
|
// Activates preloading of the new tab url.
|
2013-06-05 00:20:44 +04:00
|
|
|
pref("browser.newtab.preload", true);
|
2012-01-26 02:43:27 +04:00
|
|
|
|
2014-08-21 23:05:48 +04:00
|
|
|
// Remembers if the about:newtab intro has been shown
|
|
|
|
pref("browser.newtabpage.introShown", false);
|
|
|
|
|
2012-01-26 02:43:27 +04:00
|
|
|
// Toggles the content of 'about:newtab'. Shows the grid when enabled.
|
2012-02-01 14:46:40 +04:00
|
|
|
pref("browser.newtabpage.enabled", true);
|
2012-01-26 02:43:27 +04:00
|
|
|
|
2015-06-26 16:36:02 +03:00
|
|
|
// Toggles the enhanced content of 'about:newtab'. Shows sponsored tiles.
|
|
|
|
sticky_pref("browser.newtabpage.enhanced", true);
|
|
|
|
|
2012-08-17 09:01:03 +04:00
|
|
|
// number of rows of newtab grid
|
|
|
|
pref("browser.newtabpage.rows", 3);
|
|
|
|
|
|
|
|
// number of columns of newtab grid
|
2014-08-19 07:36:04 +04:00
|
|
|
pref("browser.newtabpage.columns", 5);
|
2012-08-17 09:01:03 +04:00
|
|
|
|
2014-06-10 09:03:23 +04:00
|
|
|
// directory tiles download URL
|
2015-04-01 11:02:50 +03:00
|
|
|
pref("browser.newtabpage.directory.source", "https://tiles.services.mozilla.com/v3/links/fetch/%LOCALE%/%CHANNEL%");
|
2014-03-27 12:03:42 +04:00
|
|
|
|
2014-08-09 03:40:40 +04:00
|
|
|
// endpoint to send newtab click and view pings
|
2015-04-01 11:02:50 +03:00
|
|
|
pref("browser.newtabpage.directory.ping", "https://tiles.services.mozilla.com/v3/links/");
|
2014-06-10 09:03:23 +04:00
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
// Enable the DOM fullscreen API.
|
2011-11-08 04:20:53 +04:00
|
|
|
pref("full-screen-api.enabled", true);
|
2011-11-08 09:20:42 +04:00
|
|
|
|
|
|
|
// Startup Crash Tracking
|
|
|
|
// number of startup crashes that can occur before starting into safe mode automatically
|
|
|
|
// (this pref has no effect if more than 6 hours have passed since the last crash)
|
2012-03-10 03:21:03 +04:00
|
|
|
pref("toolkit.startup.max_resumed_crashes", 3);
|
2012-04-23 08:42:13 +04:00
|
|
|
|
2012-06-02 20:56:24 +04:00
|
|
|
// Completely disable pdf.js as an option to preview pdfs within firefox.
|
|
|
|
// Note: if this is not disabled it does not necessarily mean pdf.js is the pdf
|
|
|
|
// handler just that it is an option.
|
|
|
|
pref("pdfjs.disabled", false);
|
|
|
|
// Used by pdf.js to know the first time firefox is run with it installed so it
|
|
|
|
// can become the default pdf viewer.
|
|
|
|
pref("pdfjs.firstRun", true);
|
|
|
|
// The values of preferredAction and alwaysAskBeforeHandling before pdf.js
|
|
|
|
// became the default.
|
|
|
|
pref("pdfjs.previousHandler.preferredAction", 0);
|
|
|
|
pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
|
|
|
|
|
2015-02-10 21:01:06 +03:00
|
|
|
// Shumway is only bundled in Nightly.
|
2013-10-22 05:39:43 +04:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2013-10-01 03:23:41 +04:00
|
|
|
pref("shumway.disabled", true);
|
2013-10-22 05:39:43 +04:00
|
|
|
#endif
|
2013-10-01 03:23:41 +04:00
|
|
|
|
2012-04-23 08:42:13 +04:00
|
|
|
// The maximum amount of decoded image data we'll willingly keep around (we
|
|
|
|
// might keep around more than this, but we'll try to get down to this value).
|
|
|
|
// (This is intentionally on the high side; see bug 746055.)
|
|
|
|
pref("image.mem.max_decoded_image_kb", 256000);
|
2012-06-27 06:03:32 +04:00
|
|
|
|
2014-07-16 18:15:07 +04:00
|
|
|
pref("loop.enabled", true);
|
2015-06-28 20:36:48 +03:00
|
|
|
pref("loop.textChat.enabled", true);
|
2014-11-21 23:42:22 +03:00
|
|
|
pref("loop.server", "https://loop.services.mozilla.com/v0");
|
2015-09-19 16:22:56 +03:00
|
|
|
pref("loop.linkClicker.url", "https://hello.firefox.com/");
|
2014-11-18 20:39:29 +03:00
|
|
|
pref("loop.gettingStarted.seen", false);
|
2014-12-22 20:25:35 +03:00
|
|
|
pref("loop.gettingStarted.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/hello/start/");
|
2014-12-18 06:37:19 +03:00
|
|
|
pref("loop.gettingStarted.resumeOnFirstJoin", false);
|
2014-10-09 19:45:04 +04:00
|
|
|
pref("loop.learnMoreUrl", "https://www.firefox.com/hello/");
|
2014-11-27 01:03:10 +03:00
|
|
|
pref("loop.legal.ToS_url", "https://www.mozilla.org/about/legal/terms/firefox-hello/");
|
|
|
|
pref("loop.legal.privacy_url", "https://www.mozilla.org/privacy/firefox-hello/");
|
2014-06-02 23:30:02 +04:00
|
|
|
pref("loop.do_not_disturb", false);
|
2014-11-06 16:51:50 +03:00
|
|
|
pref("loop.ringtone", "chrome://browser/content/loop/shared/sounds/ringtone.ogg");
|
2014-07-18 02:28:38 +04:00
|
|
|
pref("loop.retry_delay.start", 60000);
|
|
|
|
pref("loop.retry_delay.limit", 300000);
|
2014-12-03 03:54:06 +03:00
|
|
|
pref("loop.ping.interval", 1800000);
|
|
|
|
pref("loop.ping.timeout", 10000);
|
2014-08-04 16:28:26 +04:00
|
|
|
pref("loop.feedback.baseUrl", "https://input.mozilla.org/api/v1/feedback");
|
|
|
|
pref("loop.feedback.product", "Loop");
|
2014-09-25 20:00:32 +04:00
|
|
|
pref("loop.debug.loglevel", "Error");
|
2014-09-30 23:44:05 +04:00
|
|
|
pref("loop.debug.dispatcher", false);
|
2014-09-12 19:49:38 +04:00
|
|
|
pref("loop.debug.sdk", false);
|
2015-03-20 20:44:40 +03:00
|
|
|
pref("loop.debug.twoWayMediaTelemetry", false);
|
2015-07-20 17:47:00 +03:00
|
|
|
pref("loop.feedback.dateLastSeenSec", 0);
|
|
|
|
pref("loop.feedback.periodSec", 15770000); // 6 months.
|
2015-08-28 23:26:29 +03:00
|
|
|
pref("loop.feedback.formURL", "https://www.mozilla.org/firefox/hello/npssurvey/");
|
2014-10-07 00:25:04 +04:00
|
|
|
#ifdef DEBUG
|
2015-04-13 13:04:53 +03:00
|
|
|
pref("loop.CSP", "default-src 'self' about: file: chrome: http://localhost:*; img-src * data:; font-src 'none'; connect-src wss://*.tokbox.com https://*.opentok.com https://*.tokbox.com wss://*.mozilla.com https://*.mozilla.org wss://*.mozaws.net http://localhost:* ws://localhost:*; media-src blob:");
|
2014-10-07 00:25:04 +04:00
|
|
|
#else
|
2015-04-13 13:04:53 +03:00
|
|
|
pref("loop.CSP", "default-src 'self' about: file: chrome:; img-src * data:; font-src 'none'; connect-src wss://*.tokbox.com https://*.opentok.com https://*.tokbox.com wss://*.mozilla.com https://*.mozilla.org wss://*.mozaws.net; media-src blob:");
|
2014-10-07 00:25:04 +04:00
|
|
|
#endif
|
2014-10-02 14:37:38 +04:00
|
|
|
pref("loop.oauth.google.redirect_uri", "urn:ietf:wg:oauth:2.0:oob:auto");
|
|
|
|
pref("loop.oauth.google.scope", "https://www.google.com/m8/feeds");
|
2014-10-09 04:49:47 +04:00
|
|
|
pref("loop.fxa_oauth.tokendata", "");
|
|
|
|
pref("loop.fxa_oauth.profile", "");
|
2014-11-24 12:57:44 +03:00
|
|
|
pref("loop.support_url", "https://support.mozilla.org/kb/group-conversations-firefox-hello-webrtc");
|
2015-02-27 13:08:28 +03:00
|
|
|
pref("loop.contacts.gravatars.show", false);
|
|
|
|
pref("loop.contacts.gravatars.promo", true);
|
2015-03-12 17:13:38 +03:00
|
|
|
pref("loop.browserSharing.showInfoBar", true);
|
2015-05-08 15:46:53 +03:00
|
|
|
pref("loop.contextInConversations.enabled", true);
|
2014-05-30 00:13:46 +04:00
|
|
|
|
2012-10-24 04:09:59 +04:00
|
|
|
pref("social.sidebar.unload_timeout_ms", 10000);
|
2012-08-30 04:20:00 +04:00
|
|
|
|
2015-06-04 19:24:45 +03:00
|
|
|
// Activation from inside of share panel is possible if activationPanelEnabled
|
2014-10-09 23:01:39 +04:00
|
|
|
// is true. Pref'd off for release while usage testing is done through beta.
|
|
|
|
pref("social.share.activationPanelEnabled", true);
|
|
|
|
pref("social.shareDirectory", "https://activations.cdn.mozilla.net/sharePanel.html");
|
|
|
|
|
2012-08-30 04:20:00 +04:00
|
|
|
pref("dom.identity.enabled", false);
|
2013-03-07 08:45:08 +04:00
|
|
|
|
2013-04-05 01:52:55 +04:00
|
|
|
// Block insecure active content on https pages
|
|
|
|
pref("security.mixed_content.block_active_content", true);
|
|
|
|
|
2014-06-03 02:06:30 +04:00
|
|
|
// 1 = allow MITM for certificate pinning checks.
|
|
|
|
pref("security.cert_pinning.enforcement_level", 1);
|
|
|
|
|
2015-09-11 21:52:30 +03:00
|
|
|
// 2 = allow SHA-1 only before 2016-01-01
|
|
|
|
pref("security.pki.sha1_enforcement_level", 2);
|
|
|
|
|
2015-05-07 20:54:05 +03:00
|
|
|
// Required blocklist freshness for OneCRL OCSP bypass
|
2015-09-10 13:10:07 +03:00
|
|
|
// (default is 1.25x extensions.blocklist.interval, or 30 hours)
|
|
|
|
pref("security.onecrl.maximum_staleness_in_seconds", 108000);
|
2015-05-07 20:54:05 +03:00
|
|
|
|
2013-03-07 08:45:08 +04:00
|
|
|
// Override the Gecko-default value of false for Firefox.
|
|
|
|
pref("plain_text.wrap_long_lines", true);
|
2013-03-16 09:35:22 +04:00
|
|
|
|
2013-03-31 08:17:38 +04:00
|
|
|
// If this turns true, Moz*Gesture events are not called stopPropagation()
|
|
|
|
// before content.
|
|
|
|
pref("dom.debug.propagate_gesture_events_through_content", false);
|
2013-06-13 06:20:07 +04:00
|
|
|
|
|
|
|
// The request URL of the GeoLocation backend.
|
2015-01-15 10:39:01 +03:00
|
|
|
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
2013-07-27 01:26:31 +04:00
|
|
|
|
2015-01-26 14:25:00 +03:00
|
|
|
#ifdef XP_MACOSX
|
2015-07-01 01:40:32 +03:00
|
|
|
pref("geo.provider.use_corelocation", true);
|
|
|
|
#endif
|
2015-01-26 14:25:00 +03:00
|
|
|
|
2015-03-10 19:48:05 +03:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("geo.provider.ms-windows-location", false);
|
|
|
|
#endif
|
|
|
|
|
2013-07-27 01:26:31 +04:00
|
|
|
// Necko IPC security checks only needed for app isolation for cookies/cache/etc:
|
|
|
|
// currently irrelevant for desktop e10s
|
|
|
|
pref("network.disable.ipc.security", true);
|
2013-07-28 13:50:05 +04:00
|
|
|
|
2013-06-21 04:40:45 +04:00
|
|
|
// CustomizableUI debug logging.
|
|
|
|
pref("browser.uiCustomization.debug", false);
|
2013-12-03 01:56:24 +04:00
|
|
|
|
2014-02-14 22:51:33 +04:00
|
|
|
// CustomizableUI state of the browser's user interface
|
|
|
|
pref("browser.uiCustomization.state", "");
|
|
|
|
|
2014-03-12 02:58:27 +04:00
|
|
|
// The remote content URL shown for FxA signup. Must use HTTPS.
|
|
|
|
pref("identity.fxaccounts.remote.signup.uri", "https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v1");
|
2013-12-17 08:45:03 +04:00
|
|
|
|
2014-02-01 05:27:59 +04:00
|
|
|
// The URL where remote content that forces re-authentication for Firefox Accounts
|
|
|
|
// should be fetched. Must use HTTPS.
|
|
|
|
pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.firefox.com/force_auth?service=sync&context=fx_desktop_v1");
|
|
|
|
|
2014-02-18 15:05:13 +04:00
|
|
|
// The remote content URL shown for signin in. Must use HTTPS.
|
|
|
|
pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com/signin?service=sync&context=fx_desktop_v1");
|
|
|
|
|
2015-04-11 15:23:08 +03:00
|
|
|
// The remote content URL where FxAccountsWebChannel messages originate.
|
|
|
|
pref("identity.fxaccounts.remote.webchannel.uri", "https://accounts.firefox.com/");
|
|
|
|
|
2014-01-24 17:33:39 +04:00
|
|
|
// The URL we take the user to when they opt to "manage" their Firefox Account.
|
|
|
|
// Note that this will always need to be in the same TLD as the
|
2014-03-12 02:58:27 +04:00
|
|
|
// "identity.fxaccounts.remote.signup.uri" pref.
|
2014-01-24 17:33:39 +04:00
|
|
|
pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com/settings");
|
2014-01-24 17:33:39 +04:00
|
|
|
|
2015-02-06 00:31:23 +03:00
|
|
|
// The remote URL of the FxA Profile Server
|
|
|
|
pref("identity.fxaccounts.remote.profile.uri", "https://profile.accounts.firefox.com/v1");
|
|
|
|
|
|
|
|
// The remote URL of the FxA OAuth Server
|
|
|
|
pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
|
|
|
|
|
2015-06-18 12:28:11 +03:00
|
|
|
// Whether we display profile images in the UI or not.
|
|
|
|
pref("identity.fxaccounts.profile_image.enabled", true);
|
|
|
|
|
2015-07-16 06:19:10 +03:00
|
|
|
// Token server used by the FxA Sync identity.
|
|
|
|
pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
|
|
|
|
|
2014-10-27 16:15:12 +03:00
|
|
|
// Migrate any existing Firefox Account data from the default profile to the
|
|
|
|
// Developer Edition profile.
|
2014-11-01 16:41:51 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
|
|
|
pref("identity.fxaccounts.migrateToDevEdition", true);
|
|
|
|
#else
|
2014-10-27 16:15:12 +03:00
|
|
|
pref("identity.fxaccounts.migrateToDevEdition", false);
|
2014-11-01 16:41:51 +03:00
|
|
|
#endif
|
2014-10-27 16:15:12 +03:00
|
|
|
|
2014-02-18 21:07:27 +04:00
|
|
|
// On GTK, we now default to showing the menubar only when alt is pressed:
|
|
|
|
#ifdef MOZ_WIDGET_GTK
|
|
|
|
pref("ui.key.menuAccessKeyFocuses", true);
|
|
|
|
#endif
|
|
|
|
|
2014-06-07 00:52:15 +04:00
|
|
|
// Encrypted media extensions.
|
2014-11-27 06:16:38 +03:00
|
|
|
pref("media.eme.enabled", true);
|
2015-02-12 01:27:25 +03:00
|
|
|
pref("media.eme.apiVisible", true);
|
2015-03-09 06:24:26 +03:00
|
|
|
|
2015-10-08 10:40:09 +03:00
|
|
|
// If decoding-via-gmp is turned on for <video>, default to using
|
|
|
|
// Adobe's GMP for decoding.
|
|
|
|
pref("media.fragmented-mp4.gmp.aac", 2);
|
|
|
|
pref("media.fragmented-mp4.gmp.h264", 2);
|
|
|
|
|
2015-09-18 09:35:14 +03:00
|
|
|
// Whether we should run a test-pattern through EME GMPs before assuming they'll
|
|
|
|
// decode H.264.
|
|
|
|
pref("media.gmp.trial-create.enabled", true);
|
|
|
|
|
2015-06-03 13:44:55 +03:00
|
|
|
#ifdef MOZ_ADOBE_EME
|
2015-06-05 05:17:58 +03:00
|
|
|
pref("browser.eme.ui.enabled", true);
|
2015-03-09 06:24:26 +03:00
|
|
|
pref("media.gmp-eme-adobe.enabled", true);
|
2014-11-27 06:16:38 +03:00
|
|
|
#endif
|
2014-02-18 22:06:06 +04:00
|
|
|
|
2014-04-04 16:42:06 +04:00
|
|
|
// Play with different values of the decay time and get telemetry,
|
|
|
|
// 0 means to randomize (and persist) the experiment value in users' profiles,
|
|
|
|
// -1 means no experiment is run and we use the preferred value for frecency (6h)
|
|
|
|
pref("browser.cache.frecency_experiment", 0);
|
2014-03-19 01:52:28 +04:00
|
|
|
|
2014-04-17 02:02:33 +04:00
|
|
|
pref("browser.translation.detectLanguage", false);
|
2014-05-13 11:57:08 +04:00
|
|
|
pref("browser.translation.neverForLanguages", "");
|
2014-05-23 19:16:27 +04:00
|
|
|
// Show the translation UI bits, like the info bar, notification icon and preferences.
|
|
|
|
pref("browser.translation.ui.show", false);
|
2015-06-04 23:49:55 +03:00
|
|
|
// Allows to define the translation engine. Bing is default, Yandex may optionally switched on.
|
|
|
|
pref("browser.translation.engine", "bing");
|
2014-04-17 02:02:33 +04:00
|
|
|
|
2015-04-23 20:22:28 +03:00
|
|
|
// Telemetry settings.
|
|
|
|
// Determines if Telemetry pings can be archived locally.
|
|
|
|
pref("toolkit.telemetry.archive.enabled", true);
|
2015-08-11 13:17:30 +03:00
|
|
|
// Whether we enable opt-out Telemetry for a sample of the release population.
|
|
|
|
pref("toolkit.telemetry.optoutSample", true);
|
2015-04-23 20:22:28 +03:00
|
|
|
|
2014-03-19 01:52:28 +04:00
|
|
|
// Telemetry experiments settings.
|
2014-03-27 18:49:30 +04:00
|
|
|
pref("experiments.enabled", true);
|
2014-03-19 01:52:28 +04:00
|
|
|
pref("experiments.manifest.fetchIntervalSeconds", 86400);
|
2014-03-19 01:52:29 +04:00
|
|
|
pref("experiments.manifest.uri", "https://telemetry-experiment.cdn.mozilla.net/manifest/v1/firefox/%VERSION%/%CHANNEL%");
|
2014-03-20 02:02:58 +04:00
|
|
|
// Whether experiments are supported by the current application profile.
|
|
|
|
pref("experiments.supported", true);
|
2014-07-16 17:49:30 +04:00
|
|
|
|
2015-02-17 20:50:21 +03:00
|
|
|
// Enable GMP support in the addon manager.
|
|
|
|
pref("media.gmp-provider.enabled", true);
|
2014-09-19 02:20:38 +04:00
|
|
|
|
|
|
|
pref("browser.apps.URL", "https://marketplace.firefox.com/discovery/");
|
2014-10-24 01:43:51 +04:00
|
|
|
|
2014-10-28 19:55:14 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2014-10-24 01:43:51 +04:00
|
|
|
pref("browser.polaris.enabled", false);
|
|
|
|
pref("privacy.trackingprotection.ui.enabled", false);
|
2014-10-28 19:55:14 +03:00
|
|
|
#endif
|
2015-07-16 23:38:20 +03:00
|
|
|
pref("privacy.trackingprotection.introCount", 0);
|
2015-09-19 02:29:47 +03:00
|
|
|
pref("privacy.trackingprotection.introURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tracking-protection/start/");
|
2014-10-28 18:59:08 +03:00
|
|
|
|
2015-09-28 23:00:28 +03:00
|
|
|
// Enable Contextual Identity Containers
|
|
|
|
pref("privacy.userContext.enabled", false);
|
|
|
|
|
2015-07-30 22:54:43 +03:00
|
|
|
#ifndef RELEASE_BUILD
|
2015-04-06 21:06:46 +03:00
|
|
|
// At the moment, autostart.2 is used, while autostart.1 is unused.
|
|
|
|
// We leave it here set to false to reset users' defaults and allow
|
|
|
|
// us to change everybody to true in the future, when desired.
|
|
|
|
pref("browser.tabs.remote.autostart.1", false);
|
|
|
|
pref("browser.tabs.remote.autostart.2", true);
|
2014-11-06 22:58:40 +03:00
|
|
|
#endif
|
|
|
|
|
2015-10-01 00:50:48 +03:00
|
|
|
// For the about:tabcrashed page
|
|
|
|
pref("browser.tabs.crashReporting.sendReport", true);
|
|
|
|
pref("browser.tabs.crashReporting.includeURL", false);
|
|
|
|
pref("browser.tabs.crashReporting.emailMe", false);
|
|
|
|
pref("browser.tabs.crashReporting.email", "");
|
|
|
|
|
2015-07-22 05:21:17 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2015-09-30 07:32:19 +03:00
|
|
|
#ifndef MOZ_MULET
|
2015-07-22 05:21:17 +03:00
|
|
|
pref("layers.async-pan-zoom.enabled", true);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2015-05-01 00:52:08 +03:00
|
|
|
#ifdef E10S_TESTING_ONLY
|
2014-11-22 01:01:23 +03:00
|
|
|
// Enable e10s add-on interposition by default.
|
|
|
|
pref("extensions.interposition.enabled", true);
|
2015-01-06 00:49:44 +03:00
|
|
|
pref("extensions.interposition.prefetching", true);
|
2014-11-22 01:01:23 +03:00
|
|
|
#endif
|
|
|
|
|
2014-11-03 03:08:58 +03:00
|
|
|
pref("browser.defaultbrowser.notificationbar", false);
|
2014-12-19 04:35:44 +03:00
|
|
|
|
2015-01-17 05:34:47 +03:00
|
|
|
// How often to check for CPOW timeouts. CPOWs are only timed out by
|
|
|
|
// the hang monitor.
|
|
|
|
pref("dom.ipc.cpow.timeout", 500);
|
|
|
|
|
|
|
|
// Enable e10s hang monitoring (slow script checking and plugin hang
|
|
|
|
// detection).
|
|
|
|
pref("dom.ipc.processHangMonitor", true);
|
2015-01-23 02:53:49 +03:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
// Don't report hangs in DEBUG builds. They're too slow and often a
|
|
|
|
// debugger is attached.
|
|
|
|
pref("dom.ipc.reportProcessHangs", false);
|
|
|
|
#else
|
2015-01-17 05:34:47 +03:00
|
|
|
pref("dom.ipc.reportProcessHangs", true);
|
2015-01-23 02:53:49 +03:00
|
|
|
#endif
|
2015-01-13 03:13:51 +03:00
|
|
|
|
2015-04-30 23:43:47 +03:00
|
|
|
pref("browser.reader.detectedFirstArticle", false);
|
2015-04-16 18:24:08 +03:00
|
|
|
// Don't limit how many nodes we care about on desktop:
|
|
|
|
pref("reader.parse-node-limit", 0);
|
2015-04-17 23:11:58 +03:00
|
|
|
|
2015-07-17 15:30:42 +03:00
|
|
|
// On desktop, we want the URLs to be included here for ease of debugging,
|
|
|
|
// and because (normally) these errors are not persisted anywhere.
|
|
|
|
pref("reader.errors.includeURLs", true);
|
|
|
|
|
2015-05-05 21:57:00 +03:00
|
|
|
pref("browser.pocket.enabled", true);
|
2015-05-06 00:55:29 +03:00
|
|
|
pref("browser.pocket.api", "api.getpocket.com");
|
|
|
|
pref("browser.pocket.site", "getpocket.com");
|
2015-05-02 00:16:42 +03:00
|
|
|
pref("browser.pocket.oAuthConsumerKey", "40249-e88c401e1b1f2242d9e441c4");
|
2015-04-24 21:29:05 +03:00
|
|
|
pref("browser.pocket.useLocaleList", true);
|
2015-07-29 22:52:30 +03:00
|
|
|
pref("browser.pocket.enabledLocales", "cs de en-GB en-US en-ZA es-ES es-MX fr hu it ja ja-JP-mac ko nl pl pt-BR pt-PT ru zh-CN zh-TW");
|
2015-05-24 02:17:50 +03:00
|
|
|
|
|
|
|
pref("view_source.tab", true);
|
2015-06-05 22:25:49 +03:00
|
|
|
|
2015-07-15 23:12:44 +03:00
|
|
|
// Enable ServiceWorkers for Push API consumers.
|
2015-09-16 18:55:23 +03:00
|
|
|
// Interception is still disabled on beta and release.
|
2015-06-05 22:25:49 +03:00
|
|
|
pref("dom.serviceWorkers.enabled", true);
|
2015-07-15 23:12:44 +03:00
|
|
|
|
2015-09-16 18:55:23 +03:00
|
|
|
#ifndef RELEASE_BUILD
|
2015-08-13 18:55:03 +03:00
|
|
|
pref("dom.serviceWorkers.interception.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2015-07-15 23:12:44 +03:00
|
|
|
// Enable Push API.
|
|
|
|
pref("dom.push.enabled", true);
|
2015-09-25 21:27:16 +03:00
|
|
|
|
|
|
|
// These are the thumbnail width/height set in about:newtab.
|
|
|
|
// If you change this, ENSURE IT IS THE SAME SIZE SET
|
|
|
|
// by about:newtab. These values are in CSS pixels.
|
|
|
|
pref("toolkit.pageThumbs.minWidth", 280);
|
|
|
|
pref("toolkit.pageThumbs.minHeight", 190);
|