2007-03-22 10:30:00 -07: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 *****
|
|
|
|
|
|
|
|
// XXX Toolkit-specific preferences should be moved into toolkit.js
|
|
|
|
|
|
|
|
#filter substitution
|
|
|
|
|
|
|
|
# SYNTAX HINTS: dashes are delimiters. Use underscores instead.
|
|
|
|
# The first character after a period must be alphabetic.
|
|
|
|
|
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
#define UNIX_BUT_NOT_MAC
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
pref("general.startup.browser", true);
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
2010-07-19 16:01:23 -07:00
|
|
|
// Preferences for the Get Add-ons pane
|
|
|
|
pref("extensions.getAddons.maxResults", 15);
|
|
|
|
pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%");
|
|
|
|
|
2010-04-29 10:17:19 -07:00
|
|
|
// Preferences for AMO integration
|
2010-05-10 12:11:39 -07:00
|
|
|
pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/%APP%/discovery/%VERSION%/%OS%");
|
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);
|
2008-11-04 10:05:36 -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%/");
|
2009-01-05 11:59:56 -08:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// Dictionary download preference
|
2009-12-02 22:45:16 -08:00
|
|
|
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/%APP%/dictionaries/");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-09-18 11:03:27 -07:00
|
|
|
// Update Timer Manager preferences
|
|
|
|
// Interval: When all registered timers should be checked (in milliseconds)
|
|
|
|
// default=10 minutes
|
|
|
|
pref("app.update.timer", 600000);
|
|
|
|
|
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
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
// 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
|
|
|
|
//
|
|
|
|
// See chart in nsUpdateService.js.in for more details
|
|
|
|
//
|
|
|
|
pref("app.update.mode", 1);
|
|
|
|
|
|
|
|
// If set to true, the Update Service will present no UI for any event.
|
|
|
|
pref("app.update.silent", false);
|
|
|
|
|
|
|
|
// Update service URL:
|
2007-10-01 17:52:49 -07:00
|
|
|
pref("app.update.url", "https://aus2.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
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
|
|
|
|
|
2008-01-08 23:37:06 -08:00
|
|
|
// Interval: Time before prompting the user again to restart to install the
|
|
|
|
// latest download (in seconds) default=1 day
|
|
|
|
pref("app.update.nagTimer.restart", 86400);
|
2008-11-04 21:50:52 -08:00
|
|
|
|
|
|
|
// Give the user x seconds to react before showing the big UI. default=12 hours
|
2008-01-08 23:37:06 -08:00
|
|
|
pref("app.update.promptWaitTime", 43200);
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
// 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);
|
2009-09-10 11:50:41 -07: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%");
|
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
|
2009-11-16 13:05:25 -08:00
|
|
|
pref("extensions.getMoreThemesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/getpersonas");
|
2007-03-22 10:30:00 -07:00
|
|
|
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");
|
|
|
|
pref("xpinstall.whitelist.add.36", "getpersonas.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
|
|
|
|
|
|
|
pref("keyword.enabled", true);
|
|
|
|
pref("keyword.URL", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
|
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
|
|
|
pref("general.useragent.extra.firefox", "@APP_UA_NAME@/@APP_VERSION@");
|
|
|
|
|
|
|
|
pref("general.smoothScroll", false);
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("general.autoScroll", false);
|
|
|
|
#else
|
|
|
|
pref("general.autoScroll", true);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Whether or not the application should check at startup each time if it
|
|
|
|
// is the default browser.
|
|
|
|
pref("browser.shell.checkDefaultBrowser", true);
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
2007-06-15 11:01:25 -07:00
|
|
|
pref("browser.warnOnQuit", true);
|
2008-02-23 01:32:09 -08:00
|
|
|
pref("browser.warnOnRestart", true);
|
2008-03-08 03:30:39 -08:00
|
|
|
pref("browser.fullscreen.autohide", true);
|
|
|
|
pref("browser.fullscreen.animateUp", 1);
|
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
|
|
|
|
pref("browser.urlbar.autoFill", false);
|
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.
|
|
|
|
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);
|
|
|
|
|
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.
|
|
|
|
pref("browser.download.saveLinkAsFilenameTimeout", 1000);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
2009-07-03 16:11:08 -07:00
|
|
|
|
|
|
|
#ifdef WINCE
|
|
|
|
pref("browser.download.folderList", 2);
|
2009-10-30 16:13:41 -07:00
|
|
|
pref("browser.download.dir", "\\Storage Card");
|
2009-07-03 16:11:08 -07:00
|
|
|
#else
|
2009-01-28 16:00:14 -08:00
|
|
|
pref("browser.download.folderList", 1);
|
2009-07-03 16:11:08 -07:00
|
|
|
#endif
|
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
|
|
|
|
|
|
|
// search engines URL
|
2009-12-02 22:45:16 -08:00
|
|
|
pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/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");
|
|
|
|
|
|
|
|
// search bar results always open in a new tab
|
|
|
|
pref("browser.search.openintab", false);
|
|
|
|
|
|
|
|
// 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
|
|
|
|
2007-08-15 11:24:33 -07:00
|
|
|
// Whether or not microsummary and generator updates are enabled
|
|
|
|
pref("browser.microsummary.enabled", true);
|
|
|
|
pref("browser.microsummary.updateGenerators", true);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// enable search suggestions by default
|
|
|
|
pref("browser.search.suggest.enabled", true);
|
|
|
|
|
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
|
|
|
|
|
|
|
// handle links targeting new windows
|
2008-10-12 10:36:01 -07:00
|
|
|
// 0=default window, 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);
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
|
2007-12-28 19:13:06 -08:00
|
|
|
// Tabbed browser
|
2009-07-09 14:55:50 -07:00
|
|
|
#ifndef WINCE
|
2008-09-17 08:07:26 -07:00
|
|
|
pref("browser.tabs.autoHide", false);
|
2009-07-09 14:55:50 -07:00
|
|
|
#else
|
|
|
|
pref("browser.tabs.autoHide", true);
|
|
|
|
#endif
|
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);
|
|
|
|
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);
|
|
|
|
|
|
|
|
// 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.allTabs.previews", false);
|
|
|
|
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);
|
|
|
|
#ifdef DEBUG
|
|
|
|
pref("javascript.options.showInConsole", true);
|
2007-06-05 17:05:11 -07:00
|
|
|
pref("general.warnOnAboutConfig", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
#else
|
|
|
|
pref("javascript.options.showInConsole", false);
|
|
|
|
#endif
|
|
|
|
|
2009-07-17 10:54:40 -07:00
|
|
|
#ifdef WINCE
|
|
|
|
// Set the threshold higher to avoid some slow script warnings
|
|
|
|
pref("dom.max_script_run_time", 20);
|
|
|
|
#endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Make the status bar reliably present and unaffected by pages
|
|
|
|
pref("dom.disable_window_open_feature.status", true);
|
|
|
|
// This is the pref to control the location bar, change this to true to
|
|
|
|
// force this instead of or in addition to the status bar - this makes
|
2007-08-23 11:49:02 -07:00
|
|
|
// 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
|
|
|
|
pref("dom.disable_window_open_feature.location", true);
|
2007-03-22 10:30:00 -07:00
|
|
|
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);
|
|
|
|
|
|
|
|
// popups.policy 1=allow,2=reject
|
|
|
|
pref("privacy.popups.policy", 1);
|
|
|
|
pref("privacy.popups.usecustom", true);
|
|
|
|
pref("privacy.popups.firstTime", 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
|
|
|
|
|
|
|
|
// l12n and i18n
|
|
|
|
pref("intl.accept_languages", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.static", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more1", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more2", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more3", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more4", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charsetmenu.browser.more5", "chrome://global/locale/intl.properties");
|
2008-12-24 15:47:51 -08:00
|
|
|
pref("intl.charsetmenu.browser.unicode", "UTF-8, UTF-16LE, UTF-16BE, UTF-32, UTF-32LE, UTF-32BE");
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("intl.charset.detector", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.charset.default", "chrome://global-platform/locale/intl.properties");
|
|
|
|
pref("font.language.group", "chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.menuitems.alwaysappendaccesskeys","chrome://global/locale/intl.properties");
|
|
|
|
pref("intl.menuitems.insertseparatorbeforeaccesskeys","chrome://global/locale/intl.properties");
|
|
|
|
|
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");
|
|
|
|
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
|
2008-11-01 08:47:07 -07:00
|
|
|
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");
|
2008-11-27 15:07:02 -08:00
|
|
|
pref("browser.gesture.twist.latched", false);
|
|
|
|
pref("browser.gesture.twist.threshold", 25);
|
2009-05-19 23:32:23 -07:00
|
|
|
pref("browser.gesture.twist.right", "");
|
|
|
|
pref("browser.gesture.twist.left", "");
|
2009-04-02 12:34:31 -07:00
|
|
|
pref("browser.gesture.tap", "cmd_fullZoomReset");
|
2008-11-01 08:47:07 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// 0=lines, 1=pages, 2=history , 3=text size
|
|
|
|
#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.
|
|
|
|
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);
|
|
|
|
pref("mousewheel.withmetakey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
|
|
|
#else
|
|
|
|
pref("mousewheel.withshiftkey.action",2);
|
|
|
|
pref("mousewheel.withshiftkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withshiftkey.numlines",1);
|
|
|
|
pref("mousewheel.withaltkey.action",0);
|
|
|
|
pref("mousewheel.withaltkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withaltkey.numlines",1);
|
|
|
|
pref("mousewheel.withmetakey.action",0);
|
|
|
|
pref("mousewheel.withmetakey.sysnumlines",true);
|
|
|
|
pref("mousewheel.withmetakey.numlines",1);
|
|
|
|
#endif
|
2008-02-13 03:00:45 -08:00
|
|
|
pref("mousewheel.withcontrolkey.action",3);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("mousewheel.withcontrolkey.sysnumlines",false);
|
|
|
|
pref("mousewheel.withcontrolkey.numlines",1);
|
|
|
|
|
|
|
|
pref("profile.allow_automigration", false); // setting to false bypasses automigration in the profile code
|
|
|
|
|
|
|
|
// Customizable toolbar stuff
|
|
|
|
pref("custtoolbar.personal_toolbar_folder", "");
|
|
|
|
|
|
|
|
// pref to control the alert notification
|
|
|
|
pref("alerts.slideIncrement", 1);
|
|
|
|
pref("alerts.slideIncrementTime", 10);
|
|
|
|
pref("alerts.totalOpenTime", 4000);
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
// 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
|
|
|
|
// ...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);
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
// Default security warning dialogs to show once.
|
2007-08-20 07:22:42 -07:00
|
|
|
pref("security.warn_entering_secure.show_once", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("security.warn_entering_weak.show_once", true);
|
2007-08-20 07:22:42 -07:00
|
|
|
pref("security.warn_leaving_secure.show_once", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("security.warn_viewing_mixed.show_once", true);
|
2007-08-20 07:22:42 -07:00
|
|
|
pref("security.warn_submit_insecure.show_once", false);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
2009-10-02 04:26:04 -07:00
|
|
|
// by default we show an infobar message when pages require plugins the user has not installed, or are outdated
|
2007-10-02 12:08:00 -07:00
|
|
|
pref("plugins.hide_infobar_for_missing_plugin", false);
|
2009-10-02 04:26:04 -07:00
|
|
|
pref("plugins.hide_infobar_for_outdated_plugin", false);
|
|
|
|
|
2009-10-07 17:26:16 -07:00
|
|
|
pref("plugins.update.url", "https://www.mozilla.com/%LOCALE%/plugincheck/");
|
2009-10-02 04:26:04 -07:00
|
|
|
pref("plugins.update.notifyUser", false);
|
2007-10-02 12:08:00 -07:00
|
|
|
|
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
|
|
|
|
|
|
|
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
|
2008-02-08 20:50:16 -08:00
|
|
|
// Safe browsing does nothing unless this pref is set
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.safebrowsing.enabled", true);
|
|
|
|
|
2007-08-09 15:11:22 -07:00
|
|
|
// Prevent loading of pages identified as malware
|
|
|
|
pref("browser.safebrowsing.malware.enabled", true);
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
// Non-enhanced mode (local url lists) URL list to check for updates
|
2008-11-05 16:01:08 -08:00
|
|
|
pref("browser.safebrowsing.provider.0.updateURL", "http://safebrowsing.clients.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
pref("browser.safebrowsing.dataProvider", 0);
|
|
|
|
|
|
|
|
// Does the provider name need to be localizable?
|
|
|
|
pref("browser.safebrowsing.provider.0.name", "Google");
|
2008-11-05 16:01:08 -08: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-26 19:49:29 -08:00
|
|
|
pref("browser.safebrowsing.provider.0.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/report?");
|
2008-11-05 16:01:08 -08:00
|
|
|
pref("browser.safebrowsing.provider.0.gethashURL", "http://safebrowsing.clients.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.2");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
// HTML report pages
|
|
|
|
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 12:36:46 -07: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}");
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2009-04-15 14:49:11 -07:00
|
|
|
// FAQ URLs
|
2009-12-02 22:45:16 -08:00
|
|
|
pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/phishing-protection/");
|
|
|
|
pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/geolocation/");
|
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
|
|
|
// 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-05-02 14:04:19 -07:00
|
|
|
#ifdef MOZ_WIDGET_GTK2
|
2008-07-02 09:36:41 -07:00
|
|
|
#define RESTRICT_CACHEMAX
|
|
|
|
#endif
|
|
|
|
#ifdef XP_OS2
|
|
|
|
#define RESTRICT_CACHEMAX
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Maximum size of the sqlite3 cache during an update, in bytes
|
|
|
|
#ifdef RESTRICT_CACHEMAX
|
2008-05-02 02:55:09 -07:00
|
|
|
pref("urlclassifier.updatecachemax", 104857600);
|
|
|
|
#else
|
|
|
|
pref("urlclassifier.updatecachemax", -1);
|
|
|
|
#endif
|
|
|
|
|
2008-03-07 11:51:25 -08:00
|
|
|
// URL for checking the reason for a malware warning.
|
2008-04-22 13:00:19 -07:00
|
|
|
pref("browser.safebrowsing.malware.reportURL", "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
|
2008-03-07 11:51:25 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
|
2009-10-30 16:13:41 -07:00
|
|
|
#ifdef WINCE
|
|
|
|
pref("browser.sessionstore.resume_from_crash", false);
|
|
|
|
#else
|
2007-03-22 10:30:00 -07:00
|
|
|
pref("browser.sessionstore.resume_from_crash", true);
|
2009-10-30 16:13:41 -07:00
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
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
|
|
|
|
pref("browser.sessionstore.privacy_level", 1);
|
|
|
|
// 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);
|
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);
|
|
|
|
|
2009-12-22 04:05:01 -08:00
|
|
|
// The percentage of system memory that the Places database can use. Out of the
|
|
|
|
// allowed cache size it will at most use the size of the database file.
|
|
|
|
// Changes to this value are effective after an application restart.
|
|
|
|
// Acceptable values are between 0 and 50.
|
|
|
|
pref("places.database.cache_to_memory_percentage", 6);
|
|
|
|
|
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-01-29 20:21:53 -08:00
|
|
|
// Controls the display of domain in the identity box for SSL connections.
|
|
|
|
// 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 00:45:24 -08:00
|
|
|
pref("browser.identity.ssl_domain_display", 1);
|
2008-01-29 20:21:53 -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
|
|
|
|
pref("breakpad.reportURL", "http://crash-stats.mozilla.com/report/index/");
|
2008-03-24 10:18:38 -07:00
|
|
|
|
|
|
|
// base URL for web-based support pages
|
|
|
|
pref("app.support.baseURL", "http://support.mozilla.com/1/%APP%/%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
|
|
|
|
|
|
|
// Whether we should skip prompting before starting the private browsing mode
|
|
|
|
pref("browser.privatebrowsing.dont_prompt_on_enter", false);
|
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
|
|
|
|
|
|
|
// base url for the wifi geolocation network provider
|
|
|
|
pref("geo.wifi.uri", "https://www.google.com/loc/json");
|
2010-02-11 11:59:55 -08:00
|
|
|
pref("geo.wifi.protocol", 0);
|
2009-05-18 18:12:59 -07:00
|
|
|
|
2009-07-08 17:09:43 -07:00
|
|
|
#ifdef WINCE
|
|
|
|
|
2009-08-05 13:21:09 -07:00
|
|
|
// tweak awesomebar -- increase the delay until a search happens.
|
2009-09-13 13:26:31 -07:00
|
|
|
pref("browser.urlbar.delay", 250);
|
2009-07-08 17:09:43 -07:00
|
|
|
|
|
|
|
// disable safe browsing, due to perf hit
|
|
|
|
pref("browser.safebrowsing.enabled", false);
|
2009-07-16 15:04:01 -07:00
|
|
|
pref("browser.safebrowsing.malware.enabled", false);
|
2009-07-08 17:09:43 -07:00
|
|
|
|
|
|
|
// don't check for default browser
|
|
|
|
pref("browser.shell.checkDefaultBrowser", false);
|
|
|
|
|
|
|
|
// disable bfcache for memory
|
|
|
|
pref("browser.sessionhistory.max_total_viewers", 0);
|
|
|
|
|
|
|
|
// tweak default content sink prefs
|
|
|
|
pref("content.sink.interactive_deflect_count", 10); /* default 0 */
|
|
|
|
pref("content.sink.perf_deflect_count", 50); /* default 200 */
|
|
|
|
pref("content.sink.interactive_parse_time", 5000); /* default 3000 */
|
|
|
|
pref("content.sink.perf_parse_time", 150000); /* default 360000 */
|
|
|
|
pref("content.sink.pending_event_mode", 0); /* default 1 */
|
|
|
|
pref("content.sink.event_probe_rate", 1); /* default 1 */
|
|
|
|
pref("content.sink.interactive_time", 750000); /* default 750000 */
|
|
|
|
pref("content.sink.initial_perf_time", 500000); /* default 2000000 */
|
|
|
|
pref("content.sink.enable_perf_mode", 0); /* default 0; 0 == switch, 1 == stay interactive, 2 == stay perf */
|
|
|
|
|
2009-08-01 16:21:58 -07:00
|
|
|
// Write sessionstore.js less often
|
|
|
|
pref("browser.sessionstore.interval", 60000);
|
|
|
|
|
2009-07-08 17:09:43 -07:00
|
|
|
#endif /* WINCE */
|
|
|
|
|
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-05-01 15:39:53 -07: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 11:38:28 -07:00
|
|
|
#ifdef XP_MACOSX
|
2010-05-01 15:39:53 -07:00
|
|
|
// OSX still has only partial support for IPC. Note that the PowerPC
|
|
|
|
// and x86 builds must generate identical copies of this file, so we
|
|
|
|
// can't make the prefs indicate that IPC is not available at all in
|
|
|
|
// PowerPC builds.
|
2010-03-17 11:38:28 -07:00
|
|
|
pref("dom.ipc.plugins.enabled", false);
|
2010-04-05 08:25:59 -07:00
|
|
|
// These plug-ins will run OOP by default
|
|
|
|
pref("dom.ipc.plugins.enabled.flash player.plugin", true);
|
2010-04-05 09:33:10 -07:00
|
|
|
pref("dom.ipc.plugins.enabled.javaplugin2_npapi.plugin", true);
|
2010-05-01 15:39:53 -07:00
|
|
|
#elifdef MOZ_IPC
|
2010-02-05 11:35:04 -08:00
|
|
|
pref("dom.ipc.plugins.enabled", true);
|
2010-05-01 14:40:15 -07:00
|
|
|
#else
|
|
|
|
pref("dom.ipc.plugins.enabled", false);
|
|
|
|
#endif
|
2009-10-12 07:51:38 -07:00
|
|
|
|
2009-10-06 12:57:20 -07:00
|
|
|
#ifdef XP_WIN
|
|
|
|
#ifndef WINCE
|
|
|
|
pref("browser.taskbar.previews.enable", true);
|
|
|
|
pref("browser.taskbar.previews.max", 20);
|
|
|
|
pref("browser.taskbar.previews.cachetime", 20);
|
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-05-27 09:03:10 -07:00
|
|
|
pref("browser.taskbar.lists.refreshInSeconds", 30);
|
2009-10-06 12:57:20 -07:00
|
|
|
#endif
|
2009-10-05 21:26:15 -07:00
|
|
|
#endif
|