2007-03-11 05:21:48 +03:00
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
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");
|
|
|
|
|
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%");
|
2008-01-28 20:11:48 +03:00
|
|
|
|
2006-03-09 00:54:27 +03:00
|
|
|
// Blocklist preferences
|
|
|
|
pref("extensions.blocklist.enabled", true);
|
|
|
|
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);
|
2011-01-15 00:29:27 +03: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%/");
|
2009-01-05 22:59:56 +03:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
|
2011-05-26 01:31:56 +04:00
|
|
|
pref("extensions.blocklist.itemURL", "https://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);
|
2012-01-11 02:42:24 +04:00
|
|
|
pref("extensions.hotfix.certs.1.sha1Fingerprint", "F1:DB:F9:6A:7B:B8:04:FA:48:3C:16:95:C7:2F:17:C6:5B:C2:9F:45");
|
2011-12-17 00:04:50 +04:00
|
|
|
|
2011-08-13 00:50:47 +04:00
|
|
|
// Disable add-ons installed into the shared user and shared system areas by
|
|
|
|
// default. This does not include the application directory. 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
|
|
|
|
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
|
|
|
|
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);
|
|
|
|
|
2010-09-02 03:27:07 +04: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-02 06:02:21 +04: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
|
|
|
|
// no update available. This validation will not be performed when using the
|
|
|
|
// |app.update.url.override| preference for update checking.
|
|
|
|
pref("app.update.certs.1.issuerName", "OU=Equifax Secure Certificate Authority,O=Equifax,C=US");
|
2010-09-11 05:40:18 +04:00
|
|
|
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");
|
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);
|
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// Defines how the Application Update Service notifies the user about updates:
|
|
|
|
//
|
|
|
|
// AUM Set to: Minor Releases: Major Releases:
|
|
|
|
// 0 download no prompt download no prompt
|
|
|
|
// 1 download no prompt download no prompt if no incompatibilities
|
|
|
|
// 2 download no prompt prompt
|
|
|
|
//
|
2010-08-02 06:02:21 +04:00
|
|
|
// See chart in nsUpdateService.js source for more details
|
2005-06-28 22:56:40 +04:00
|
|
|
//
|
|
|
|
pref("app.update.mode", 1);
|
|
|
|
|
|
|
|
// 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
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// Update service URL:
|
2010-09-11 05:40:18 +04:00
|
|
|
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");
|
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
|
|
|
|
// 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);
|
|
|
|
|
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%");
|
2005-07-25 21:25:04 +04: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
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("extensions.getMoreThemesURL", "https://addons.mozilla.org/%LOCALE%/firefox/getpersonas");
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("extensions.dss.enabled", false); // Dynamic Skin Switching
|
|
|
|
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-09-22 12:40:12 +04:00
|
|
|
pref("xpinstall.whitelist.add", "addons.mozilla.org");
|
|
|
|
pref("xpinstall.whitelist.add.36", "getpersonas.com");
|
2004-04-21 08:35:27 +04:00
|
|
|
|
2009-11-17 10:55:47 +03:00
|
|
|
pref("lightweightThemes.update.enabled", true);
|
2004-04-21 08:35:27 +04:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("keyword.enabled", true);
|
2010-08-16 21:47:39 +04:00
|
|
|
// Override the default keyword.URL. Empty value means
|
|
|
|
// "use the search service's default engine"
|
|
|
|
pref("keyword.URL", "");
|
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);
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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 17:03:42 +03:00
|
|
|
|
2003-03-13 11:11:20 +03:00
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
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);
|
2011-01-21 00:43:32 +03:00
|
|
|
pref("browser.warnOnRestart", false);
|
2011-02-08 04:50:37 +03:00
|
|
|
// 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);
|
|
|
|
pref("browser.fullscreen.animateUp", 1);
|
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
|
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);
|
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", "~");
|
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
|
|
|
|
// 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-27 00:59:02 +03:00
|
|
|
// default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed,
|
|
|
|
// 64: javascript, 128: tabs
|
2008-12-10 19:58:43 +03: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 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);
|
|
|
|
|
2008-04-03 07:02:08 +04: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-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-07-04 03:11:08 +04:00
|
|
|
|
2009-01-29 03:00:14 +03:00
|
|
|
pref("browser.download.folderList", 1);
|
2003-12-01 06:48:13 +03:00
|
|
|
pref("browser.download.manager.showAlertOnComplete", true);
|
|
|
|
pref("browser.download.manager.showAlertInterval", 2000);
|
2003-11-30 02:57:52 +03:00
|
|
|
pref("browser.download.manager.retention", 2);
|
|
|
|
pref("browser.download.manager.showWhenStarting", true);
|
2004-09-29 12:12:52 +04:00
|
|
|
pref("browser.download.manager.closeWhenDone", false);
|
2004-02-11 06:48:02 +03:00
|
|
|
pref("browser.download.manager.focusWhenStarting", false);
|
|
|
|
pref("browser.download.manager.flashCount", 2);
|
2007-10-03 20:00:48 +04:00
|
|
|
pref("browser.download.manager.addToRecentDocs", true);
|
2008-01-27 00:11:31 +03:00
|
|
|
pref("browser.download.manager.quitBehavior", 0);
|
2008-01-30 08:07:44 +03:00
|
|
|
pref("browser.download.manager.scanWhenDone", true);
|
2008-03-20 04:16:02 +03:00
|
|
|
pref("browser.download.manager.resumeOnWakeDelay", 10000);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2012-04-17 15:35:09 +04:00
|
|
|
// This allows disabling the Downloads Panel in favor of the old interface.
|
|
|
|
pref("browser.download.useToolkitUI", false);
|
|
|
|
|
|
|
|
// This controls retention behavior in the Downloads Panel only.
|
|
|
|
pref("browser.download.panel.removeFinishedDownloads", false);
|
|
|
|
|
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
|
|
|
|
|
|
|
// disable logging for the search service by default
|
|
|
|
pref("browser.search.log", false);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// 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 19:49:26 +04:00
|
|
|
pref("browser.search.order.3", "chrome://browser-region/locale/region.properties");
|
2004-08-29 12:17:38 +04: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);
|
|
|
|
|
2005-08-12 07:06:39 +04:00
|
|
|
// send ping to the server to update
|
|
|
|
pref("browser.search.update", true);
|
|
|
|
|
2006-07-21 03:00:39 +04:00
|
|
|
// 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-08 07:25:44 +03:00
|
|
|
pref("browser.search.update.interval", 21600);
|
2006-07-21 03:00:39 +04:00
|
|
|
|
2006-07-21 02:54:19 +04:00
|
|
|
// enable search suggestions by default
|
|
|
|
pref("browser.search.suggest.enabled", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
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
|
|
|
|
2007-12-29 06:13:06 +03:00
|
|
|
// Tabbed browser
|
2008-09-17 19:07:26 +04:00
|
|
|
pref("browser.tabs.autoHide", false);
|
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);
|
|
|
|
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);
|
2012-01-06 17:19:57 +04:00
|
|
|
pref("browser.tabs.onTop", true);
|
2011-01-07 23:28:02 +03:00
|
|
|
pref("browser.tabs.drawInTitlebar", true);
|
2006-09-13 02:41:31 +04: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);
|
2006-01-21 02:04:26 +03:00
|
|
|
|
|
|
|
// 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);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
pref("browser.allTabs.previews", false);
|
|
|
|
pref("browser.ctrlTab.previews", false);
|
2008-09-19 13:38:44 +04:00
|
|
|
pref("browser.ctrlTab.recentlyUsedLimit", 7);
|
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
|
|
|
|
2008-04-04 00:51:54 +04: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 19:22:57 +03:00
|
|
|
pref("browser.bookmarks.max_backups", 10);
|
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
|
|
|
|
|
2004-11-30 11:23:02 +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
|
|
|
|
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.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);
|
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
|
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);
|
|
|
|
|
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
|
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", "");
|
2008-11-28 02:07:02 +03:00
|
|
|
pref("browser.gesture.twist.latched", false);
|
|
|
|
pref("browser.gesture.twist.threshold", 25);
|
2009-05-20 10:32:23 +04:00
|
|
|
pref("browser.gesture.twist.right", "");
|
|
|
|
pref("browser.gesture.twist.left", "");
|
2009-04-02 23:34:31 +04:00
|
|
|
pref("browser.gesture.tap", "cmd_fullZoomReset");
|
2008-11-01 18:47:07 +03:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
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.
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withshiftkey.action",0);
|
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
|
|
|
pref("mousewheel.withaltkey.action",2);
|
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withmetakey.action",0);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withmetakey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
2005-09-26 07:40:18 +04:00
|
|
|
#else
|
2003-07-06 06:40:23 +04:00
|
|
|
pref("mousewheel.withshiftkey.action",2);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
2003-07-06 06:40:23 +04:00
|
|
|
pref("mousewheel.withaltkey.action",0);
|
2005-10-10 23:29:47 +04:00
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withmetakey.action",0);
|
|
|
|
pref("mousewheel.withmetakey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
|
|
|
#endif
|
2008-02-13 14:00:45 +03:00
|
|
|
pref("mousewheel.withcontrolkey.action",3);
|
2005-11-17 21:50:50 +03:00
|
|
|
pref("mousewheel.withcontrolkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withcontrolkey.numlines",1);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
|
|
|
// pref to control the alert notification
|
|
|
|
pref("alerts.slideIncrement", 1);
|
|
|
|
pref("alerts.slideIncrementTime", 10);
|
|
|
|
pref("alerts.totalOpenTime", 4000);
|
|
|
|
|
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
|
|
|
|
2011-01-28 03:07:30 +03:00
|
|
|
// Work Offline is best manually managed by the user.
|
|
|
|
pref("network.manage-offline-status", false);
|
|
|
|
|
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
|
|
|
|
// ...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);
|
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-01-01 02:03:08 +03:00
|
|
|
// Default security warning dialogs to show once.
|
2007-08-20 18:22:42 +04:00
|
|
|
pref("security.warn_entering_secure.show_once", false);
|
2004-01-01 02:03:08 +03:00
|
|
|
pref("security.warn_entering_weak.show_once", true);
|
2007-08-20 18:22:42 +04:00
|
|
|
pref("security.warn_leaving_secure.show_once", false);
|
2004-01-01 02:03:08 +03:00
|
|
|
pref("security.warn_viewing_mixed.show_once", true);
|
2007-08-20 18:22:42 +04:00
|
|
|
pref("security.warn_submit_insecure.show_once", false);
|
2004-06-02 01:31:54 +04: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);
|
|
|
|
|
2005-06-16 22:24:34 +04:00
|
|
|
// plugin finder service url
|
2008-05-28 22:49:32 +04: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%");
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2009-10-02 15:26:04 +04:00
|
|
|
// by default we show an infobar message when pages require plugins the user has not installed, or are outdated
|
2007-10-02 23:08:00 +04:00
|
|
|
pref("plugins.hide_infobar_for_missing_plugin", false);
|
2009-10-02 15:26:04 +04:00
|
|
|
pref("plugins.hide_infobar_for_outdated_plugin", false);
|
|
|
|
|
2011-02-04 22:59:14 +03:00
|
|
|
#ifdef XP_MACOSX
|
2011-07-12 18:31:18 +04:00
|
|
|
pref("plugins.use_layers", true);
|
2011-02-04 22:59:14 +03:00
|
|
|
pref("plugins.hide_infobar_for_carbon_failure_plugin", false);
|
|
|
|
#endif
|
|
|
|
|
2009-10-08 04:26:16 +04:00
|
|
|
pref("plugins.update.url", "https://www.mozilla.com/%LOCALE%/plugincheck/");
|
2009-10-02 15:26:04 +04:00
|
|
|
pref("plugins.update.notifyUser", false);
|
2007-10-02 23:08:00 +04:00
|
|
|
|
2012-04-03 00:49:56 +04:00
|
|
|
pref("plugins.click_to_play", false);
|
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("browser.preferences.instantApply", false);
|
|
|
|
#else
|
|
|
|
pref("browser.preferences.instantApply", true);
|
|
|
|
#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
|
|
|
|
|
|
|
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
|
|
|
|
// seeded by this file) to its datastore.
|
|
|
|
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
|
2008-02-09 07:50:16 +03:00
|
|
|
// Safe browsing does nothing unless this pref is set
|
2006-05-12 19:46:25 +04:00
|
|
|
pref("browser.safebrowsing.enabled", true);
|
|
|
|
|
2007-08-10 02:11:22 +04:00
|
|
|
// Prevent loading of pages identified as malware
|
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
|
|
|
|
2006-06-08 00:26:01 +04:00
|
|
|
// Non-enhanced mode (local url lists) URL list to check for updates
|
2008-11-06 03:01:08 +03:00
|
|
|
pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2");
|
2006-06-08 00:26:01 +04:00
|
|
|
|
|
|
|
pref("browser.safebrowsing.dataProvider", 0);
|
2006-05-12 19:46:25 +04:00
|
|
|
|
2006-06-08 00:26:01 +04:00
|
|
|
// Does the provider name need to be localizable?
|
|
|
|
pref("browser.safebrowsing.provider.0.name", "Google");
|
2008-11-06 03:01:08 +03:00
|
|
|
pref("browser.safebrowsing.provider.0.keyURL", "https://sb-ssl.google.com/safebrowsing/newkey?client={moz:client}&appver={moz:version}&pver=2.2");
|
2008-02-27 06:49:29 +03:00
|
|
|
pref("browser.safebrowsing.provider.0.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?");
|
2008-11-06 03:01:08 +03:00
|
|
|
pref("browser.safebrowsing.provider.0.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.2");
|
2006-06-08 00:26:01 +04:00
|
|
|
|
|
|
|
// HTML report pages
|
2006-08-18 23:50:16 +04:00
|
|
|
pref("browser.safebrowsing.provider.0.reportGenericURL", "http://{moz:locale}.phish-generic.mozilla.com/?hl={moz:locale}");
|
|
|
|
pref("browser.safebrowsing.provider.0.reportErrorURL", "http://{moz:locale}.phish-error.mozilla.com/?hl={moz:locale}");
|
|
|
|
pref("browser.safebrowsing.provider.0.reportPhishURL", "http://{moz:locale}.phish-report.mozilla.com/?hl={moz:locale}");
|
2008-10-27 22:36:46 +03:00
|
|
|
pref("browser.safebrowsing.provider.0.reportMalwareURL", "http://{moz:locale}.malware-report.mozilla.com/?hl={moz:locale}");
|
|
|
|
pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "http://{moz:locale}.malware-error.mozilla.com/?hl={moz:locale}");
|
2006-08-19 23:32:19 +04:00
|
|
|
|
2009-04-16 01:49:11 +04:00
|
|
|
// FAQ URLs
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/firefox/phishing-protection/");
|
|
|
|
pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/firefox/geolocation/");
|
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
|
|
|
|
2008-04-16 02:39:44 +04:00
|
|
|
// The list of tables that use the gethash request to confirm partial results.
|
|
|
|
pref("urlclassifier.gethashtables", "goog-phish-shavar,goog-malware-shavar");
|
|
|
|
|
|
|
|
// 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.
|
|
|
|
pref("urlclassifier.confirm-age", 2700);
|
|
|
|
|
2008-03-07 22:51:25 +03:00
|
|
|
// URL for checking the reason for a malware warning.
|
2008-04-23 00:00:19 +04:00
|
|
|
pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
|
2008-03-07 22:51:25 +03:00
|
|
|
|
2006-05-12 19:46:25 +04:00
|
|
|
#endif
|
2006-09-13 11:55:52 +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
|
|
|
|
|
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
|
|
|
// 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 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);
|
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);
|
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
|
|
|
|
2010-09-08 15:39:35 +04:00
|
|
|
// Controls the display of domain in the identity box for SSL connections.
|
2008-01-30 07:21:53 +03:00
|
|
|
// 0 - do not show domain
|
|
|
|
// 1 - show effectiveTLD + 1 (e.g. mozilla.org)
|
|
|
|
// 2 - show full domain (e.g. bugzilla.mozilla.org)
|
2009-03-01 11:45:24 +03:00
|
|
|
pref("browser.identity.ssl_domain_display", 1);
|
2008-01-30 07:21:53 +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
|
|
|
|
pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
|
2008-03-24 20:18:38 +03:00
|
|
|
|
|
|
|
// base URL for web-based support pages
|
2012-01-11 23:16:42 +04:00
|
|
|
pref("app.support.baseURL", "http://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
|
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
|
|
|
|
|
|
|
// Whether we should skip prompting before starting the private browsing mode
|
|
|
|
pref("browser.privatebrowsing.dont_prompt_on_enter", false);
|
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
|
|
|
|
2009-05-19 05:12:59 +04: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-25 02:21:07 +04:00
|
|
|
|
2010-05-02 02:39:53 +04:00
|
|
|
// The default for this pref reflects whether the build is capable of IPC.
|
|
|
|
// (Turning it on in a no-IPC build will have no effect.)
|
2010-03-17 21:38:28 +03:00
|
|
|
#ifdef XP_MACOSX
|
2010-09-28 00:42:43 +04:00
|
|
|
// i386 ipc preferences
|
|
|
|
pref("dom.ipc.plugins.enabled.i386", false);
|
|
|
|
pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
|
|
|
|
pref("dom.ipc.plugins.enabled.i386.javaplugin2_npapi.plugin", true);
|
2011-04-21 19:47:21 +04:00
|
|
|
pref("dom.ipc.plugins.enabled.i386.javaappletplugin.plugin", true);
|
2010-09-28 00:42:43 +04:00
|
|
|
// x86_64 ipc preferences
|
|
|
|
pref("dom.ipc.plugins.enabled.x86_64", true);
|
2010-05-02 01:40:15 +04:00
|
|
|
#else
|
2011-04-03 06:14:00 +04:00
|
|
|
pref("dom.ipc.plugins.enabled", true);
|
2010-05-02 01:40:15 +04:00
|
|
|
#endif
|
2009-10-12 18:51:38 +04:00
|
|
|
|
2011-06-23 00:43:09 +04:00
|
|
|
#ifdef MOZ_E10S_COMPAT
|
|
|
|
pref("browser.tabs.remote", true);
|
|
|
|
#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.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);
|
2012-03-01 04:18:58 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.enabled", 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.selectedEngine", 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.autoHide", 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);
|
2012-01-06 17:19:57 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.tabs.onTop", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.autoFill", 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.general.smoothScroll", 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 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);
|
|
|
|
pref("services.sync.prefs.sync.security.OCSP.disable_button.managecrl", 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);
|
|
|
|
pref("services.sync.prefs.sync.security.enable_ssl3", true);
|
|
|
|
pref("services.sync.prefs.sync.security.enable_tls", true);
|
|
|
|
pref("services.sync.prefs.sync.security.warn_entering_secure", true);
|
|
|
|
pref("services.sync.prefs.sync.security.warn_entering_weak", true);
|
|
|
|
pref("services.sync.prefs.sync.security.warn_leaving_secure", true);
|
|
|
|
pref("services.sync.prefs.sync.security.warn_submit_insecure", true);
|
|
|
|
pref("services.sync.prefs.sync.security.warn_viewing_mixed", true);
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
|
|
// Enable the Inspector
|
|
|
|
pref("devtools.inspector.enabled", true);
|
2011-11-07 23:31:45 +04:00
|
|
|
pref("devtools.inspector.htmlHeight", 112);
|
2012-01-27 20:13:53 +04:00
|
|
|
pref("devtools.inspector.htmlPanelOpen", false);
|
2012-01-28 17:48:00 +04:00
|
|
|
pref("devtools.inspector.sidebarOpen", false);
|
|
|
|
pref("devtools.inspector.activeSidebar", "ruleview");
|
2010-09-22 01:56:52 +04:00
|
|
|
|
2012-02-07 21:22:30 +04:00
|
|
|
// Enable the Debugger
|
|
|
|
pref("devtools.debugger.enabled", false);
|
|
|
|
|
|
|
|
// The default Debugger UI height
|
|
|
|
pref("devtools.debugger.ui.height", 250);
|
|
|
|
|
2011-08-30 16:12:02 +04:00
|
|
|
// Enable the style inspector
|
|
|
|
pref("devtools.styleinspector.enabled", true);
|
|
|
|
|
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
|
|
|
|
2011-11-04 01:40:36 +04:00
|
|
|
// Enable the rules view
|
|
|
|
pref("devtools.ruleview.enabled", true);
|
|
|
|
|
2011-05-09 18:51:52 +04:00
|
|
|
// Enable the Scratchpad tool.
|
|
|
|
pref("devtools.scratchpad.enabled", true);
|
2011-04-20 12:18:00 +04:00
|
|
|
|
2011-10-26 13:02:08 +04:00
|
|
|
// Enable the Style Editor.
|
|
|
|
pref("devtools.styleeditor.enabled", true);
|
2012-01-12 20:26:39 +04:00
|
|
|
pref("devtools.styleeditor.transitions", true);
|
2011-10-26 13:02:08 +04:00
|
|
|
|
2011-04-20 00:42:56 +04:00
|
|
|
// Enable tools for Chrome development.
|
|
|
|
pref("devtools.chrome.enabled", false);
|
|
|
|
|
2011-05-27 16:49:02 +04:00
|
|
|
// Disable the GCLI enhanced command line.
|
2012-01-21 00:29:04 +04:00
|
|
|
pref("devtools.gcli.enable", false);
|
2011-05-27 16:49:02 +04:00
|
|
|
|
2010-11-20 22:53:14 +03:00
|
|
|
// The last Web Console height. This is initially 0 which means that the Web
|
|
|
|
// Console will use the default height next time it shows.
|
|
|
|
// Change to -1 if you do not want the Web Console to remember its last height.
|
|
|
|
pref("devtools.hud.height", 0);
|
|
|
|
|
2011-05-18 15:08:54 +04:00
|
|
|
// Remember the Web Console position. Possible values:
|
|
|
|
// above - above the web page,
|
|
|
|
// below - below the web page,
|
|
|
|
// window - in a separate window/popup panel.
|
|
|
|
pref("devtools.webconsole.position", "above");
|
|
|
|
|
2011-11-18 22:24:04 +04:00
|
|
|
// Remember the Web Console filters
|
|
|
|
pref("devtools.webconsole.filter.network", true);
|
|
|
|
pref("devtools.webconsole.filter.networkinfo", true);
|
|
|
|
pref("devtools.webconsole.filter.csserror", true);
|
|
|
|
pref("devtools.webconsole.filter.cssparser", true);
|
|
|
|
pref("devtools.webconsole.filter.exception", true);
|
|
|
|
pref("devtools.webconsole.filter.jswarn", true);
|
|
|
|
pref("devtools.webconsole.filter.error", true);
|
|
|
|
pref("devtools.webconsole.filter.warn", true);
|
|
|
|
pref("devtools.webconsole.filter.info", true);
|
|
|
|
pref("devtools.webconsole.filter.log", true);
|
|
|
|
|
2011-05-20 00:15:36 +04: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 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.
|
|
|
|
pref("devtools.editor.tabsize", 4);
|
|
|
|
pref("devtools.editor.expandtab", true);
|
|
|
|
|
2011-08-12 13:58:40 +04: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 18:48:07 +04:00
|
|
|
// indenting and bracket recognition.
|
2011-08-17 20:41:41 +04:00
|
|
|
pref("devtools.editor.component", "orion");
|
2011-08-12 13:58:40 +04:00
|
|
|
|
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-01-26 02:43:27 +04:00
|
|
|
// Defines the url to be used for new tabs.
|
2012-02-01 14:46:40 +04:00
|
|
|
pref("browser.newtab.url", "about:newtab");
|
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
|
|
|
|
2011-11-08 04:20:53 +04:00
|
|
|
// Enable the DOM full-screen API.
|
|
|
|
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)
|
|
|
|
pref("toolkit.startup.max_resumed_crashes", 2);
|