2012-08-15 00:07:10 -07:00
|
|
|
# -*- Mode: JavaScript; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// XXX Toolkit-specific preferences should be moved into toolkit.js
|
|
|
|
|
|
|
|
#filter substitution
|
|
|
|
|
2012-03-14 15:49:17 -07: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.
|
|
|
|
#
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
#define UNIX_BUT_NOT_MAC
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pref("browser.chromeURL","chrome://browser/content/");
|
|
|
|
pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
|
|
|
|
|
|
|
|
// Enables some extra Extension System Logging (can reduce performance)
|
|
|
|
pref("extensions.logging.enabled", false);
|
|
|
|
|
2011-11-16 20:27:26 -08:00
|
|
|
// Disables strict compatibility, making addons compatible-by-default.
|
|
|
|
pref("extensions.strictCompatibility", false);
|
2011-10-31 22:48:45 -07:00
|
|
|
|
2011-11-13 17:26:35 -08: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");
|
|
|
|
|
2010-08-27 19:45:11 -07:00
|
|
|
// Preferences for AMO integration
|
2010-08-23 18:04:06 -07:00
|
|
|
pref("extensions.getAddons.cache.enabled", true);
|
2010-07-19 16:01:23 -07:00
|
|
|
pref("extensions.getAddons.maxResults", 15);
|
2011-11-04 18:05:37 -07: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-01-31 17:22:42 -08: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 00:18:30 -08:00
|
|
|
pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
|
2011-12-11 18:02:13 -08: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 02:37:43 -08:00
|
|
|
pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%");
|
2013-04-14 15:11:24 -07: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");
|
2008-01-28 09:11:48 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Blocklist preferences
|
|
|
|
pref("extensions.blocklist.enabled", true);
|
|
|
|
pref("extensions.blocklist.interval", 86400);
|
2008-11-02 04:13:48 -08:00
|
|
|
// Controls what level the blocklist switches from warning about items to forcibly
|
|
|
|
// blocking them.
|
|
|
|
pref("extensions.blocklist.level", 2);
|
2011-01-14 13:29:27 -08:00
|
|
|
pref("extensions.blocklist.url", "https://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 11:46:34 -07:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.org/%LOCALE%/blocklist/");
|
2011-05-25 14:31:56 -07:00
|
|
|
pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2010-09-13 23:56:54 -07:00
|
|
|
pref("extensions.update.autoUpdateDefault", true);
|
|
|
|
|
2011-12-16 12:04:50 -08:00
|
|
|
pref("extensions.hotfix.id", "firefox-hotfix@mozilla.org");
|
2011-12-16 12:04:28 -08:00
|
|
|
pref("extensions.hotfix.cert.checkAttributes", true);
|
2013-09-19 10:31:33 -07: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");
|
2011-12-16 12:04:50 -08:00
|
|
|
|
2012-05-21 15:58:02 -07: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 11:37:15 -07:00
|
|
|
pref("extensions.autoDisableScopes", 15);
|
2011-08-12 13:50:47 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Dictionary download preference
|
2011-05-08 22:39:14 -07:00
|
|
|
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-07-30 20:19:58 -07: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-26 14:36:30 -07:00
|
|
|
// The minimum delay in seconds for the timer to fire.
|
|
|
|
// default=2 minutes
|
|
|
|
pref("app.update.timerMinimumDelay", 120);
|
2009-09-18 11:03:27 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// App-specific update preferences
|
|
|
|
|
2009-09-18 11:03:27 -07:00
|
|
|
// The interval to check for updates (app.update.interval) is defined in
|
|
|
|
// firefox-branding.js
|
|
|
|
|
2010-09-23 21:02:08 -07: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-01 19:02:21 -07:00
|
|
|
// Enables some extra Application Update Logging (can reduce performance)
|
|
|
|
pref("app.update.log", false);
|
|
|
|
|
2010-09-14 18:49:10 -07: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-19 22:36:40 -07:00
|
|
|
// The aus update xml certificate checks for application update are disabled on
|
|
|
|
// Windows since the mar signature check which is currently only implemented on
|
|
|
|
// Windows is sufficient for preventing us from applying a mar that is not
|
|
|
|
// valid.
|
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("app.update.cert.requireBuiltIn", false);
|
|
|
|
pref("app.update.cert.checkAttributes", false);
|
|
|
|
#else
|
2010-09-01 16:27:07 -07:00
|
|
|
// When |app.update.cert.requireBuiltIn| is true or not specified the
|
|
|
|
// final certificate and all certificates the connection is redirected to before
|
|
|
|
// the final certificate for the url specified in the |app.update.url|
|
|
|
|
// preference must be built-in.
|
|
|
|
pref("app.update.cert.requireBuiltIn", true);
|
|
|
|
|
|
|
|
// When |app.update.cert.checkAttributes| is true or not specified the
|
|
|
|
// certificate attributes specified in the |app.update.certs.| preference branch
|
|
|
|
// are checked against the certificate for the url specified by the
|
|
|
|
// |app.update.url| preference.
|
|
|
|
pref("app.update.cert.checkAttributes", true);
|
|
|
|
|
|
|
|
// The number of certificate attribute check failures to allow for background
|
|
|
|
// update checks before notifying the user of the failure. User initiated update
|
|
|
|
// checks always notify the user of the certificate attribute check failure.
|
|
|
|
pref("app.update.cert.maxErrors", 5);
|
|
|
|
|
2010-08-01 19:02:21 -07:00
|
|
|
// The |app.update.certs.| preference branch contains branches that are
|
|
|
|
// sequentially numbered starting at 1 that contain attribute name / value
|
|
|
|
// pairs for the certificate used by the server that hosts the update xml file
|
|
|
|
// as specified in the |app.update.url| preference. When these preferences are
|
|
|
|
// present the following conditions apply for a successful update check:
|
|
|
|
// 1. the uri scheme must be https
|
|
|
|
// 2. the preference name must exist as an attribute name on the certificate and
|
|
|
|
// the value for the name must be the same as the value for the attribute name
|
|
|
|
// on the certificate.
|
|
|
|
// If these conditions aren't met it will be treated the same as when there is
|
2012-10-15 12:26:38 -07:00
|
|
|
// no update available. This validation will not be performed when the
|
|
|
|
// |app.update.url.override| user preference has been set for testing updates or
|
|
|
|
// when the |app.update.cert.checkAttributes| preference is set to false. Also,
|
|
|
|
// the |app.update.url.override| preference should ONLY be used for testing.
|
2013-05-22 07:16:53 -07:00
|
|
|
// IMPORTANT! metro.js should also be updated for updates to certs.X.issuerName
|
2013-09-30 13:42:21 -07:00
|
|
|
|
2013-10-17 07:39:25 -07:00
|
|
|
// Non-release builds (Nightly, Aurora, etc.) have been switched over to aus4.mozilla.org.
|
|
|
|
// This condition protects us against accidentally using it for release builds.
|
|
|
|
#ifndef RELEASE_BUILD
|
2013-09-30 06:50:03 -07:00
|
|
|
pref("app.update.certs.1.issuerName", "CN=DigiCert Secure Server CA,O=DigiCert Inc,C=US");
|
|
|
|
pref("app.update.certs.1.commonName", "aus4.mozilla.org");
|
2010-09-10 18:40:18 -07:00
|
|
|
|
|
|
|
pref("app.update.certs.2.issuerName", "CN=Thawte SSL CA,O=\"Thawte, Inc.\",C=US");
|
2013-09-30 06:50:03 -07:00
|
|
|
pref("app.update.certs.2.commonName", "aus4.mozilla.org");
|
2013-09-30 13:42:21 -07:00
|
|
|
#else
|
|
|
|
pref("app.update.certs.1.issuerName", "OU=Equifax Secure Certificate Authority,O=Equifax,C=US");
|
|
|
|
pref("app.update.certs.1.commonName", "aus3.mozilla.org");
|
|
|
|
|
|
|
|
pref("app.update.certs.2.issuerName", "CN=Thawte SSL CA,O=\"Thawte, Inc.\",C=US");
|
|
|
|
pref("app.update.certs.2.commonName", "aus3.mozilla.org");
|
|
|
|
#endif
|
2013-10-19 22:36:40 -07:00
|
|
|
#endif
|
2010-08-01 19:02:21 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Whether or not app updates are enabled
|
|
|
|
pref("app.update.enabled", true);
|
|
|
|
|
|
|
|
// 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-01 19:02:21 -07:00
|
|
|
// See chart in nsUpdateService.js source for more details
|
2013-06-12 07:31:09 -07:00
|
|
|
// incompatibilities are ignored by updates in Metro
|
2013-07-01 16:12:12 -07:00
|
|
|
pref("app.update.mode", 1);
|
2013-06-12 07:31:09 -07:00
|
|
|
|
|
|
|
#ifdef XP_WIN
|
|
|
|
#ifdef MOZ_METRO
|
|
|
|
// Enables update checking in the Metro environment.
|
|
|
|
// add-on incompatibilities are ignored by updates in Metro.
|
|
|
|
pref("app.update.metro.enabled", true);
|
|
|
|
#endif
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// If set to true, the Update Service will present no UI for any event.
|
|
|
|
pref("app.update.silent", false);
|
|
|
|
|
2012-05-22 07:50:04 -07:00
|
|
|
// If set to true, the Update Service will apply updates in the background
|
|
|
|
// when it finishes downloading them.
|
2012-09-11 19:13:14 -07:00
|
|
|
pref("app.update.staging.enabled", true);
|
2012-05-22 07:50:04 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Update service URL:
|
2013-10-17 07:39:25 -07:00
|
|
|
#ifndef RELEASE_BUILD
|
2013-09-30 06:50:03 -07:00
|
|
|
pref("app.update.url", "https://aus4.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
2013-09-30 13:42:21 -07:00
|
|
|
#else
|
|
|
|
pref("app.update.url", "https://aus3.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
// app.update.url.manual is in branding section
|
|
|
|
// app.update.url.details is in branding section
|
|
|
|
|
|
|
|
// User-settable override to app.update.url for testing purposes.
|
|
|
|
//pref("app.update.url.override", "");
|
|
|
|
|
2008-11-04 21:50:52 -08:00
|
|
|
// app.update.interval is in branding section
|
2011-10-08 08:19:32 -07:00
|
|
|
// app.update.promptWaitTime is in branding section
|
2008-11-04 21:50:52 -08:00
|
|
|
|
2008-01-08 23:37:06 -08:00
|
|
|
// Show the Update Checking/Ready UI when the user was idle for x seconds
|
2007-11-20 02:08:55 -08:00
|
|
|
pref("app.update.idletime", 60);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// Whether or not we show a dialog box informing the user that the update was
|
|
|
|
// successfully applied. This is off in Firefox by default since we show a
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
// 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-04 20:19:14 -08:00
|
|
|
// Whether or not to attempt using the service for updates.
|
|
|
|
#ifdef MOZ_MAINTENANCE_SERVICE
|
|
|
|
pref("app.update.service.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07: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-01 18:28:16 -08: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 00:18:28 -08: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%");
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("extensions.update.interval", 86400); // Check for updates to Extensions and
|
|
|
|
// Themes every day
|
|
|
|
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
|
|
|
|
pref("extensions.dss.enabled", false); // Dynamic Skin Switching
|
|
|
|
pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next
|
|
|
|
// restart.
|
|
|
|
|
2009-08-17 07:32:22 -07: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-09-22 01:40:12 -07:00
|
|
|
pref("xpinstall.whitelist.add", "addons.mozilla.org");
|
2012-12-05 13:03:05 -08:00
|
|
|
pref("xpinstall.whitelist.add.180", "marketplace.firefox.com");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-11-16 23:55:47 -08:00
|
|
|
pref("lightweightThemes.update.enabled", true);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-05-29 14:50:59 -07:00
|
|
|
// UI tour experience.
|
|
|
|
pref("browser.uitour.enabled", true);
|
|
|
|
pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/");
|
|
|
|
pref("browser.uitour.pinnedTabUrl", "https://support.mozilla.org/%LOCALE%/kb/pinned-tabs-keep-favorite-websites-open");
|
|
|
|
pref("browser.uitour.whitelist.add.260", "www.mozilla.org,support.mozilla.org");
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("keyword.enabled", true);
|
|
|
|
|
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
|
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
|
|
|
|
2012-01-13 16:26:34 -08:00
|
|
|
pref("general.smoothScroll", true);
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("general.autoScroll", false);
|
|
|
|
#else
|
|
|
|
pref("general.autoScroll", true);
|
|
|
|
#endif
|
|
|
|
|
2012-01-22 21:07:52 -08:00
|
|
|
// At startup, check if we're the default browser and prompt user if not.
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.shell.checkDefaultBrowser", true);
|
2013-05-29 08:00:18 -07:00
|
|
|
pref("browser.shell.shortcutFavicons",true);
|
2007-03-22 10:30:00 -07: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
|
|
|
|
pref("browser.startup.page", 1);
|
2010-05-24 02:38:31 -07:00
|
|
|
pref("browser.startup.homepage", "chrome://branding/locale/browserconfig.properties");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-02-01 13:47:07 -08:00
|
|
|
pref("browser.slowStartup.notificationDisabled", false);
|
|
|
|
pref("browser.slowStartup.timeThreshold", 60000);
|
|
|
|
pref("browser.slowStartup.maxSamples", 5);
|
|
|
|
|
2011-02-04 08:38:41 -08:00
|
|
|
// This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
|
|
|
|
// this page over http opens us up to a man-in-the-middle attack that we'd rather not face. If you are a downstream
|
|
|
|
// repackager of this code using an alternate snippet url, please keep your users safe
|
|
|
|
pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
2010-11-08 06:03:42 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
2011-02-07 17:50:37 -08: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 03:30:39 -08:00
|
|
|
pref("browser.fullscreen.autohide", true);
|
|
|
|
pref("browser.fullscreen.animateUp", 1);
|
2011-09-27 00:51:56 -07:00
|
|
|
pref("browser.overlink-delay", 80);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2007-12-19 14:43:12 -08:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2007-08-04 01:35:28 -07: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
|
2012-03-13 03:30:34 -07:00
|
|
|
pref("browser.urlbar.autoFill", true);
|
2012-02-17 05:24:58 -08:00
|
|
|
pref("browser.urlbar.autoFill.typed", true);
|
2008-04-23 21:20:05 -07: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 08:45:33 -07:00
|
|
|
// 3: Match at the beginning of the url or title
|
2008-04-23 21:20:05 -07:00
|
|
|
pref("browser.urlbar.matchBehavior", 1);
|
2008-02-23 16:54:19 -08:00
|
|
|
pref("browser.urlbar.filter.javascript", true);
|
2007-08-04 01:35:28 -07:00
|
|
|
|
2007-11-29 20:57:57 -08:00
|
|
|
// the maximum number of results to show in autocomplete when doing richResults
|
2008-03-21 23:58:41 -07:00
|
|
|
pref("browser.urlbar.maxRichResults", 12);
|
2009-06-16 11:56:36 -07: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 02:29:20 -08:00
|
|
|
pref("browser.urlbar.delay", 50);
|
2007-11-29 20:57:57 -08:00
|
|
|
|
2008-07-19 01:51:34 -07: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-26 14:59:02 -07:00
|
|
|
pref("browser.urlbar.restrict.openpage", "%");
|
2009-01-07 15:47:56 -08:00
|
|
|
pref("browser.urlbar.restrict.typed", "~");
|
2008-07-19 01:51:34 -07:00
|
|
|
pref("browser.urlbar.match.title", "#");
|
|
|
|
pref("browser.urlbar.match.url", "@");
|
|
|
|
|
2008-12-10 08:58:43 -08:00
|
|
|
// The default behavior for the urlbar can be configured to use any combination
|
|
|
|
// of the restrict or match filters with each additional filter restricting
|
|
|
|
// more (intersection). Add the following values to set the behavior as the
|
2010-03-26 14:59:02 -07:00
|
|
|
// default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed,
|
|
|
|
// 64: javascript, 128: tabs
|
2008-12-10 08:58:43 -08:00
|
|
|
// E.g., 0 = show all results (no filtering), 1 = only visited pages in history,
|
|
|
|
// 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url
|
|
|
|
pref("browser.urlbar.default.behavior", 0);
|
|
|
|
|
2011-05-02 10:50:18 -07:00
|
|
|
pref("browser.urlbar.formatting.enabled", true);
|
2011-06-23 01:13:41 -07:00
|
|
|
pref("browser.urlbar.trimURLs", true);
|
2011-05-02 10:50:18 -07:00
|
|
|
|
2012-03-01 14:08:03 -08:00
|
|
|
pref("browser.altClickSave", false);
|
|
|
|
|
2013-02-15 17:34:18 -08:00
|
|
|
// Enable logging downloads operations to the Error Console.
|
|
|
|
pref("browser.download.debug", false);
|
|
|
|
|
2008-04-02 20:02:08 -07:00
|
|
|
// Number of milliseconds to wait for the http headers (and thus
|
|
|
|
// the Content-Disposition filename) before giving up and falling back to
|
|
|
|
// picking a filename without that info in hand so that the user sees some
|
|
|
|
// feedback from their action.
|
2011-09-13 15:14:01 -07:00
|
|
|
pref("browser.download.saveLinkAsFilenameTimeout", 4000);
|
2008-04-02 20:02:08 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
2009-07-03 16:11:08 -07:00
|
|
|
|
2009-01-28 16:00:14 -08:00
|
|
|
pref("browser.download.folderList", 1);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.download.manager.showAlertOnComplete", true);
|
|
|
|
pref("browser.download.manager.showAlertInterval", 2000);
|
|
|
|
pref("browser.download.manager.retention", 2);
|
|
|
|
pref("browser.download.manager.showWhenStarting", true);
|
|
|
|
pref("browser.download.manager.closeWhenDone", false);
|
|
|
|
pref("browser.download.manager.focusWhenStarting", false);
|
|
|
|
pref("browser.download.manager.flashCount", 2);
|
2007-10-03 09:00:48 -07:00
|
|
|
pref("browser.download.manager.addToRecentDocs", true);
|
2008-01-26 13:11:31 -08:00
|
|
|
pref("browser.download.manager.quitBehavior", 0);
|
2008-01-29 21:07:44 -08:00
|
|
|
pref("browser.download.manager.scanWhenDone", true);
|
2008-03-19 18:16:02 -07:00
|
|
|
pref("browser.download.manager.resumeOnWakeDelay", 10000);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-07-27 06:25:00 -07: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 10:17:18 -07:00
|
|
|
// This records whether or not the panel has been shown at least once.
|
|
|
|
pref("browser.download.panel.shown", false);
|
|
|
|
|
2012-10-24 07:02:29 -07:00
|
|
|
// This records whether or not at least one session with the Downloads Panel
|
|
|
|
// enabled has been completed already.
|
|
|
|
pref("browser.download.panel.firstSessionCompleted", false);
|
|
|
|
|
2013-09-12 05:03:00 -07:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
pref("browser.helperApps.deleteTempFileOnExit", true);
|
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// search engines URL
|
2011-05-08 22:39:14 -07:00
|
|
|
pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// pointer to the default engine name
|
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// disable logging for the search service by default
|
|
|
|
pref("browser.search.log", false);
|
|
|
|
|
|
|
|
// Ordering of Search Engines in the Engine list.
|
|
|
|
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 08:49:26 -07:00
|
|
|
pref("browser.search.order.3", "chrome://browser-region/locale/region.properties");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// search bar results always open in a new tab
|
|
|
|
pref("browser.search.openintab", false);
|
|
|
|
|
2012-02-14 17:50:40 -08:00
|
|
|
// context menu searches open in the foreground
|
|
|
|
pref("browser.search.context.loadInBackground", false);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// send ping to the server to update
|
|
|
|
pref("browser.search.update", true);
|
|
|
|
|
|
|
|
// disable logging for the search service update system by default
|
|
|
|
pref("browser.search.update.log", false);
|
|
|
|
|
|
|
|
// Check whether we need to perform engine updates every 6 hours
|
2010-01-07 20:25:44 -08:00
|
|
|
pref("browser.search.update.interval", 21600);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// enable search suggestions by default
|
|
|
|
pref("browser.search.suggest.enabled", true);
|
|
|
|
|
2013-01-11 03:20:58 -08:00
|
|
|
#ifdef MOZ_OFFICIAL_BRANDING
|
|
|
|
// {moz:official} expands to "official"
|
|
|
|
pref("browser.search.official", true);
|
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
|
|
|
|
|
|
|
// handle links targeting new windows
|
2011-10-08 01:36:11 -07:00
|
|
|
// 1=current window/tab, 2=new window, 3=new tab in most recent window
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.link.open_newwindow", 3);
|
|
|
|
|
2011-10-08 01:36:11 -07: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);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// 0: no restrictions - divert everything
|
|
|
|
// 1: don't divert window.open at all
|
|
|
|
// 2: don't divert window.open with features
|
|
|
|
pref("browser.link.open_newwindow.restriction", 2);
|
|
|
|
|
2013-06-06 10:35:27 -07: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 03:27:48 -08: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-28 19:13:06 -08:00
|
|
|
// Tabbed browser
|
2008-09-22 06:56:51 -07:00
|
|
|
pref("browser.tabs.closeWindowWithLastTab", true);
|
2009-09-04 07:37:17 -07:00
|
|
|
pref("browser.tabs.insertRelatedAfterCurrent", true);
|
2007-12-28 19:13:06 -08:00
|
|
|
pref("browser.tabs.warnOnClose", true);
|
2012-10-05 11:50:30 -07:00
|
|
|
pref("browser.tabs.warnOnCloseOtherTabs", true);
|
2007-12-28 19:13:06 -08:00
|
|
|
pref("browser.tabs.warnOnOpen", true);
|
|
|
|
pref("browser.tabs.maxOpenBeforeWarn", 15);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.tabs.loadInBackground", true);
|
|
|
|
pref("browser.tabs.opentabfor.middleclick", true);
|
|
|
|
pref("browser.tabs.loadDivertedInBackground", false);
|
|
|
|
pref("browser.tabs.loadBookmarksInBackground", false);
|
|
|
|
pref("browser.tabs.tabClipWidth", 140);
|
2010-08-06 13:15:18 -07:00
|
|
|
pref("browser.tabs.animate", true);
|
2012-01-06 05:19:57 -08:00
|
|
|
pref("browser.tabs.onTop", true);
|
2013-02-08 08:42:06 -08:00
|
|
|
#ifdef XP_WIN
|
2011-01-07 12:28:02 -08:00
|
|
|
pref("browser.tabs.drawInTitlebar", true);
|
2013-02-08 08:42:06 -08:00
|
|
|
#else
|
|
|
|
pref("browser.tabs.drawInTitlebar", false);
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// Where to show tab close buttons:
|
|
|
|
// 0 on active tab only
|
|
|
|
// 1 on all tabs until tabClipWidth is reached, then active tab only
|
|
|
|
// 2 no close buttons at all
|
|
|
|
// 3 at the end of the tabstrip
|
|
|
|
pref("browser.tabs.closeButtons", 1);
|
|
|
|
|
|
|
|
// When tabs opened by links in other tabs via a combination of
|
|
|
|
// 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);
|
|
|
|
|
2009-07-20 21:25:59 -07:00
|
|
|
pref("browser.ctrlTab.previews", false);
|
2008-09-19 02:38:44 -07:00
|
|
|
pref("browser.ctrlTab.recentlyUsedLimit", 7);
|
2008-07-15 09:11:00 -07:00
|
|
|
|
2008-03-13 12:25:49 -07: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 12:11:12 -08:00
|
|
|
|
2008-04-03 13:51:54 -07:00
|
|
|
// The maximum number of daily bookmark backups to
|
|
|
|
// keep in {PROFILEDIR}/bookmarkbackups. Special values:
|
|
|
|
// -1: unlimited
|
|
|
|
// 0: no backups created (and deletes all existing backups)
|
2009-10-28 09:22:57 -07:00
|
|
|
pref("browser.bookmarks.max_backups", 10);
|
2008-04-03 13:51:54 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Scripts & Windows prefs
|
|
|
|
pref("dom.disable_open_during_load", true);
|
2010-09-09 14:59:24 -07:00
|
|
|
pref("javascript.options.showInConsole", true);
|
2010-09-09 15:00:53 -07:00
|
|
|
#ifdef DEBUG
|
2007-06-05 17:05:11 -07:00
|
|
|
pref("general.warnOnAboutConfig", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// This is the pref to control the location bar, change this to true to
|
2010-09-15 23:09:27 -07: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 11:49:02 -07:00
|
|
|
pref("dom.disable_window_open_feature.location", true);
|
2011-01-30 01:25:16 -08:00
|
|
|
// prevent JS from setting status messages
|
|
|
|
pref("dom.disable_window_status_change", true);
|
2008-03-19 13:15:12 -07:00
|
|
|
// allow JS to move and resize existing windows
|
|
|
|
pref("dom.disable_window_move_resize", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
// prevent JS from monkeying with window focus, etc
|
|
|
|
pref("dom.disable_window_flip", true);
|
|
|
|
|
2013-07-25 15:48:32 -07:00
|
|
|
// Disable touch events on Desktop Firefox by default until they are properly
|
|
|
|
// supported (bug 736048)
|
|
|
|
pref("dom.w3c_touch_events.enabled", 0);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// popups.policy 1=allow,2=reject
|
|
|
|
pref("privacy.popups.policy", 1);
|
|
|
|
pref("privacy.popups.usecustom", true);
|
|
|
|
pref("privacy.popups.showBrowserMessage", true);
|
2009-05-21 02:51:56 -07:00
|
|
|
|
|
|
|
pref("privacy.item.cookies", false);
|
|
|
|
|
|
|
|
pref("privacy.clearOnShutdown.history", true);
|
|
|
|
pref("privacy.clearOnShutdown.formdata", true);
|
|
|
|
pref("privacy.clearOnShutdown.passwords", false);
|
|
|
|
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);
|
|
|
|
|
|
|
|
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);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-11-05 19:57:00 -08: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
|
2008-11-20 13:57:47 -08:00
|
|
|
pref("privacy.sanitize.timeSpan", 1);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("privacy.sanitize.sanitizeOnShutdown", false);
|
|
|
|
|
2009-05-21 02:51:56 -07:00
|
|
|
pref("privacy.sanitize.migrateFx3Prefs", false);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
|
|
|
|
2008-11-27 15:07:02 -08:00
|
|
|
// simple gestures support
|
2008-11-01 08:47:07 -07:00
|
|
|
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
|
|
|
|
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
|
2011-01-07 16:35:40 -08:00
|
|
|
pref("browser.gesture.swipe.up", "cmd_scrollTop");
|
|
|
|
pref("browser.gesture.swipe.down", "cmd_scrollBottom");
|
2009-04-02 12:34:31 -07:00
|
|
|
#ifdef XP_MACOSX
|
2008-11-27 15:07:02 -08:00
|
|
|
pref("browser.gesture.pinch.latched", true);
|
|
|
|
pref("browser.gesture.pinch.threshold", 150);
|
2009-04-02 12:34:31 -07:00
|
|
|
#else
|
|
|
|
pref("browser.gesture.pinch.latched", false);
|
|
|
|
pref("browser.gesture.pinch.threshold", 25);
|
|
|
|
#endif
|
2012-05-30 06:23:07 -07: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-07 16:35:40 -08: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 06:23:07 -07:00
|
|
|
#endif
|
2008-11-27 15:07:02 -08:00
|
|
|
pref("browser.gesture.twist.latched", false);
|
2013-01-31 13:52:31 -08: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 12:34:31 -07:00
|
|
|
pref("browser.gesture.tap", "cmd_fullZoomReset");
|
2008-11-01 08:47:07 -07:00
|
|
|
|
2013-10-22 17:49:36 -07:00
|
|
|
pref("browser.snapshots.limit", 5);
|
2013-04-09 12:44:01 -07:00
|
|
|
|
2012-08-11 18:42:35 -07:00
|
|
|
// 0: Nothing happens
|
|
|
|
// 1: Scrolling contents
|
|
|
|
// 2: Go back or go forward, in your history
|
|
|
|
// 3: Zoom in or out.
|
2007-03-22 10:30:00 -07: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-11 18:42:35 -07:00
|
|
|
pref("mousewheel.with_alt.action", 2);
|
|
|
|
pref("mousewheel.with_shift.action", 1);
|
2012-11-27 17:49:00 -08: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 04:14:27 -08: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);
|
2007-03-22 10:30:00 -07:00
|
|
|
#else
|
2012-08-11 18:42:35 -07:00
|
|
|
pref("mousewheel.with_alt.action", 1);
|
|
|
|
pref("mousewheel.with_shift.action", 2);
|
2012-11-27 17:49:00 -08:00
|
|
|
pref("mousewheel.with_meta.action", 1); // win key on Win, Super/Hyper on Linux
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2012-08-11 18:42:35 -07:00
|
|
|
pref("mousewheel.with_control.action",3);
|
|
|
|
pref("mousewheel.with_win.action", 1);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
pref("browser.xul.error_pages.enabled", true);
|
2008-05-02 00:24:27 -07:00
|
|
|
pref("browser.xul.error_pages.expert_bad_cert", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2011-01-27 16:07:30 -08:00
|
|
|
// Work Offline is best manually managed by the user.
|
|
|
|
pref("network.manage-offline-status", false);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// We want to make sure mail URLs are handled externally...
|
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
|
|
|
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-13 17:47:23 -07:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.external.ms-windows-store", true);
|
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07: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-13 17:47:23 -07:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.warn-external.ms-windows-store", false);
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07: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);
|
|
|
|
pref("network.protocol-handler.expose.mailto", false);
|
|
|
|
pref("network.protocol-handler.expose.news", false);
|
|
|
|
pref("network.protocol-handler.expose.snews", false);
|
|
|
|
pref("network.protocol-handler.expose.nntp", false);
|
|
|
|
|
|
|
|
pref("accessibility.typeaheadfind", false);
|
|
|
|
pref("accessibility.typeaheadfind.timeout", 5000);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", false);
|
|
|
|
pref("accessibility.typeaheadfind.flashBar", 1);
|
|
|
|
|
|
|
|
// plugin finder service url
|
2008-05-28 11:49:32 -07:00
|
|
|
pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2013-05-08 17:20:20 -07:00
|
|
|
// by default we show an infobar message when pages require plugins that are blocked, or are outdated
|
|
|
|
pref("plugins.hide_infobar_for_blocked_plugin", false);
|
2009-10-02 04:26:04 -07:00
|
|
|
pref("plugins.hide_infobar_for_outdated_plugin", false);
|
|
|
|
|
2012-05-29 23:12:09 -07:00
|
|
|
pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/");
|
2009-10-02 04:26:04 -07:00
|
|
|
pref("plugins.update.notifyUser", false);
|
2007-10-02 12:08:00 -07:00
|
|
|
|
2013-06-25 08:57:30 -07:00
|
|
|
pref("plugins.click_to_play", true);
|
2012-04-02 13:49:56 -07:00
|
|
|
|
2013-09-04 07:05:21 -07:00
|
|
|
// let all plugins except Flash default to click-to-play
|
|
|
|
pref("plugin.default.state", 1);
|
|
|
|
pref("plugin.state.flash", 2);
|
|
|
|
|
2013-05-03 13:44:12 -07:00
|
|
|
// display door hanger if flash not installed
|
|
|
|
pref("plugins.notifyMissingFlash", true);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("browser.preferences.instantApply", false);
|
|
|
|
#else
|
|
|
|
pref("browser.preferences.instantApply", true);
|
|
|
|
#endif
|
2007-12-14 16:20:48 -08:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("browser.preferences.animateFadeIn", true);
|
|
|
|
#else
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.preferences.animateFadeIn", false);
|
2007-12-14 16:20:48 -08:00
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2012-05-08 19:31:51 -07:00
|
|
|
// Toggles between the two Preferences implementations, pop-up window and in-content
|
|
|
|
pref("browser.preferences.inContent", false);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.download.show_plugins_in_list", true);
|
|
|
|
pref("browser.download.hide_plugins_without_extensions", true);
|
|
|
|
|
|
|
|
// Backspace and Shift+Backspace behavior
|
|
|
|
// 0 goes Back/Forward
|
|
|
|
// 1 act like PgUp/PgDown
|
|
|
|
// 2 and other values, nothing
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("browser.backspace_action", 2);
|
|
|
|
#else
|
|
|
|
pref("browser.backspace_action", 0);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// this will automatically enable inline spellchecking (if it is available) for
|
|
|
|
// editable elements in HTML
|
|
|
|
// 0 = spellcheck nothing
|
|
|
|
// 1 = check multi-line controls [default]
|
|
|
|
// 2 = check multi/single line controls
|
|
|
|
pref("layout.spellcheckDefault", 1);
|
|
|
|
|
2008-02-01 14:40:36 -08:00
|
|
|
pref("browser.send_pings", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/* initial web feed readers list */
|
|
|
|
pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
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");
|
|
|
|
|
|
|
|
pref("browser.feeds.handler", "ask");
|
2008-01-29 23:12:08 -08:00
|
|
|
pref("browser.videoFeeds.handler", "ask");
|
|
|
|
pref("browser.audioFeeds.handler", "ask");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-02-19 20:46:35 -08: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
|
|
|
|
// seeded by this file) to its datastore.
|
|
|
|
pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2007-09-06 15:20:52 -07:00
|
|
|
// The default set of web-based protocol handlers shown in the application
|
2008-02-19 20:46:35 -08: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 01:47:51 -07: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-06 15:20:52 -07:00
|
|
|
|
2008-02-08 15:04:30 -08: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);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef MOZ_SAFE_BROWSING
|
|
|
|
pref("browser.safebrowsing.enabled", true);
|
2007-08-09 15:11:22 -07:00
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
2012-07-27 23:25:11 -07:00
|
|
|
pref("browser.safebrowsing.debug", false);
|
|
|
|
|
2012-08-01 15:52:47 -07:00
|
|
|
pref("browser.safebrowsing.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
|
|
|
|
pref("browser.safebrowsing.keyURL", "https://sb-ssl.google.com/safebrowsing/newkey?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
|
|
|
|
pref("browser.safebrowsing.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
|
|
|
|
pref("browser.safebrowsing.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?");
|
|
|
|
pref("browser.safebrowsing.reportGenericURL", "http://%LOCALE%.phish-generic.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportErrorURL", "http://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportPhishURL", "http://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportMalwareURL", "http://%LOCALE%.malware-report.mozilla.com/?hl=%LOCALE%");
|
|
|
|
pref("browser.safebrowsing.reportMalwareErrorURL", "http://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%");
|
2012-07-30 17:14:29 -07:00
|
|
|
|
2012-08-01 15:52:47 -07:00
|
|
|
pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
|
2013-07-25 21:25:43 -07:00
|
|
|
// Since the application reputation query isn't hooked in anywhere yet, this
|
|
|
|
// preference does not matter. To be extra safe, don't turn this preference on
|
|
|
|
// for official builds without whitelisting (bug 842828).
|
|
|
|
#ifndef MOZILLA_OFFICIAL
|
|
|
|
pref("browser.safebrowsing.appRepURL", "https://sb-ssl.google.com/safebrowsing/clientreport/download");
|
|
|
|
#endif
|
2007-10-29 11:29:14 -07:00
|
|
|
|
2013-01-09 23:38:50 -08: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 11:29:14 -07: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-26 21:51:28 -08:00
|
|
|
|
|
|
|
// The number of random entries to send with a gethash request.
|
|
|
|
pref("urlclassifier.gethashnoise", 4);
|
2008-03-07 11:51:25 -08:00
|
|
|
|
2008-04-15 15:39:44 -07: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-20 23:48:30 -08:00
|
|
|
pref("urlclassifier.max-complete-age", 2700);
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
|
|
|
|
2013-03-26 21:26:43 -07:00
|
|
|
pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
|
2012-08-01 15:52:47 -07:00
|
|
|
|
2008-10-30 23:42:02 -07:00
|
|
|
pref("browser.EULA.version", 3);
|
|
|
|
pref("browser.rights.version", 3);
|
|
|
|
pref("browser.rights.3.shown", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-05-08 08:24:23 -07:00
|
|
|
#ifdef DEBUG
|
2008-10-30 23:42:02 -07:00
|
|
|
// Don't show the about:rights notification in debug builds.
|
|
|
|
pref("browser.rights.override", true);
|
2008-05-08 08:24:23 -07:00
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.sessionstore.resume_from_crash", true);
|
|
|
|
pref("browser.sessionstore.resume_session_once", false);
|
2008-02-23 01:32:09 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// minimal interval between two save operations in milliseconds
|
2009-12-31 11:44:46 -08:00
|
|
|
pref("browser.sessionstore.interval", 15000);
|
2007-03-22 10:30:00 -07:00
|
|
|
// maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it)
|
|
|
|
// (NB: POSTDATA will be saved either entirely or not at all)
|
|
|
|
pref("browser.sessionstore.postdata", 0);
|
|
|
|
// on which sites to save text data, POSTDATA and cookies
|
|
|
|
// 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
|
2010-10-08 11:51:50 -07:00
|
|
|
pref("browser.sessionstore.privacy_level", 0);
|
2010-09-10 10:57:28 -07:00
|
|
|
// the same as browser.sessionstore.privacy_level, but for saving deferred session data
|
2011-01-31 17:05:31 -08:00
|
|
|
pref("browser.sessionstore.privacy_level_deferred", 1);
|
2007-03-22 10:30:00 -07:00
|
|
|
// how many tabs can be reopened (per window)
|
|
|
|
pref("browser.sessionstore.max_tabs_undo", 10);
|
2009-04-22 23:50:30 -07: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 11:47:31 -07: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);
|
2011-08-15 23:24:25 -07: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 02:30:23 -08:00
|
|
|
pref("browser.sessionstore.restore_on_demand", true);
|
2011-05-19 15:07:55 -07: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 04:49:15 -08: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 10:57:05 -07:00
|
|
|
// The version at which we performed the latest upgrade backup
|
|
|
|
pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
|
|
|
|
// End-users should not run sessionstore in debug mode
|
|
|
|
pref("browser.sessionstore.debug", false);
|
2013-08-29 07:02:42 -07:00
|
|
|
// Enable asynchronous data collection by default.
|
|
|
|
pref("browser.sessionstore.async", true);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// allow META refresh by default
|
|
|
|
pref("accessibility.blockautorefresh", false);
|
2007-05-03 01:56:41 -07:00
|
|
|
|
2010-01-15 08:40:14 -08:00
|
|
|
// Whether history is enabled or not.
|
|
|
|
pref("places.history.enabled", true);
|
|
|
|
|
2008-01-25 09:11:14 -08: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 04:40:34 -08:00
|
|
|
pref("places.frecency.framedLinkVisitBonus", 0);
|
2008-02-20 17:38:38 -08:00
|
|
|
pref("places.frecency.linkVisitBonus", 100);
|
2008-03-21 23:57:23 -07:00
|
|
|
pref("places.frecency.typedVisitBonus", 2000);
|
2009-01-27 18:01:33 -08:00
|
|
|
pref("places.frecency.bookmarkVisitBonus", 75);
|
2008-01-25 09:11:14 -08: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-23 13:59:10 -08: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 08:54:51 -07:00
|
|
|
pref("browser.ssl_override_behavior", 2);
|
2007-12-17 21:29:38 -08:00
|
|
|
|
2008-02-21 22:34:15 -08:00
|
|
|
// True if the user should be prompted when a web application supports
|
|
|
|
// offline apps.
|
|
|
|
pref("browser.offline-apps.notify", true);
|
|
|
|
|
2008-02-13 03:00:45 -08:00
|
|
|
// if true, use full page zoom instead of text zoom
|
|
|
|
pref("browser.zoom.full", true);
|
|
|
|
|
2008-02-26 15:05:53 -08:00
|
|
|
// Whether or not to save and restore zoom levels on a per-site basis.
|
|
|
|
pref("browser.zoom.siteSpecific", true);
|
|
|
|
|
2009-03-01 03:22:44 -08:00
|
|
|
// Whether or not to update background tabs to the current zoom level.
|
|
|
|
pref("browser.zoom.updateBackgroundTabs", true);
|
|
|
|
|
2008-01-24 23:24:33 -08:00
|
|
|
// The breakpad report server to link to in about:crashes
|
2013-03-03 23:11:21 -08:00
|
|
|
pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
|
2008-03-24 10:18:38 -07:00
|
|
|
|
2013-02-20 07:52:16 -08:00
|
|
|
#ifndef RELEASE_BUILD
|
2012-09-11 12:13:00 -07:00
|
|
|
// Override submission of plugin hang reports to a different processing server
|
2013-02-20 07:52:16 -08:00
|
|
|
// for the smaller-volume nightly/aurora populations.
|
2012-09-11 12:13:00 -07:00
|
|
|
pref("toolkit.crashreporter.pluginHangSubmitURL",
|
|
|
|
"https://hang-reports.mozilla.org/submit");
|
2013-02-20 07:52:16 -08:00
|
|
|
#endif
|
2012-09-11 12:13:00 -07:00
|
|
|
|
2013-01-03 20:45:15 -08:00
|
|
|
// URL for "Learn More" for Crash Reporter
|
|
|
|
pref("toolkit.crashreporter.infoURL",
|
2013-03-26 21:26:43 -07:00
|
|
|
"https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
|
2013-01-03 20:45:15 -08:00
|
|
|
|
2008-03-24 10:18:38 -07:00
|
|
|
// base URL for web-based support pages
|
2013-05-29 16:26:41 -07:00
|
|
|
pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
|
2008-10-29 08:54:51 -07:00
|
|
|
|
|
|
|
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
|
|
|
|
pref("security.alternate_certificate_error_page", "certerror");
|
2008-11-03 15:22:22 -08:00
|
|
|
|
|
|
|
// Whether to start the private browsing mode at application startup
|
|
|
|
pref("browser.privatebrowsing.autostart", false);
|
2008-11-03 15:22:23 -08:00
|
|
|
|
2009-02-26 17:27:39 -08: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 11:24:13 -07:00
|
|
|
|
2009-05-18 18:12:59 -07:00
|
|
|
// Whether to use a panel that looks like an OS X sheet for customization
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("toolbar.customization.usesheet", true);
|
|
|
|
#else
|
|
|
|
pref("toolbar.customization.usesheet", false);
|
|
|
|
#endif
|
2009-07-24 15:21:07 -07:00
|
|
|
|
2010-03-17 11:38:28 -07:00
|
|
|
#ifdef XP_MACOSX
|
2013-04-25 09:45:52 -07:00
|
|
|
// On mac, the default pref is per-architecture
|
|
|
|
pref("dom.ipc.plugins.enabled.i386", true);
|
2010-09-27 13:42:43 -07:00
|
|
|
pref("dom.ipc.plugins.enabled.x86_64", true);
|
2010-05-01 14:40:15 -07:00
|
|
|
#else
|
2011-04-02 19:14:00 -07:00
|
|
|
pref("dom.ipc.plugins.enabled", true);
|
2010-05-01 14:40:15 -07:00
|
|
|
#endif
|
2009-10-12 07:51:38 -07:00
|
|
|
|
2013-04-22 19:47:34 -07:00
|
|
|
pref("browser.tabs.remote", false);
|
2011-06-22 13:43:09 -07:00
|
|
|
|
2011-05-23 23:58:28 -07: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 12:57:20 -07:00
|
|
|
#ifdef XP_WIN
|
2010-12-15 16:23:26 -08:00
|
|
|
pref("browser.taskbar.previews.enable", false);
|
2009-10-06 12:57:20 -07:00
|
|
|
pref("browser.taskbar.previews.max", 20);
|
2010-08-19 08:22:46 -07:00
|
|
|
pref("browser.taskbar.previews.cachetime", 5);
|
2009-10-07 02:09:11 -07: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 01:46:38 -07:00
|
|
|
pref("browser.taskbar.lists.refreshInSeconds", 120);
|
2009-10-06 12:57:20 -07:00
|
|
|
#endif
|
2010-08-02 16:37:55 -07:00
|
|
|
|
|
|
|
#ifdef MOZ_SERVICES_SYNC
|
|
|
|
// The sync engines to use.
|
2011-12-14 17:13:36 -08:00
|
|
|
pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons");
|
2010-08-02 16:37:55 -07: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-14 17:13:36 -08: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-02 16:37:55 -07:00
|
|
|
pref("services.sync.prefs.sync.app.update.mode", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.download.manager.closeWhenDone", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.download.manager.retention", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.download.manager.showWhenStarting", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.formfill.enable", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
|
|
|
|
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.selectedEngine", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.search.update", true);
|
2011-12-13 11:41:21 -08:00
|
|
|
pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true);
|
2010-08-02 16:37:55 -07: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.closeButtons", 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.default.behavior", 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);
|
|
|
|
pref("services.sync.prefs.sync.lightweightThemes.isThemeSelected", true);
|
|
|
|
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.passwords", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
|
2011-02-04 11:19:27 -08:00
|
|
|
pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
|
2012-06-14 14:19:27 -07:00
|
|
|
pref("services.sync.prefs.sync.privacy.donottrackheader.value", true);
|
2010-08-02 16:37:55 -07:00
|
|
|
pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
|
|
|
|
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 06:41:55 -07:00
|
|
|
pref("services.sync.prefs.sync.security.tls.version.min", true);
|
|
|
|
pref("services.sync.prefs.sync.security.tls.version.max", true);
|
2010-08-02 16:37:55 -07: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-09 14:52:43 -07:00
|
|
|
|
2011-06-16 11:24:20 -07:00
|
|
|
// Disable the error console
|
2010-10-05 08:45:04 -07:00
|
|
|
pref("devtools.errorconsole.enabled", false);
|
2011-06-16 11:24:20 -07:00
|
|
|
|
2012-05-30 00:47:28 -07:00
|
|
|
// Developer toolbar and GCLI preferences
|
2012-07-04 15:37:25 -07:00
|
|
|
pref("devtools.toolbar.enabled", true);
|
2012-06-15 06:55:33 -07:00
|
|
|
pref("devtools.toolbar.visible", false);
|
2012-05-30 00:47:28 -07:00
|
|
|
pref("devtools.gcli.allowSet", false);
|
2012-06-24 05:00:47 -07:00
|
|
|
pref("devtools.commands.dir", "");
|
2012-05-10 10:33:54 -07:00
|
|
|
|
2013-10-08 22:52:38 -07:00
|
|
|
// Enable the app manager
|
2013-09-09 19:50:00 -07:00
|
|
|
pref("devtools.appmanager.enabled", true);
|
2013-09-13 19:49:00 -07:00
|
|
|
pref("devtools.appmanager.firstrun", true);
|
2013-10-08 22:52:38 -07:00
|
|
|
pref("devtools.appmanager.manifestEditor.enabled", false);
|
2013-09-04 22:37:00 -07:00
|
|
|
|
2012-11-30 00:07:59 -08:00
|
|
|
// Toolbox preferences
|
|
|
|
pref("devtools.toolbox.footer.height", 250);
|
|
|
|
pref("devtools.toolbox.sidebar.width", 500);
|
|
|
|
pref("devtools.toolbox.host", "bottom");
|
|
|
|
pref("devtools.toolbox.selectedTool", "webconsole");
|
2013-03-12 18:20:00 -07:00
|
|
|
pref("devtools.toolbox.toolbarSpec", '["paintflashing toggle","tilt toggle","scratchpad","resize toggle"]');
|
2013-03-13 16:10:15 -07:00
|
|
|
pref("devtools.toolbox.sideEnabled", true);
|
2013-09-14 23:26:18 -07:00
|
|
|
pref("devtools.toolbox.zoomValue", "1");
|
2012-11-30 00:07:59 -08:00
|
|
|
|
2011-06-16 11:24:20 -07:00
|
|
|
// Enable the Inspector
|
|
|
|
pref("devtools.inspector.enabled", true);
|
2012-01-28 05:48:00 -08:00
|
|
|
pref("devtools.inspector.activeSidebar", "ruleview");
|
2012-10-04 10:37:36 -07:00
|
|
|
pref("devtools.inspector.markupPreview", false);
|
2013-06-07 14:32:32 -07:00
|
|
|
pref("devtools.inspector.remote", false);
|
2013-09-04 08:43:40 -07:00
|
|
|
pref("devtools.inspector.show_pseudo_elements", true);
|
2010-09-21 14:56:52 -07:00
|
|
|
|
2013-09-16 03:01:25 -07:00
|
|
|
// DevTools default color unit
|
|
|
|
pref("devtools.defaultColorUnit", "hex");
|
|
|
|
|
2012-06-01 05:53:58 -07:00
|
|
|
// Enable the Responsive UI tool
|
2013-09-03 00:15:51 -07:00
|
|
|
pref("devtools.responsiveUI.no-reload-notification", false);
|
2012-06-01 05:53:58 -07:00
|
|
|
|
2012-02-07 09:22:30 -08:00
|
|
|
// Enable the Debugger
|
2012-05-21 23:30:03 -07:00
|
|
|
pref("devtools.debugger.enabled", true);
|
2012-10-31 09:31:55 -07:00
|
|
|
pref("devtools.debugger.chrome-enabled", true);
|
2013-03-26 09:30:13 -07:00
|
|
|
pref("devtools.debugger.chrome-debugging-host", "localhost");
|
|
|
|
pref("devtools.debugger.chrome-debugging-port", 6080);
|
2012-04-12 08:47:56 -07:00
|
|
|
pref("devtools.debugger.remote-host", "localhost");
|
2012-10-01 05:16:00 -07:00
|
|
|
pref("devtools.debugger.remote-timeout", 20000);
|
2013-06-21 07:33:56 -07:00
|
|
|
pref("devtools.debugger.pause-on-exceptions", false);
|
2013-09-09 10:02:41 -07:00
|
|
|
pref("devtools.debugger.ignore-caught-exceptions", true);
|
2013-06-11 05:19:00 -07:00
|
|
|
pref("devtools.debugger.source-maps-enabled", true);
|
2013-10-11 13:52:50 -07:00
|
|
|
pref("devtools.debugger.pretty-print-enabled", true);
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2012-05-31 02:27:22 -07:00
|
|
|
// The default Debugger UI settings
|
2013-02-20 15:33:36 -08:00
|
|
|
pref("devtools.debugger.ui.panes-sources-width", 200);
|
|
|
|
pref("devtools.debugger.ui.panes-instruments-width", 300);
|
2012-10-26 13:28:54 -07:00
|
|
|
pref("devtools.debugger.ui.panes-visible-on-startup", false);
|
2012-11-10 03:14:40 -08:00
|
|
|
pref("devtools.debugger.ui.variables-sorting-enabled", true);
|
2012-12-04 05:48:39 -08:00
|
|
|
pref("devtools.debugger.ui.variables-only-enum-visible", false);
|
2012-11-03 16:01:05 -07:00
|
|
|
pref("devtools.debugger.ui.variables-searchbox-visible", false);
|
2012-02-07 09:22:30 -08:00
|
|
|
|
2012-12-13 14:17:00 -08:00
|
|
|
// Enable the Profiler
|
|
|
|
pref("devtools.profiler.enabled", true);
|
|
|
|
|
2013-07-09 13:58:53 -07:00
|
|
|
// The default Profiler UI settings
|
|
|
|
pref("devtools.profiler.ui.show-platform-data", false);
|
|
|
|
|
2013-03-11 23:50:42 -07:00
|
|
|
// Enable the Network Monitor
|
|
|
|
pref("devtools.netmonitor.enabled", true);
|
|
|
|
|
|
|
|
// The default Network Monitor UI settings
|
|
|
|
pref("devtools.netmonitor.panes-network-details-width", 450);
|
2013-04-22 11:12:17 -07:00
|
|
|
pref("devtools.netmonitor.panes-network-details-height", 450);
|
2013-03-11 23:50:42 -07:00
|
|
|
|
2011-11-10 02:09:18 -08:00
|
|
|
// Enable the Tilt inspector
|
|
|
|
pref("devtools.tilt.enabled", true);
|
2012-01-15 23:00:57 -08:00
|
|
|
pref("devtools.tilt.intro_transition", true);
|
|
|
|
pref("devtools.tilt.outro_transition", true);
|
2011-11-10 02:09:18 -08:00
|
|
|
|
2012-07-03 06:40:12 -07:00
|
|
|
// 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.
|
|
|
|
pref("devtools.scratchpad.recentFilesMax", 10);
|
|
|
|
|
2011-10-26 02:02:08 -07:00
|
|
|
// Enable the Style Editor.
|
|
|
|
pref("devtools.styleeditor.enabled", true);
|
2012-01-12 08:26:39 -08:00
|
|
|
pref("devtools.styleeditor.transitions", true);
|
2011-10-26 02:02:08 -07:00
|
|
|
|
2011-04-19 13:42:56 -07:00
|
|
|
// Enable tools for Chrome development.
|
|
|
|
pref("devtools.chrome.enabled", false);
|
|
|
|
|
2013-03-27 15:20:38 -07:00
|
|
|
// Default theme ("dark" or "light")
|
|
|
|
pref("devtools.theme", "light");
|
|
|
|
|
2012-05-10 10:33:54 -07:00
|
|
|
// Display the introductory text
|
|
|
|
pref("devtools.gcli.hideIntro", false);
|
|
|
|
|
|
|
|
// How eager are we to show help: never=1, sometimes=2, always=3
|
|
|
|
pref("devtools.gcli.eagerHelper", 2);
|
|
|
|
|
2011-11-18 10:24:04 -08:00
|
|
|
// Remember the Web Console filters
|
|
|
|
pref("devtools.webconsole.filter.network", true);
|
|
|
|
pref("devtools.webconsole.filter.networkinfo", true);
|
2013-07-09 07:45:56 -07:00
|
|
|
pref("devtools.webconsole.filter.netwarn", true);
|
2011-11-18 10:24:04 -08:00
|
|
|
pref("devtools.webconsole.filter.csserror", true);
|
|
|
|
pref("devtools.webconsole.filter.cssparser", true);
|
|
|
|
pref("devtools.webconsole.filter.exception", true);
|
|
|
|
pref("devtools.webconsole.filter.jswarn", true);
|
2013-06-19 12:04:05 -07:00
|
|
|
pref("devtools.webconsole.filter.jslog", true);
|
2011-11-18 10:24:04 -08: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-22 18:07:36 -07:00
|
|
|
pref("devtools.webconsole.filter.secerror", true);
|
|
|
|
pref("devtools.webconsole.filter.secwarn", true);
|
2011-11-18 10:24:04 -08:00
|
|
|
|
2013-06-20 06:29:01 -07:00
|
|
|
// Remember the Browser Console filters
|
|
|
|
pref("devtools.browserconsole.filter.network", true);
|
|
|
|
pref("devtools.browserconsole.filter.networkinfo", true);
|
2013-07-09 07:45:56 -07:00
|
|
|
pref("devtools.browserconsole.filter.netwarn", true);
|
2013-06-20 06:29:01 -07:00
|
|
|
pref("devtools.browserconsole.filter.csserror", true);
|
|
|
|
pref("devtools.browserconsole.filter.cssparser", true);
|
|
|
|
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);
|
|
|
|
|
2012-08-22 13:18:48 -07:00
|
|
|
// Text size in the Web Console. Use 0 for the system default size.
|
|
|
|
pref("devtools.webconsole.fontSize", 0);
|
|
|
|
|
2013-06-03 10:57:13 -07: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);
|
|
|
|
|
2011-05-19 13:15:36 -07:00
|
|
|
// The number of lines that are displayed in the web console for the Net,
|
|
|
|
// CSS, JS and Web Developer categories.
|
|
|
|
pref("devtools.hud.loglimit.network", 200);
|
|
|
|
pref("devtools.hud.loglimit.cssparser", 200);
|
|
|
|
pref("devtools.hud.loglimit.exception", 200);
|
|
|
|
pref("devtools.hud.loglimit.console", 200);
|
|
|
|
|
2011-06-14 03:44:51 -07:00
|
|
|
// The developer tools editor configuration:
|
|
|
|
// - tabsize: how many spaces to use when a Tab character is displayed.
|
|
|
|
// - expandtab: expand Tab characters to spaces.
|
|
|
|
pref("devtools.editor.tabsize", 4);
|
|
|
|
pref("devtools.editor.expandtab", true);
|
|
|
|
|
2011-08-12 02:58:40 -07:00
|
|
|
// Tells which component you want to use for source editing in developer tools.
|
|
|
|
//
|
|
|
|
// Available components:
|
|
|
|
// "orion" - this is the Orion source code editor from the Eclipse project. It
|
|
|
|
// provides programmer-specific editor features such as syntax highlighting,
|
2012-02-08 06:48:07 -08:00
|
|
|
// indenting and bracket recognition.
|
2011-08-17 09:41:41 -07:00
|
|
|
pref("devtools.editor.component", "orion");
|
2011-08-12 02:58:40 -07:00
|
|
|
|
2013-03-06 20:57:00 -08:00
|
|
|
// Enable the Font Inspector
|
|
|
|
pref("devtools.fontinspector.enabled", true);
|
|
|
|
|
2013-05-24 03:26:17 -07: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-21 14:56:52 -07: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-19 21:23:27 -08:00
|
|
|
// Allow using tab-modal prompts when possible.
|
|
|
|
pref("prompts.tab_modal.enabled", true);
|
2010-10-09 12:10:25 -07:00
|
|
|
// Whether the Panorama should animate going in/out of tabs
|
|
|
|
pref("browser.panorama.animate_zoom", true);
|
2011-11-07 16:20:53 -08:00
|
|
|
|
2012-01-25 14:43:27 -08:00
|
|
|
// Defines the url to be used for new tabs.
|
2012-02-01 02:46:40 -08:00
|
|
|
pref("browser.newtab.url", "about:newtab");
|
2012-08-13 09:30:18 -07:00
|
|
|
// Activates preloading of the new tab url.
|
2013-06-04 13:20:44 -07:00
|
|
|
pref("browser.newtab.preload", true);
|
2012-01-25 14:43:27 -08:00
|
|
|
|
|
|
|
// Toggles the content of 'about:newtab'. Shows the grid when enabled.
|
2012-02-01 02:46:40 -08:00
|
|
|
pref("browser.newtabpage.enabled", true);
|
2012-01-25 14:43:27 -08:00
|
|
|
|
2012-08-16 22:01:03 -07:00
|
|
|
// number of rows of newtab grid
|
|
|
|
pref("browser.newtabpage.rows", 3);
|
|
|
|
|
|
|
|
// number of columns of newtab grid
|
|
|
|
pref("browser.newtabpage.columns", 3);
|
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
// Enable the DOM fullscreen API.
|
2011-11-07 16:20:53 -08:00
|
|
|
pref("full-screen-api.enabled", true);
|
2011-11-07 21:20:42 -08:00
|
|
|
|
2012-05-08 14:47:19 -07:00
|
|
|
// True if the fullscreen API requires approval upon a domain entering fullscreen.
|
|
|
|
// Domains that have already had fullscreen permission granted won't re-request
|
|
|
|
// approval.
|
|
|
|
pref("full-screen-api.approval-required", true);
|
|
|
|
|
2011-11-07 21:20:42 -08: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-09 15:21:03 -08:00
|
|
|
pref("toolkit.startup.max_resumed_crashes", 3);
|
2012-04-22 21:42:13 -07:00
|
|
|
|
2012-06-02 09:56:24 -07: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);
|
|
|
|
|
2013-09-30 16:23:41 -07:00
|
|
|
// Shumway component (SWF player) is disabled by default. Also see bug 904346.
|
|
|
|
pref("shumway.disabled", true);
|
|
|
|
|
2012-04-22 21:42:13 -07: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-26 19:03:32 -07:00
|
|
|
|
2012-12-07 20:13:27 -08:00
|
|
|
// Default social providers
|
2013-05-06 23:02:58 -07:00
|
|
|
pref("social.manifest.facebook", "{\"origin\":\"https://www.facebook.com\",\"name\":\"Facebook Messenger\",\"workerURL\":\"https://www.facebook.com/desktop/fbdesktop2/socialfox/fbworker.js.php\",\"shareURL\":\"https://www.facebook.com/sharer/sharer.php?u=%{url}\",\"iconURL\":\"data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAX0lEQVQ4jWP4%2F%2F8%2FAyUYTFhHzjgDxP9JxGeQDSBVMxgTbUBCxer%2Fr999%2BQ8DJBuArJksA9A10s8AXIBoA0B%2BR%2FY%2FjD%2BEwoBoA1yT5v3PbdmCE8MAshhID%2FUMoDgzUYIBj0Cgi7ar4coAAAAASUVORK5CYII%3D\",\"sidebarURL\":\"https://www.facebook.com/desktop/fbdesktop2/?socialfox=true\",\"icon32URL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAADbklEQVRYCc1Xv08UQRj99tctexAuCEFjRE0kGBEtLDSGqIWNxkYKbTAxNlY2JhaGWltNtNFeKgsKKxITK43/gCYW+IsoRhA4D47bH7fn9+bcvdm5JR7sefolC3Ozu9978+bNN7PayUv3HN3umdY0Y6IWBtSJ0HSTarXqTOiuTep6Lj+tdxAcA8RAgSmwdd2aCDs0clldYALb/FvgYVhjmfliVA2XpjEgWo0Attn42Z6WH1RFor5ehwo9XQIUZMoVn4qlCoVMSo62EvD8Kh0b3U2Xz43R2PBO6mUCGDlAf65V6MadZzT/rUimoccc2kYA4BfPHqJb105RzjJigKhRq9kEJUBIjgYVuXeL7SAI6eD+Abp5dTwVHOmEHxT50d8WBYJqSOdPj5BjW8gZR8UNqFR2xagx/65XFYaMH+BGWwiYpi4UkBPPLxTp9v1Z+lHc4DWvCQXWmIy6EjITgKowVd5Jjv7N3Hd6y5esigoOwpkJIAmMpZpLJGdiaaC4F0UmAj6bD84GCEwmB/qxMmRilmnwb/mpjAocHh4UEoNAt5NLZB7oy9OJo0PxqkAtePdhiSqunyC1LQUwWMPQaOr6GRre258Ajn4cP7KHcEXhsxpXbj+lT19X2TMNGTLVAcjcalS8gDwsQ2UOMhH4k8FkcrEn5E5ub2sKohxLK2VR77Hl9RUcsrgeRIEiVOT6z+tDbIeLy+vk+kGTCbXxycet6xhl//3f6bJEkdHYhA+mLtDIvoH4ieev5+juoxdk5+pjhALYEdXIpEB5w+NlSKSzqVQ/+H7IO6BLtl3fngGMiqhGJgIwlM6qpyUGFjySdk8m0Zg0ubeD7X9OIDEFajltRQgUJaUKx69tdgaQa0FMADuahZPMFtcEwNPm2hA7ZI5sK4aoE2NvYI+o8hkCIe7CwTv68zS0q9Dk5vpbm/8FXxitSzmMFHpsGj0wyLUheTwD2Y9fVgh1Ae0EPUgD9241ZEnld+v5kgnVZ/8fE0brVh5BK+1oCqKKF72Dk7HwBsssB/pklU1dfChy3S659H5+uelgIb+8WRv1/uGTV9Sdb5wJFlfW6fPCalMhwhSU1j2xKwKbP838GcOwJja4TqO0bjdmXxYTy1EYjFdCWoCEYZhseH/GDL3yJPHnuW6YmT7P1SlIA4768Hke4vOcsX8BE346lLHhDUQAAAAASUVORK5CYII=\", \"icon64URL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAACNNJREFUeNrtm3tw1NUVxz/399hHHkgCaCBGEFEEREVFYFQcSoOKdkZay4z+4dDpYIsjHWx1WoTMhFi1gzBSpVgVGbU4U1sHfPESKODwEEnRYDFAICEIeZIQshs2u/v73ds/drMsyW7YLEkl2Z6Z32yy+9v7u+fc7znne8+5KzgvAjDunzlv0M13PjDZ6c4cARj0WhEoaZ1tOn3yq9XLf/tNU0O1D5Ad7wq/OpxpaXOL1j5uZAwuaGlVgwNBhULRm0XXBG6HZrlNa9uRrzfM+3DlgjIgGMsA7rl/XDdHOnNf9vosTfVuvTsaQhdkZ4iykh2rHtqydvkxwI58BhjTfv7MmP55E9/1nLNdfU15ACkVvoAaMCRvRPa+re9+DgTaPjMAx+DrJv3M67Mz+6LybWLb4NfTHhxzx31DDhZvOtqGAgNwWbjGICV9XQJB0e/KobcOP1i8qTzaAEYgaDtNU/V5A9hSaUFLuQEt2gVQSgml+j4CUAIppYgK/m0GkCjZ9xGAUNAu0LUhgJRAAAIVzwBSqVRQH4hlAClRKZAFhOgEASoFECBR8QwgUyQGdJT/B8HzCEiBNKhUJzEgBYIgQsTJAkohe9oFZHgHKvQoHtZ9K3tewfiixXABLdoFeuSSEmkF+PH4QTz7+M3o+ENptzvGtS36uSwmjMpAYF10XCllHCYoe84FlLS555Zs5jx6J6ahY+iCl98pJiDNS1hwSZop+cm91zJmxEBefGsPlu1AxKC67V3gf5oGlZSMuz6Dp2fdhWnoAEwaN5T5hsYLb+4hKB1dcgelFDpB8ifk8thDt3DO5+fZxRvxBV0IjQR0EB3KfD1GhJS0GZnnYuGcKTgdF9ZWx4/No/BJjUUrdtJqm4iL+K5SCmSAiWMHMevhcQzNzaa6ron5SzfQ7HeiaSKx+au4m6HupcJKSYZdZVI4dypuV2yo3zoql0VP3cOiFV/Q4jdiGkGhQFqMGpbJL346kbE3DEYIQWNTC39Ysp4Gr4HQtZDyiRhA0NlmSHZbRM7pr1H0m6lckeHqdGXG3jCYoqfupeC17bT49fNRXIFSNrkDTGbNGM9dtw1D10M1DI/Xx3NLP6OqETRdDy1eglPT4rqA7K56gCIrXfHCvHwGZqUnBMtR113FS/N+xHPLtuJpDa1mVobg0emjmX7vqEjsUErhaw1Q8Mo6yk4F0A1HeOW7kIlFx/u7jworRabLpmhuPjmD+iG7YNDrrhnIS09P5cW/buOeO67lkftvJt3tDE06PE7Qsnh++QYOHPOim86wcVUS0+whJug0ghTMmcK1V2eH8m2UHP++nrwhAyIwjiXDcrN5vXAGhqGhFBeMYUvJ0re2sPfgGTTDGUZrEogVopMgmGQWUCgMEWTBE5MZPSLngnGqas/w9j92s31fJfmThvPM7HyMMKRj+qgmOiBHSsnr73/B5r1V6A53KD4k3bFS8dNgckFQoWPxu1kTGDc6N7JqzR4ff/+smE+2H8FSLkx3FluLawhaG3n2iXwcppGoV/Hemt18tK0c3UwLIfUS2nVafBeQJNUXkAF+/dht3H37cKSUBC2bTTv+w98++YazPg1dT0NoIUhruoMd+2sJrtjI7381rQM3iCVrN33N++tL0c30xFNdp0GQeFRYQhcRIO0gv5xxE/fdfSO2bfNVSTmrPtxLZW0A3XSh6VporaLG1XQHu0pOU/TaOhY8+QAuZ3w6vHnnQd74536EkZ50wOsSE0zcugolbWZOG8GM/LGUVdSw6sM97D/UgGa60QxXzMJDZAq6yb7SJgr//CkLn5pOmsvR4Z5dxUdZ9t6XoKfFjNyXkqZjuoBUCpGgCyhp8eDdQ5k++UaWrdrMlr2VSFxoZlpE8YtNWGgGXx9ppnDZpxTMfTCS8gAOlJ5g8ds7kCItTIi6j6FqMVxAC2sV2RB1ekmLCTcNpH+myeyFH7BxT1Voopoe4RKJXQ
|
2012-12-07 20:13:27 -08:00
|
|
|
|
2012-07-18 11:40:05 -07:00
|
|
|
pref("social.sidebar.open", true);
|
2012-10-23 17:09:59 -07:00
|
|
|
pref("social.sidebar.unload_timeout_ms", 10000);
|
2012-08-29 17:20:00 -07:00
|
|
|
|
|
|
|
pref("dom.identity.enabled", false);
|
2013-03-06 20:45:08 -08:00
|
|
|
|
2013-05-16 08:06:43 -07:00
|
|
|
// Turn on the CSP 1.0 parser for Content Security Policy headers
|
|
|
|
pref("security.csp.speccompliant", true);
|
|
|
|
|
2013-04-04 14:52:55 -07:00
|
|
|
// Block insecure active content on https pages
|
|
|
|
pref("security.mixed_content.block_active_content", true);
|
|
|
|
|
|
|
|
|
2013-03-06 20:45:08 -08:00
|
|
|
// Override the Gecko-default value of false for Firefox.
|
|
|
|
pref("plain_text.wrap_long_lines", true);
|
2013-03-15 22:35:22 -07:00
|
|
|
|
2013-03-30 21:17:38 -07: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-12 19:20:07 -07:00
|
|
|
|
|
|
|
// The request URL of the GeoLocation backend.
|
|
|
|
pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
|
2013-07-26 14:26:31 -07: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);
|