2014-06-25 09:12:07 +04:00
|
|
|
# -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-06-10 04:07:47 +04:00
|
|
|
// XXX Toolkit-specific preferences should be moved into toolkit.js
|
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
#filter substitution
|
|
|
|
|
2012-03-15 02:49:17 +04:00
|
|
|
#
|
|
|
|
# SYNTAX HINTS:
|
|
|
|
#
|
|
|
|
# - Dashes are delimiters; use underscores instead.
|
|
|
|
# - The first character after a period must be alphabetic.
|
|
|
|
# - Computed values (e.g. 50 * 1024) don't work.
|
|
|
|
#
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
#define UNIX_BUT_NOT_MAC
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.chromeURL","chrome://browser/content/");
|
2003-08-11 10:54:55 +04:00
|
|
|
pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-04-23 05:39:51 +04:00
|
|
|
// Enables some extra Extension System Logging (can reduce performance)
|
|
|
|
pref("extensions.logging.enabled", false);
|
2004-04-25 14:37:18 +04:00
|
|
|
|
2011-11-17 08:27:26 +04:00
|
|
|
// Disables strict compatibility, making addons compatible-by-default.
|
|
|
|
pref("extensions.strictCompatibility", false);
|
2011-11-01 09:48:45 +04:00
|
|
|
|
2011-11-14 05:26:35 +04:00
|
|
|
// Specifies a minimum maxVersion an addon needs to say it's compatible with
|
|
|
|
// for it to be compatible by default.
|
|
|
|
pref("extensions.minCompatibleAppVersion", "4.0");
|
2014-01-30 16:00:47 +04:00
|
|
|
// Temporary preference to forcibly make themes more safe with Australis even if
|
|
|
|
// extensions.checkCompatibility=false has been set.
|
|
|
|
pref("extensions.checkCompatibility.temporaryThemeOverride_minAppVersion", "29.0a1");
|
2011-11-14 05:26:35 +04:00
|
|
|
|
2015-03-25 00:24:49 +03:00
|
|
|
pref("xpinstall.customConfirmationUI", true);
|
2017-03-11 03:05:26 +03:00
|
|
|
pref("extensions.webextPermissionPrompts", true);
|
2017-04-11 05:12:23 +03:00
|
|
|
pref("extensions.webextOptionalPermissionPrompts", true);
|
2015-03-25 00:24:49 +03:00
|
|
|
|
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");
|
2016-04-19 21:52:11 +03:00
|
|
|
pref("extensions.webservice.discoverURL", "https://discovery.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%");
|
2013-04-15 02:11:24 +04:00
|
|
|
pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=firefox");
|
2015-05-08 20:27:25 +03:00
|
|
|
pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/firefox/");
|
2016-12-20 05:47:46 +03:00
|
|
|
pref("extensions.getAddons.themes.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes/?src=firefox");
|
2008-01-28 20:11:48 +03:00
|
|
|
|
2010-09-14 10:56:54 +04:00
|
|
|
pref("extensions.update.autoUpdateDefault", true);
|
|
|
|
|
2011-12-17 00:04:50 +04:00
|
|
|
pref("extensions.hotfix.id", "firefox-hotfix@mozilla.org");
|
2011-12-17 00:04:28 +04:00
|
|
|
pref("extensions.hotfix.cert.checkAttributes", true);
|
2013-09-19 21:31:33 +04:00
|
|
|
pref("extensions.hotfix.certs.1.sha1Fingerprint", "91:53:98:0C:C1:86:DF:47:8F:35:22:9E:11:C9:A7:31:04:49:A1:AA");
|
2015-05-05 03:14:22 +03:00
|
|
|
pref("extensions.hotfix.certs.2.sha1Fingerprint", "39:E7:2B:7A:5B:CF:37:78:F9:5D:4A:E0:53:2D:2F:3D:68:53:C5:60");
|
2011-12-17 00:04:50 +04:00
|
|
|
|
2015-10-16 18:51:41 +03:00
|
|
|
// Check AUS for system add-on updates.
|
|
|
|
pref("extensions.systemAddon.update.url", "https://aus5.mozilla.org/update/3/SystemAddons/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
|
|
|
|
|
2012-05-22 02:58:02 +04:00
|
|
|
// Disable add-ons that are not installed by the user in all scopes by default.
|
|
|
|
// See the SCOPE constants in AddonManager.jsm for values to use here.
|
2011-10-22 22:37:15 +04:00
|
|
|
pref("extensions.autoDisableScopes", 15);
|
2017-04-16 05:48:29 +03:00
|
|
|
// Scopes to scan for changes at startup.
|
|
|
|
pref("extensions.startupScanScopes", 0);
|
2011-08-13 00:50:47 +04:00
|
|
|
|
2017-04-11 19:03:40 +03:00
|
|
|
// This is where the profiler WebExtension API will look for breakpad symbols.
|
|
|
|
// NOTE: deliberately http right now since https://symbols.mozilla.org is not supported.
|
|
|
|
pref("extensions.geckoProfiler.symbols.url", "http://symbols.mozilla.org/");
|
2017-05-25 01:06:14 +03:00
|
|
|
pref("extensions.geckoProfiler.acceptedExtensionIds", "geckoprofiler@mozilla.com,quantum-foxfooding@mozilla.com");
|
2017-04-11 19:03:40 +03:00
|
|
|
#if defined(XP_LINUX) || defined (XP_MACOSX)
|
|
|
|
pref("extensions.geckoProfiler.getSymbolRules", "localBreakpad,remoteBreakpad,nm");
|
|
|
|
#else // defined(XP_WIN)
|
|
|
|
pref("extensions.geckoProfiler.getSymbolRules", "localBreakpad,remoteBreakpad");
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2016-04-24 07:29:15 +03:00
|
|
|
// Add-on content security policies.
|
|
|
|
pref("extensions.webextensions.base-content-security-policy", "script-src 'self' https://* moz-extension: blob: filesystem: 'unsafe-eval' 'unsafe-inline'; object-src 'self' https://* moz-extension: blob: filesystem:;");
|
|
|
|
pref("extensions.webextensions.default-content-security-policy", "script-src 'self'; object-src 'self';");
|
|
|
|
|
2017-04-28 00:49:04 +03:00
|
|
|
// Extensions that should not be flagged as legacy in about:addons
|
|
|
|
pref("extensions.legacy.exceptions", "{972ce4c6-7e08-4474-a285-3208198ce6fd},testpilot@cliqz.com,@testpilot-containers,jid1-NeEaf3sAHdKHPA@jetpack,@activity-streams,pulse@mozilla.com,@testpilot-addon,@min-vid,tabcentertest1@mozilla.com,snoozetabs@mozilla.com,speaktome@mozilla.com,hoverpad@mozilla.com");
|
|
|
|
|
2015-06-01 19:14:29 +03:00
|
|
|
// Require signed add-ons by default
|
|
|
|
pref("xpinstall.signatures.required", true);
|
2015-05-08 20:27:25 +03:00
|
|
|
pref("xpinstall.signatures.devInfoURL", "https://wiki.mozilla.org/Addons/Extension_Signing");
|
2015-03-31 21:32:40 +03:00
|
|
|
|
2006-07-26 22:09:33 +04:00
|
|
|
// Dictionary download preference
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
|
2006-07-26 22:09:33 +04:00
|
|
|
|
2013-07-31 07:19:58 +04:00
|
|
|
// At startup, should we check to see if the installation
|
|
|
|
// date is older than some threshold
|
|
|
|
pref("app.update.checkInstallTime", true);
|
|
|
|
|
|
|
|
// The number of days a binary is permitted to be old without checking is defined in
|
|
|
|
// firefox-branding.js (app.update.checkInstallTime.days)
|
|
|
|
|
2016-11-10 20:37:54 +03:00
|
|
|
// The minimum delay in seconds for the timer to fire between the notification
|
|
|
|
// of each consumer of the timer manager.
|
|
|
|
// minimum=30 seconds, default=120 seconds, and maximum=300 seconds
|
2011-04-27 01:36:30 +04:00
|
|
|
pref("app.update.timerMinimumDelay", 120);
|
2009-09-18 22:03:27 +04:00
|
|
|
|
2016-11-10 20:37:54 +03:00
|
|
|
// The minimum delay in milliseconds for the first firing after startup of the timer
|
|
|
|
// to notify consumers of the timer manager.
|
|
|
|
// minimum=10 seconds, default=30 seconds, and maximum=120 seconds
|
|
|
|
pref("app.update.timerFirstInterval", 30000);
|
|
|
|
|
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);
|
|
|
|
|
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
|
|
|
|
2017-03-21 23:50:09 +03:00
|
|
|
// Whether or not to use the doorhanger application update UI.
|
|
|
|
pref("app.update.doorhanger", true);
|
|
|
|
|
2017-05-19 18:56:22 +03:00
|
|
|
// Ids of the links to the "What's new" update documentation
|
|
|
|
pref("app.update.link.updateAvailableWhatsNew", "update-available-whats-new");
|
|
|
|
pref("app.update.link.updateManualWhatsNew", "update-manual-whats-new");
|
|
|
|
|
2017-03-21 23:50:09 +03:00
|
|
|
// How many times we should let downloads fail before prompting the user to
|
|
|
|
// download a fresh installer.
|
|
|
|
pref("app.update.download.promptMaxAttempts", 2);
|
|
|
|
|
|
|
|
// How many times we should let an elevation prompt fail before prompting the user to
|
|
|
|
// download a fresh installer.
|
|
|
|
pref("app.update.elevation.promptMaxAttempts", 2);
|
|
|
|
|
2016-04-29 20:01:04 +03:00
|
|
|
// If set to true, the Update Service will automatically download updates when
|
|
|
|
// app updates are enabled per the app.update.enabled preference and if the user
|
|
|
|
// can apply updates.
|
2005-06-29 05:34:36 +04:00
|
|
|
pref("app.update.auto", true);
|
|
|
|
|
2005-06-28 22:56:40 +04:00
|
|
|
// If set to true, the Update Service will present no UI for any event.
|
|
|
|
pref("app.update.silent", false);
|
2005-06-07 01:37:18 +04:00
|
|
|
|
2015-06-03 18:42:46 +03:00
|
|
|
// app.update.badgeWaitTime is in branding section
|
2014-11-02 04:09:00 +03:00
|
|
|
|
2012-05-22 18:50:04 +04:00
|
|
|
// If set to true, the Update Service will apply updates in the background
|
|
|
|
// when it finishes downloading them.
|
2017-06-13 18:26:51 +03:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("app.update.staging.enabled", false);
|
|
|
|
#else
|
2012-09-12 06:13:14 +04:00
|
|
|
pref("app.update.staging.enabled", true);
|
2017-06-13 18:26:51 +03:00
|
|
|
#endif
|
2012-05-22 18:50:04 +04:00
|
|
|
|
2005-08-25 06:16:35 +04:00
|
|
|
// Update service URL:
|
2016-05-31 22:21:02 +03:00
|
|
|
pref("app.update.url", "https://aus5.mozilla.org/update/6/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%SYSTEM_CAPABILITIES%/%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
|
|
|
|
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
|
|
|
|
2012-01-05 08:19:14 +04:00
|
|
|
// Whether or not to attempt using the service for updates.
|
|
|
|
#ifdef MOZ_MAINTENANCE_SERVICE
|
|
|
|
pref("app.update.service.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
// Symmetric (can be overridden by individual extensions) update preferences.
|
|
|
|
// e.g.
|
|
|
|
// extensions.{GUID}.update.enabled
|
|
|
|
// extensions.{GUID}.update.url
|
|
|
|
// .. etc ..
|
|
|
|
//
|
|
|
|
pref("extensions.update.enabled", true);
|
2011-12-02 06:28:16 +04:00
|
|
|
pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
2012-03-07 12:18:28 +04:00
|
|
|
pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
|
2015-05-24 02:17:50 +03:00
|
|
|
pref("extensions.update.interval", 86400); // Check for updates to Extensions and
|
2006-06-20 06:58:31 +04:00
|
|
|
// Themes every day
|
2004-11-30 11:23:02 +03:00
|
|
|
// Non-symmetric (not shared by extensions) extension-specific [update] preferences
|
|
|
|
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");
|
|
|
|
|
2017-06-01 13:19:15 +03:00
|
|
|
pref("extensions.webextensions.themes.enabled", true);
|
2017-03-07 02:10:39 +03:00
|
|
|
pref("extensions.webextensions.themes.icons.buttons", "back,forward,reload,stop,bookmark_star,bookmark_menu,downloads,home,app_menu,cut,copy,paste,new_window,new_private_window,save_page,print,history,full_screen,find,options,addons,developer,synced_tabs,open_file,sidebars,share_page,subscribe,text_encoding,email_link,forget,pocket");
|
|
|
|
|
2009-11-17 10:55:47 +03:00
|
|
|
pref("lightweightThemes.update.enabled", true);
|
2014-08-21 23:57:41 +04:00
|
|
|
pref("lightweightThemes.getMoreURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes");
|
2017-05-24 16:21:51 +03:00
|
|
|
pref("lightweightThemes.recommendedThemes", "[{\"id\":\"recommended-1\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/a-web-browser-renaissance/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.header.jpg\",\"textcolor\":\"#000000\",\"accentcolor\":\"#f2d9b1\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.icon.jpg\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/1.preview.jpg\",\"author\":\"Sean.Martell\",\"version\":\"0\"},{\"id\":\"recommended-2\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/space-fantasy/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.header.jpg\",\"textcolor\":\"#ffffff\",\"accentcolor\":\"#d9d9d9\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.icon.jpg\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/2.preview.jpg\",\"author\":\"fx5800p\",\"version\":\"1.0\"},{\"id\":\"recommended-4\",\"homepageURL\":\"https://addons.mozilla.org/firefox/addon/pastel-gradient/\",\"headerURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.header.png\",\"textcolor\":\"#000000\",\"accentcolor\":\"#000000\",\"iconURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.icon.png\",\"previewURL\":\"resource:///chrome/browser/content/browser/defaultthemes/4.preview.png\",\"author\":\"darrinhenein\",\"version\":\"1.0\"}]");
|
2004-04-21 08:35:27 +04:00
|
|
|
|
2017-01-09 16:43:23 +03:00
|
|
|
#if defined(MOZ_WIDEVINE_EME)
|
2016-04-25 11:03:52 +03:00
|
|
|
pref("browser.eme.ui.enabled", true);
|
|
|
|
#else
|
2015-01-29 18:20:49 +03:00
|
|
|
pref("browser.eme.ui.enabled", false);
|
2016-04-25 11:03:52 +03:00
|
|
|
#endif
|
2015-01-29 18:20:49 +03:00
|
|
|
|
2013-05-30 01:50:59 +04:00
|
|
|
// UI tour experience.
|
|
|
|
pref("browser.uitour.enabled", true);
|
2014-11-13 21:22:53 +03:00
|
|
|
pref("browser.uitour.loglevel", "Error");
|
2013-11-05 06:23:25 +04:00
|
|
|
pref("browser.uitour.requireSecure", true);
|
2013-05-30 01:50:59 +04:00
|
|
|
pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/");
|
2014-03-06 05:41:43 +04:00
|
|
|
pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
|
2016-02-04 02:25:53 +03:00
|
|
|
// How long to show a Hearbeat survey (two hours, in seconds)
|
|
|
|
pref("browser.uitour.surveyDuration", 7200);
|
2013-05-30 01:50:59 +04:00
|
|
|
|
2014-03-06 03:09:12 +04:00
|
|
|
pref("browser.customizemode.tip0.shown", false);
|
|
|
|
pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize");
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("keyword.enabled", true);
|
2014-04-25 02:42:00 +04:00
|
|
|
pref("browser.fixup.domainwhitelist.localhost", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2004-09-24 22:39:33 +04:00
|
|
|
pref("general.useragent.locale", "@AB_CD@");
|
2004-09-22 00:19:48 +04:00
|
|
|
pref("general.skins.selectedSkin", "classic/1.0");
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2012-01-14 04:26:34 +04:00
|
|
|
pref("general.smoothScroll", true);
|
2005-08-09 01:05:37 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2004-01-14 02:08:01 +03:00
|
|
|
pref("general.autoScroll", false);
|
|
|
|
#else
|
2003-08-08 12:01:24 +04:00
|
|
|
pref("general.autoScroll", true);
|
2003-12-18 11:12:58 +03:00
|
|
|
#endif
|
2003-04-22 07:08:23 +04:00
|
|
|
|
2017-05-30 15:09:54 +03:00
|
|
|
// UI density of the browser chrome. This mostly affects toolbarbutton
|
|
|
|
// and urlbar spacing. The possible values are 0=normal, 1=compact, 2=touch.
|
|
|
|
pref("browser.uidensity", 0);
|
2017-06-07 13:54:39 +03:00
|
|
|
// Whether Firefox will automatically override the uidensity to "touch"
|
|
|
|
// while the user is in a touch environment (such as Windows tablet mode).
|
|
|
|
#ifdef MOZ_PHOTON_THEME
|
|
|
|
pref("browser.touchmode.auto", true);
|
|
|
|
#else
|
|
|
|
pref("browser.touchmode.auto", false);
|
|
|
|
#endif
|
2017-05-30 15:09:54 +03:00
|
|
|
|
2012-01-23 09:07:52 +04:00
|
|
|
// At startup, check if we're the default browser and prompt user if not.
|
2004-03-08 12:56:16 +03:00
|
|
|
pref("browser.shell.checkDefaultBrowser", true);
|
2013-05-29 19:00:18 +04:00
|
|
|
pref("browser.shell.shortcutFavicons",true);
|
2015-06-09 21:06:39 +03:00
|
|
|
pref("browser.shell.mostRecentDateSetAsDefault", "");
|
2016-12-21 22:23:18 +03:00
|
|
|
pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true);
|
2017-05-09 20:11:45 +03:00
|
|
|
pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", false);
|
2015-08-28 23:30:00 +03:00
|
|
|
pref("browser.shell.defaultBrowserCheckCount", 0);
|
2016-12-21 22:23:18 +03:00
|
|
|
pref("browser.defaultbrowser.notificationbar", false);
|
2004-03-08 12:56:16 +03:00
|
|
|
|
2006-08-19 04:23:40 +04:00
|
|
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
|
|
|
|
// The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.startup.page", 1);
|
2010-05-24 13:38:31 +04:00
|
|
|
pref("browser.startup.homepage", "chrome://branding/locale/browserconfig.properties");
|
2016-12-15 18:40:50 +03:00
|
|
|
// Whether we should skip the homepage when opening the first-run page
|
|
|
|
pref("browser.startup.firstrunSkipsHomepage", false);
|
2004-11-30 11:23:02 +03:00
|
|
|
|
2013-02-02 01:47:07 +04:00
|
|
|
pref("browser.slowStartup.notificationDisabled", false);
|
2014-06-13 15:58:23 +04:00
|
|
|
pref("browser.slowStartup.timeThreshold", 40000);
|
2013-02-02 01:47:07 +04:00
|
|
|
pref("browser.slowStartup.maxSamples", 5);
|
|
|
|
|
2011-02-04 19:38:41 +03:00
|
|
|
// This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
|
|
|
|
// this page over http opens us up to a man-in-the-middle attack that we'd rather not face. If you are a downstream
|
|
|
|
// repackager of this code using an alternate snippet url, please keep your users safe
|
2014-09-09 04:10:00 +04:00
|
|
|
pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.cdn.mozilla.net/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
|
2010-11-08 17:03:42 +03:00
|
|
|
|
2003-03-13 11:11:20 +03:00
|
|
|
pref("browser.enable_automatic_image_resizing", true);
|
2015-03-13 16:36:21 +03:00
|
|
|
pref("browser.casting.enabled", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.chrome.site_icons", true);
|
|
|
|
pref("browser.chrome.favicons", true);
|
2011-02-08 04:50:37 +03:00
|
|
|
// browser.warnOnQuit == false will override all other possible prompts when quitting or restarting
|
|
|
|
pref("browser.warnOnQuit", true);
|
|
|
|
// browser.showQuitWarning specifically controls the quit warning dialog. We
|
|
|
|
// might still show the window closing dialog with showQuitWarning == false.
|
|
|
|
pref("browser.showQuitWarning", false);
|
2008-03-08 14:30:39 +03:00
|
|
|
pref("browser.fullscreen.autohide", true);
|
2011-09-27 11:51:56 +04:00
|
|
|
pref("browser.overlink-delay", 80);
|
2003-02-01 12:13:51 +03:00
|
|
|
|
2007-12-20 01:43:12 +03:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2007-08-04 12:35:28 +04:00
|
|
|
pref("browser.urlbar.clickSelectsAll", false);
|
|
|
|
#else
|
|
|
|
pref("browser.urlbar.clickSelectsAll", true);
|
|
|
|
#endif
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
pref("browser.urlbar.doubleClickSelectsAll", true);
|
|
|
|
#else
|
|
|
|
pref("browser.urlbar.doubleClickSelectsAll", false);
|
|
|
|
#endif
|
2014-07-24 19:45:48 +04:00
|
|
|
|
|
|
|
// Control autoFill behavior
|
2012-03-13 14:30:34 +04:00
|
|
|
pref("browser.urlbar.autoFill", true);
|
2012-02-17 17:24:58 +04:00
|
|
|
pref("browser.urlbar.autoFill.typed", true);
|
2014-07-24 19:45:48 +04:00
|
|
|
|
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
|
2016-04-08 08:03:45 +03:00
|
|
|
pref("browser.urlbar.maxRichResults", 10);
|
2009-06-16 22:56:36 +04:00
|
|
|
// The amount of time (ms) to wait after the user has stopped typing
|
|
|
|
// before starting to perform autocomplete. 50 is the default set in
|
|
|
|
// autocomplete.xml.
|
2012-01-31 14:29:20 +04:00
|
|
|
pref("browser.urlbar.delay", 50);
|
2007-11-30 07:57:57 +03:00
|
|
|
|
2008-07-19 12:51:34 +04:00
|
|
|
// The special characters below can be typed into the urlbar to either restrict
|
|
|
|
// the search to visited history, bookmarked, tagged pages; or force a match on
|
|
|
|
// just the title text or url.
|
|
|
|
pref("browser.urlbar.restrict.history", "^");
|
|
|
|
pref("browser.urlbar.restrict.bookmark", "*");
|
|
|
|
pref("browser.urlbar.restrict.tag", "+");
|
2010-03-27 00:59:02 +03:00
|
|
|
pref("browser.urlbar.restrict.openpage", "%");
|
2009-01-08 02:47:56 +03:00
|
|
|
pref("browser.urlbar.restrict.typed", "~");
|
2015-06-26 04:07:56 +03:00
|
|
|
pref("browser.urlbar.restrict.searches", "$");
|
2008-07-19 12:51:34 +04:00
|
|
|
pref("browser.urlbar.match.title", "#");
|
|
|
|
pref("browser.urlbar.match.url", "@");
|
|
|
|
|
2008-12-10 19:58:43 +03:00
|
|
|
// The default behavior for the urlbar can be configured to use any combination
|
2014-11-12 16:16:00 +03:00
|
|
|
// of the match filters with each additional filter adding more results (union).
|
|
|
|
pref("browser.urlbar.suggest.history", true);
|
|
|
|
pref("browser.urlbar.suggest.bookmark", true);
|
|
|
|
pref("browser.urlbar.suggest.openpage", true);
|
2017-05-23 14:01:46 +03:00
|
|
|
pref("browser.urlbar.suggest.searches", true);
|
2015-08-07 06:13:00 +03:00
|
|
|
pref("browser.urlbar.userMadeSearchSuggestionsChoice", false);
|
2017-04-05 16:01:02 +03:00
|
|
|
// The suggestion opt-in notification will be shown on 4 different days.
|
2016-06-29 20:49:40 +03:00
|
|
|
pref("browser.urlbar.daysBeforeHidingSuggestionsPrompt", 4);
|
|
|
|
pref("browser.urlbar.lastSuggestionsPromptDate", 20160601);
|
2017-04-05 16:01:02 +03:00
|
|
|
// The suggestion opt-out hint will be hidden after being shown 4 times.
|
|
|
|
pref("browser.urlbar.timesBeforeHidingSuggestionsHint", 4);
|
2014-11-12 16:16:00 +03:00
|
|
|
|
2015-07-28 11:21:40 +03:00
|
|
|
// Limit the number of characters sent to the current search engine to fetch
|
|
|
|
// suggestions.
|
|
|
|
pref("browser.urlbar.maxCharsForSearchSuggestions", 20);
|
|
|
|
|
2014-11-12 16:16:00 +03:00
|
|
|
// Restrictions to current suggestions can also be applied (intersection).
|
|
|
|
// Typed suggestion works only if history is set to true.
|
|
|
|
pref("browser.urlbar.suggest.history.onlyTyped", false);
|
2008-12-10 19:58:43 +03:00
|
|
|
|
2011-05-02 21:50:18 +04:00
|
|
|
pref("browser.urlbar.formatting.enabled", true);
|
2011-06-23 12:13:41 +04:00
|
|
|
pref("browser.urlbar.trimURLs", true);
|
2011-05-02 21:50:18 +04:00
|
|
|
|
2016-08-03 04:00:26 +03:00
|
|
|
pref("browser.urlbar.oneOffSearches", true);
|
|
|
|
|
2016-12-07 23:18:46 +03:00
|
|
|
// If changed to true, copying the entire URL from the location bar will put the
|
|
|
|
// human readable (percent-decoded) URL on the clipboard.
|
|
|
|
pref("browser.urlbar.decodeURLsOnCopy", false);
|
|
|
|
|
2012-03-02 02:08:03 +04:00
|
|
|
pref("browser.altClickSave", false);
|
|
|
|
|
2015-06-12 20:56:50 +03:00
|
|
|
// Enable logging downloads operations to the Console.
|
|
|
|
pref("browser.download.loglevel", "Error");
|
2013-02-16 05:34:18 +04:00
|
|
|
|
2008-04-03 07:02:08 +04:00
|
|
|
// Number of milliseconds to wait for the http headers (and thus
|
2015-05-24 02:17:50 +03:00
|
|
|
// the Content-Disposition filename) before giving up and falling back to
|
2008-04-03 07:02:08 +04:00
|
|
|
// picking a filename without that info in hand so that the user sees some
|
|
|
|
// feedback from their action.
|
2011-09-14 02:14:01 +04:00
|
|
|
pref("browser.download.saveLinkAsFilenameTimeout", 4000);
|
2008-04-03 07:02:08 +04:00
|
|
|
|
2003-10-24 11:41:43 +04:00
|
|
|
pref("browser.download.useDownloadDir", true);
|
2009-01-29 03:00:14 +03:00
|
|
|
pref("browser.download.folderList", 1);
|
2007-10-03 20:00:48 +04:00
|
|
|
pref("browser.download.manager.addToRecentDocs", true);
|
2008-03-20 04:16:02 +03:00
|
|
|
pref("browser.download.manager.resumeOnWakeDelay", 10000);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2013-07-27 17:25:00 +04:00
|
|
|
// This allows disabling the animated notifications shown by
|
|
|
|
// the Downloads Indicator when a download starts or completes.
|
|
|
|
pref("browser.download.animateNotifications", true);
|
|
|
|
|
2012-10-26 21:17:18 +04:00
|
|
|
// This records whether or not the panel has been shown at least once.
|
|
|
|
pref("browser.download.panel.shown", false);
|
|
|
|
|
2013-09-12 16:03:00 +04:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
pref("browser.helperApps.deleteTempFileOnExit", true);
|
|
|
|
#endif
|
|
|
|
|
2006-08-19 10:15:03 +04:00
|
|
|
// search engines URL
|
2011-05-09 09:39:14 +04:00
|
|
|
pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
|
2006-08-19 10:15:03 +04:00
|
|
|
|
2003-10-22 12:45:54 +04:00
|
|
|
// pointer to the default engine name
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties");
|
2006-03-17 10:16:00 +03:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// Ordering of Search Engines in the Engine list.
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.search.order.1", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.search.order.2", "chrome://browser-region/locale/region.properties");
|
2010-10-23 19:49:26 +04:00
|
|
|
pref("browser.search.order.3", "chrome://browser-region/locale/region.properties");
|
2004-08-29 12:17:38 +04:00
|
|
|
|
2015-07-10 22:06:24 +03:00
|
|
|
// Market-specific search defaults
|
|
|
|
// This is disabled globally, and then enabled for individual locales
|
|
|
|
// in firefox-l10n.js (eg. it's enabled for en-US).
|
|
|
|
pref("browser.search.geoSpecificDefaults", false);
|
2015-07-15 22:17:35 +03:00
|
|
|
pref("browser.search.geoSpecificDefaults.url", "https://search.services.mozilla.com/1/%APP%/%VERSION%/%CHANNEL%/%LOCALE%/%REGION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%");
|
2015-07-10 22:06:24 +03:00
|
|
|
|
|
|
|
// US specific default (used as a fallback if the geoSpecificDefaults request fails).
|
2014-11-28 22:40:57 +03:00
|
|
|
pref("browser.search.defaultenginename.US", "data:text/plain,browser.search.defaultenginename.US=Yahoo");
|
|
|
|
pref("browser.search.order.US.1", "data:text/plain,browser.search.order.US.1=Yahoo");
|
|
|
|
pref("browser.search.order.US.2", "data:text/plain,browser.search.order.US.2=Google");
|
|
|
|
pref("browser.search.order.US.3", "data:text/plain,browser.search.order.US.3=Bing");
|
2014-11-24 07:38:22 +03:00
|
|
|
|
2005-09-17 23:51:21 +04:00
|
|
|
// search bar results always open in a new tab
|
|
|
|
pref("browser.search.openintab", false);
|
|
|
|
|
2012-02-15 05:50:40 +04:00
|
|
|
// context menu searches open in the foreground
|
|
|
|
pref("browser.search.context.loadInBackground", false);
|
|
|
|
|
2015-02-03 03:50:52 +03:00
|
|
|
// comma seperated list of of engines to hide in the search panel.
|
|
|
|
pref("browser.search.hiddenOneOffs", "");
|
|
|
|
|
2017-06-02 18:36:18 +03:00
|
|
|
// Mirrors whether the search-container widget is in the navigation toolbar. The
|
|
|
|
// default value of this preference must match the DEFAULT_AREA_PLACEMENTS of
|
|
|
|
// UITelemetry.jsm, the navbarPlacements of CustomizableUI.jsm, and the
|
|
|
|
// position and attributes of the search-container element in browser.xul.
|
|
|
|
pref("browser.search.widget.inNavBar", true);
|
|
|
|
|
2017-01-05 20:55:56 +03:00
|
|
|
#ifndef RELEASE_OR_BETA
|
2016-05-27 14:41:29 +03:00
|
|
|
pref("browser.search.reset.enabled", true);
|
2017-01-05 20:55:56 +03:00
|
|
|
#endif
|
2016-05-27 14:41:29 +03:00
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.sessionhistory.max_entries", 50);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2015-02-14 00:32:41 +03:00
|
|
|
// Built-in default permissions.
|
|
|
|
pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
|
|
|
|
|
2005-03-22 03:38:35 +03:00
|
|
|
// handle links targeting new windows
|
2011-10-08 12:36:11 +04:00
|
|
|
// 1=current window/tab, 2=new window, 3=new tab in most recent window
|
2006-03-03 23:19:49 +03:00
|
|
|
pref("browser.link.open_newwindow", 3);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2011-10-08 12:36:11 +04:00
|
|
|
// handle external links (i.e. links opened from a different application)
|
|
|
|
// default: use browser.link.open_newwindow
|
|
|
|
// 1-3: see browser.link.open_newwindow for interpretation
|
|
|
|
pref("browser.link.open_newwindow.override.external", -1);
|
|
|
|
|
2005-03-22 03:38:35 +03:00
|
|
|
// 0: no restrictions - divert everything
|
|
|
|
// 1: don't divert window.open at all
|
|
|
|
// 2: don't divert window.open with features
|
2005-10-22 03:33:53 +04:00
|
|
|
pref("browser.link.open_newwindow.restriction", 2);
|
2005-03-22 03:38:35 +03:00
|
|
|
|
2013-06-06 21:35:27 +04:00
|
|
|
// If true, this pref causes windows opened by window.open to be forced into new
|
|
|
|
// tabs (rather than potentially opening separate windows, depending on
|
|
|
|
// window.open arguments) when the browser is in fullscreen mode.
|
|
|
|
// We set this differently on Mac because the fullscreen implementation there is
|
|
|
|
// different.
|
2013-02-18 15:27:48 +04:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
|
|
|
|
#else
|
|
|
|
pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
|
|
|
|
#endif
|
|
|
|
|
2017-06-06 18:35:51 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
pref("browser.photon.structure.enabled", true);
|
|
|
|
#else
|
2017-04-10 22:02:43 +03:00
|
|
|
pref("browser.photon.structure.enabled", false);
|
2017-06-06 18:35:51 +03:00
|
|
|
#endif
|
2017-04-10 22:02:43 +03:00
|
|
|
|
2007-12-29 06:13:06 +03:00
|
|
|
// Tabbed browser
|
2008-09-22 17:56:51 +04:00
|
|
|
pref("browser.tabs.closeWindowWithLastTab", true);
|
2009-09-04 18:37:17 +04:00
|
|
|
pref("browser.tabs.insertRelatedAfterCurrent", true);
|
2007-12-29 06:13:06 +03:00
|
|
|
pref("browser.tabs.warnOnClose", true);
|
2012-10-05 22:50:30 +04:00
|
|
|
pref("browser.tabs.warnOnCloseOtherTabs", true);
|
2007-12-29 06:13:06 +03:00
|
|
|
pref("browser.tabs.warnOnOpen", true);
|
|
|
|
pref("browser.tabs.maxOpenBeforeWarn", 15);
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("browser.tabs.loadInBackground", true);
|
|
|
|
pref("browser.tabs.opentabfor.middleclick", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("browser.tabs.loadDivertedInBackground", false);
|
2004-05-28 21:18:13 +04:00
|
|
|
pref("browser.tabs.loadBookmarksInBackground", false);
|
2006-07-11 00:14:56 +04:00
|
|
|
pref("browser.tabs.tabClipWidth", 140);
|
2013-05-02 22:15:29 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2013-02-08 20:42:06 +04:00
|
|
|
pref("browser.tabs.drawInTitlebar", false);
|
2013-05-02 22:15:29 +04:00
|
|
|
#else
|
|
|
|
pref("browser.tabs.drawInTitlebar", true);
|
2013-02-08 20:42:06 +04:00
|
|
|
#endif
|
2006-09-13 02:41:31 +04:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// When tabs opened by links in other tabs via a combination of
|
2006-01-21 02:04:26 +03:00
|
|
|
// browser.link.open_newwindow being set to 3 and target="_blank" etc are
|
|
|
|
// closed:
|
|
|
|
// true return to the tab that opened this tab (its owner)
|
|
|
|
// false return to the adjacent tab (old default)
|
|
|
|
pref("browser.tabs.selectOwnerOnClose", true);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2015-07-04 23:24:50 +03:00
|
|
|
pref("browser.tabs.showAudioPlayingIcon", true);
|
2016-10-13 23:12:50 +03:00
|
|
|
// This should match Chromium's audio indicator delay.
|
|
|
|
pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
|
2015-07-04 23:24:50 +03:00
|
|
|
|
2009-07-21 08:25:59 +04:00
|
|
|
pref("browser.ctrlTab.previews", false);
|
2008-07-15 20:11:00 +04:00
|
|
|
|
2008-03-13 22:25:49 +03:00
|
|
|
// By default, do not export HTML at shutdown.
|
|
|
|
// If true, at shutdown the bookmarks in your menu and toolbar will
|
|
|
|
// be exported as HTML to the bookmarks.html file.
|
|
|
|
pref("browser.bookmarks.autoExportHTML", false);
|
2007-11-09 23:11:12 +03:00
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// The maximum number of daily bookmark backups to
|
2008-04-04 00:51:54 +04:00
|
|
|
// keep in {PROFILEDIR}/bookmarkbackups. Special values:
|
|
|
|
// -1: unlimited
|
|
|
|
// 0: no backups created (and deletes all existing backups)
|
2014-02-04 17:43:20 +04:00
|
|
|
pref("browser.bookmarks.max_backups", 15);
|
2008-04-04 00:51:54 +04:00
|
|
|
|
2016-04-29 14:43:59 +03:00
|
|
|
pref("browser.bookmarks.showRecentlyBookmarked", true);
|
|
|
|
|
2002-09-29 22:11:09 +04:00
|
|
|
// Scripts & Windows prefs
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("dom.disable_open_during_load", true);
|
2010-09-10 01:59:24 +04:00
|
|
|
pref("javascript.options.showInConsole", true);
|
2010-09-10 02:00:53 +04:00
|
|
|
#ifdef DEBUG
|
2007-06-06 04:05:11 +04:00
|
|
|
pref("general.warnOnAboutConfig", false);
|
2006-08-18 23:50:16 +04:00
|
|
|
#endif
|
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
// This is the pref to control the location bar, change this to true to
|
2010-09-16 10:09:27 +04:00
|
|
|
// force this - this makes the origin of popup windows more obvious to avoid
|
|
|
|
// spoofing. We would rather not do it by default because it affects UE for web
|
|
|
|
// applications, but without it there isn't a really good way to prevent chrome
|
|
|
|
// spoofing, see bug 337344
|
2007-08-23 22:49:02 +04:00
|
|
|
pref("dom.disable_window_open_feature.location", true);
|
2011-01-30 12:25:16 +03:00
|
|
|
// prevent JS from setting status messages
|
|
|
|
pref("dom.disable_window_status_change", true);
|
2008-03-19 23:15:12 +03:00
|
|
|
// allow JS to move and resize existing windows
|
|
|
|
pref("dom.disable_window_move_resize", false);
|
2005-08-10 09:50:54 +04:00
|
|
|
// prevent JS from monkeying with window focus, etc
|
|
|
|
pref("dom.disable_window_flip", true);
|
2006-03-03 23:34:56 +03:00
|
|
|
|
2002-10-08 04:11:15 +04:00
|
|
|
// popups.policy 1=allow,2=reject
|
2002-10-08 05:44:42 +04:00
|
|
|
pref("privacy.popups.policy", 1);
|
2002-10-09 03:24:03 +04:00
|
|
|
pref("privacy.popups.usecustom", true);
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("privacy.popups.showBrowserMessage", true);
|
2009-05-21 13:51:56 +04:00
|
|
|
|
|
|
|
pref("privacy.item.cookies", false);
|
|
|
|
|
|
|
|
pref("privacy.clearOnShutdown.history", true);
|
|
|
|
pref("privacy.clearOnShutdown.formdata", true);
|
|
|
|
pref("privacy.clearOnShutdown.downloads", true);
|
|
|
|
pref("privacy.clearOnShutdown.cookies", true);
|
|
|
|
pref("privacy.clearOnShutdown.cache", true);
|
|
|
|
pref("privacy.clearOnShutdown.sessions", true);
|
|
|
|
pref("privacy.clearOnShutdown.offlineApps", false);
|
|
|
|
pref("privacy.clearOnShutdown.siteSettings", false);
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.clearOnShutdown.openWindows", false);
|
2009-05-21 13:51:56 +04:00
|
|
|
|
|
|
|
pref("privacy.cpd.history", true);
|
|
|
|
pref("privacy.cpd.formdata", true);
|
|
|
|
pref("privacy.cpd.passwords", false);
|
|
|
|
pref("privacy.cpd.downloads", true);
|
|
|
|
pref("privacy.cpd.cookies", true);
|
|
|
|
pref("privacy.cpd.cache", true);
|
|
|
|
pref("privacy.cpd.sessions", true);
|
|
|
|
pref("privacy.cpd.offlineApps", false);
|
|
|
|
pref("privacy.cpd.siteSettings", false);
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.cpd.openWindows", false);
|
2005-02-25 12:07:58 +03:00
|
|
|
|
2016-10-30 13:59:29 +03:00
|
|
|
pref("privacy.history.custom", false);
|
|
|
|
|
2008-11-06 06:57:00 +03:00
|
|
|
// What default should we use for the time span in the sanitizer:
|
|
|
|
// 0 - Clear everything
|
|
|
|
// 1 - Last Hour
|
|
|
|
// 2 - Last 2 Hours
|
|
|
|
// 3 - Last 4 Hours
|
|
|
|
// 4 - Today
|
2014-09-24 20:22:05 +04:00
|
|
|
// 5 - Last 5 minutes
|
|
|
|
// 6 - Last 24 hours
|
2008-11-21 00:57:47 +03:00
|
|
|
pref("privacy.sanitize.timeSpan", 1);
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("privacy.sanitize.sanitizeOnShutdown", false);
|
|
|
|
|
2009-05-21 13:51:56 +04:00
|
|
|
pref("privacy.sanitize.migrateFx3Prefs", false);
|
|
|
|
|
2014-09-24 20:22:05 +04:00
|
|
|
pref("privacy.panicButton.enabled", true);
|
|
|
|
|
2016-09-23 00:09:30 +03:00
|
|
|
// Time until temporary permissions expire, in ms
|
|
|
|
pref("privacy.temporary_permission_expire_time_ms", 3600000);
|
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
|
2002-10-08 04:11:15 +04:00
|
|
|
|
2008-11-28 02:07:02 +03:00
|
|
|
// simple gestures support
|
2008-11-01 18:47:07 +03:00
|
|
|
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
|
|
|
|
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
|
2011-01-08 03:35:40 +03:00
|
|
|
pref("browser.gesture.swipe.up", "cmd_scrollTop");
|
|
|
|
pref("browser.gesture.swipe.down", "cmd_scrollBottom");
|
2009-04-02 23:34:31 +04:00
|
|
|
#ifdef XP_MACOSX
|
2008-11-28 02:07:02 +03:00
|
|
|
pref("browser.gesture.pinch.latched", true);
|
|
|
|
pref("browser.gesture.pinch.threshold", 150);
|
2009-04-02 23:34:31 +04:00
|
|
|
#else
|
|
|
|
pref("browser.gesture.pinch.latched", false);
|
|
|
|
pref("browser.gesture.pinch.threshold", 25);
|
|
|
|
#endif
|
2012-05-30 17:23:07 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
// Enabled for touch input display zoom.
|
|
|
|
pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
|
|
|
|
pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
|
|
|
|
pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
|
|
|
|
pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
|
|
|
|
#else
|
|
|
|
// Disabled by default due to issues with track pad input.
|
2011-01-08 03:35:40 +03:00
|
|
|
pref("browser.gesture.pinch.out", "");
|
|
|
|
pref("browser.gesture.pinch.in", "");
|
|
|
|
pref("browser.gesture.pinch.out.shift", "");
|
|
|
|
pref("browser.gesture.pinch.in.shift", "");
|
2012-05-30 17:23:07 +04:00
|
|
|
#endif
|
2008-11-28 02:07:02 +03:00
|
|
|
pref("browser.gesture.twist.latched", false);
|
2013-02-01 01:52:31 +04:00
|
|
|
pref("browser.gesture.twist.threshold", 0);
|
|
|
|
pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
|
|
|
|
pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
|
|
|
|
pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
|
2009-04-02 23:34:31 +04:00
|
|
|
pref("browser.gesture.tap", "cmd_fullZoomReset");
|
2008-11-01 18:47:07 +03:00
|
|
|
|
2013-10-25 05:57:54 +04:00
|
|
|
pref("browser.snapshots.limit", 0);
|
2013-04-09 23:44:01 +04:00
|
|
|
|
2012-08-12 05:42:35 +04:00
|
|
|
// 0: Nothing happens
|
|
|
|
// 1: Scrolling contents
|
|
|
|
// 2: Go back or go forward, in your history
|
|
|
|
// 3: Zoom in or out.
|
2005-09-26 07:40:18 +04:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
// On OS X, if the wheel has one axis only, shift+wheel comes through as a
|
|
|
|
// horizontal scroll event. Thus, we can't assign anything other than normal
|
|
|
|
// scrolling to shift+wheel.
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_alt.action", 2);
|
|
|
|
pref("mousewheel.with_shift.action", 1);
|
2012-11-28 05:49:00 +04:00
|
|
|
// On MacOS X, control+wheel is typically handled by system and we don't
|
|
|
|
// receive the event. So, command key which is the main modifier key for
|
|
|
|
// acceleration is the best modifier for zoom-in/out. However, we should keep
|
|
|
|
// the control key setting for backward compatibility.
|
|
|
|
pref("mousewheel.with_meta.action", 3); // command key on Mac
|
2013-01-05 16:14:27 +04:00
|
|
|
// Disable control-/meta-modified horizontal mousewheel events, since
|
|
|
|
// those are used on Mac as part of modified swipe gestures (e.g.
|
|
|
|
// Left swipe+Cmd = go back in a new tab).
|
|
|
|
pref("mousewheel.with_control.action.override_x", 0);
|
|
|
|
pref("mousewheel.with_meta.action.override_x", 0);
|
2005-09-26 07:40:18 +04:00
|
|
|
#else
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_alt.action", 1);
|
|
|
|
pref("mousewheel.with_shift.action", 2);
|
2012-11-28 05:49:00 +04:00
|
|
|
pref("mousewheel.with_meta.action", 1); // win key on Win, Super/Hyper on Linux
|
2005-11-17 21:50:50 +03:00
|
|
|
#endif
|
2012-08-12 05:42:35 +04:00
|
|
|
pref("mousewheel.with_control.action",3);
|
|
|
|
pref("mousewheel.with_win.action", 1);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2005-06-28 19:49:37 +04:00
|
|
|
pref("browser.xul.error_pages.enabled", true);
|
2008-05-02 11:24:27 +04:00
|
|
|
pref("browser.xul.error_pages.expert_bad_cert", false);
|
2002-09-29 22:11:09 +04:00
|
|
|
|
2016-06-09 20:23:57 +03:00
|
|
|
// Enable captive portal detection.
|
|
|
|
pref("network.captive-portal-service.enabled", true);
|
|
|
|
|
2015-05-02 00:14:39 +03:00
|
|
|
// If true, network link events will change the value of navigator.onLine
|
2015-06-19 21:04:51 +03:00
|
|
|
pref("network.manage-offline-status", true);
|
2011-01-28 03:07:30 +03:00
|
|
|
|
2004-10-25 11:46:01 +04:00
|
|
|
// We want to make sure mail URLs are handled externally...
|
2002-09-29 22:11:09 +04:00
|
|
|
pref("network.protocol-handler.external.mailto", true); // for mail
|
2004-10-25 11:46:01 +04:00
|
|
|
pref("network.protocol-handler.external.news", true); // for news
|
|
|
|
pref("network.protocol-handler.external.snews", true); // for secure news
|
|
|
|
pref("network.protocol-handler.external.nntp", true); // also news
|
2013-05-14 04:47:23 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.external.ms-windows-store", true);
|
|
|
|
#endif
|
|
|
|
|
2004-10-25 11:46:01 +04:00
|
|
|
// ...without warning dialogs
|
|
|
|
pref("network.protocol-handler.warn-external.mailto", false);
|
|
|
|
pref("network.protocol-handler.warn-external.news", false);
|
|
|
|
pref("network.protocol-handler.warn-external.snews", false);
|
|
|
|
pref("network.protocol-handler.warn-external.nntp", false);
|
2013-05-14 04:47:23 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("network.protocol-handler.warn-external.ms-windows-store", false);
|
|
|
|
#endif
|
2003-05-19 08:23:22 +04:00
|
|
|
|
2003-11-21 03:09:50 +03:00
|
|
|
// By default, all protocol handlers are exposed. This means that
|
|
|
|
// the browser will respond to openURL commands for all URL types.
|
|
|
|
// It will also try to open link clicks inside the browser before
|
|
|
|
// failing over to the system handlers.
|
|
|
|
pref("network.protocol-handler.expose-all", true);
|
2004-03-17 03:22:20 +03:00
|
|
|
pref("network.protocol-handler.expose.mailto", false);
|
2004-10-25 11:46:01 +04:00
|
|
|
pref("network.protocol-handler.expose.news", false);
|
|
|
|
pref("network.protocol-handler.expose.snews", false);
|
|
|
|
pref("network.protocol-handler.expose.nntp", false);
|
2003-11-21 03:09:50 +03:00
|
|
|
|
2004-11-30 11:23:02 +03:00
|
|
|
pref("accessibility.typeaheadfind", false);
|
|
|
|
pref("accessibility.typeaheadfind.timeout", 5000);
|
|
|
|
pref("accessibility.typeaheadfind.linksonly", false);
|
|
|
|
pref("accessibility.typeaheadfind.flashBar", 1);
|
2016-09-16 12:02:37 +03:00
|
|
|
|
2015-12-10 22:28:34 +03:00
|
|
|
// Tracks when accessibility is loaded into the previous session.
|
|
|
|
pref("accessibility.loadedInLastSession", false);
|
|
|
|
|
2013-06-25 19:57:30 +04:00
|
|
|
pref("plugins.click_to_play", true);
|
2015-03-27 23:32:24 +03:00
|
|
|
pref("plugins.testmode", false);
|
2012-04-03 00:49:56 +04:00
|
|
|
|
2017-05-26 20:09:42 +03:00
|
|
|
// Should plugins that are hidden show the infobar UI?
|
|
|
|
pref("plugins.show_infobar", true);
|
|
|
|
|
|
|
|
// Should dismissing the hidden plugin infobar suppress it permanently?
|
2017-06-09 21:27:47 +03:00
|
|
|
pref("plugins.remember_infobar_dismissal", true);
|
2017-05-26 20:09:42 +03:00
|
|
|
|
2013-09-04 18:05:21 +04:00
|
|
|
pref("plugin.default.state", 1);
|
2013-11-21 00:33:05 +04:00
|
|
|
|
2014-04-19 16:17:19 +04:00
|
|
|
// Plugins bundled in XPIs are enabled by default.
|
|
|
|
pref("plugin.defaultXpi.state", 2);
|
|
|
|
|
2017-05-17 04:56:23 +03:00
|
|
|
// Java is Click-to-Activate by default on all channels.
|
2013-11-21 00:33:05 +04:00
|
|
|
pref("plugin.state.java", 1);
|
2013-09-04 18:05:21 +04:00
|
|
|
|
2017-06-09 21:27:47 +03:00
|
|
|
// Flash is Click-to-Activate by default on Nightly.
|
|
|
|
// On other channels, it will be controlled by a
|
|
|
|
// rollout system addon.
|
2017-05-04 00:12:44 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2017-05-17 04:56:23 +03:00
|
|
|
pref("plugin.state.flash", 1);
|
2017-06-09 21:27:47 +03:00
|
|
|
#else
|
|
|
|
pref("plugin.state.flash", 2);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Enables the download and use of the flash blocklists.
|
|
|
|
pref("plugins.flashBlock.enabled", true);
|
2017-05-17 04:56:23 +03:00
|
|
|
|
|
|
|
// Prefer HTML5 video over Flash content, and don't
|
|
|
|
// load plugin instances with no src declared.
|
|
|
|
// These prefs are documented in details on all.js.
|
2017-06-09 21:27:47 +03:00
|
|
|
// With the "follow-ctp" setting, this will only
|
|
|
|
// apply to users that have plugin.state.flash = 1.
|
2017-05-17 04:56:23 +03:00
|
|
|
pref("plugins.favorfallback.mode", "follow-ctp");
|
|
|
|
pref("plugins.favorfallback.rules", "nosrc,video");
|
2017-06-09 21:27:47 +03:00
|
|
|
|
2017-05-04 00:12:44 +03:00
|
|
|
|
2014-07-23 01:02:43 +04:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("browser.preferences.instantApply", false);
|
|
|
|
#else
|
|
|
|
pref("browser.preferences.instantApply", true);
|
|
|
|
#endif
|
2017-04-04 23:33:34 +03:00
|
|
|
|
|
|
|
// Toggling Search bar on and off in about:preferences
|
2017-06-14 06:46:45 +03:00
|
|
|
pref("browser.preferences.search", true);
|
2017-04-04 23:33:34 +03:00
|
|
|
|
2017-05-25 13:12:00 +03:00
|
|
|
// Use the new in-content about:preferences in Nightly only for now
|
|
|
|
#if defined(NIGHTLY_BUILD)
|
|
|
|
pref("browser.preferences.useOldOrganization", false);
|
|
|
|
#else
|
|
|
|
pref("browser.preferences.useOldOrganization", true);
|
|
|
|
#endif
|
|
|
|
|
2017-03-08 14:34:21 +03:00
|
|
|
// Once the Storage Management is completed.
|
|
|
|
// (The Storage Management-related prefs are browser.storageManager.* )
|
|
|
|
// The Offline(Appcache) Group section in about:preferences will be hidden.
|
|
|
|
// And the task to clear appcache will be done by Storage Management.
|
2017-04-07 16:21:32 +03:00
|
|
|
#if defined(NIGHTLY_BUILD)
|
|
|
|
pref("browser.preferences.offlineGroup.enabled", false);
|
|
|
|
#else
|
2017-03-08 14:34:21 +03:00
|
|
|
pref("browser.preferences.offlineGroup.enabled", true);
|
2017-04-07 16:21:32 +03:00
|
|
|
#endif
|
2015-02-02 16:58:12 +03:00
|
|
|
|
2017-04-19 07:02:34 +03:00
|
|
|
pref("browser.preferences.defaultPerformanceSettings.enabled", true);
|
|
|
|
|
2005-02-25 12:07:58 +03:00
|
|
|
pref("browser.download.show_plugins_in_list", true);
|
|
|
|
pref("browser.download.hide_plugins_without_extensions", true);
|
2005-08-02 07:29:11 +04:00
|
|
|
|
2005-10-20 19:16:27 +04:00
|
|
|
// Backspace and Shift+Backspace behavior
|
|
|
|
// 0 goes Back/Forward
|
|
|
|
// 1 act like PgUp/PgDown
|
|
|
|
// 2 and other values, nothing
|
2006-04-13 11:11:35 +04:00
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
2006-12-07 22:46:47 +03:00
|
|
|
pref("browser.backspace_action", 2);
|
2006-04-13 11:11:35 +04:00
|
|
|
#else
|
2005-10-20 19:16:27 +04:00
|
|
|
pref("browser.backspace_action", 0);
|
2006-04-13 11:11:35 +04:00
|
|
|
#endif
|
2005-11-22 08:36:48 +03:00
|
|
|
|
2005-12-05 21:18:11 +03:00
|
|
|
// this will automatically enable inline spellchecking (if it is available) for
|
2006-07-29 04:04:40 +04:00
|
|
|
// editable elements in HTML
|
|
|
|
// 0 = spellcheck nothing
|
|
|
|
// 1 = check multi-line controls [default]
|
|
|
|
// 2 = check multi/single line controls
|
2006-02-09 06:50:53 +03:00
|
|
|
pref("layout.spellcheckDefault", 1);
|
2005-12-05 21:18:11 +03:00
|
|
|
|
2008-02-02 01:40:36 +03:00
|
|
|
pref("browser.send_pings", false);
|
2006-08-18 23:50:16 +04:00
|
|
|
|
2006-10-10 03:57:40 +04:00
|
|
|
/* initial web feed readers list */
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-27 21:18:52 +04:00
|
|
|
pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
|
2006-05-03 08:52:32 +04:00
|
|
|
pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
|
2006-08-12 00:26:14 +04:00
|
|
|
pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
|
|
|
|
pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
|
2006-07-21 21:42:26 +04:00
|
|
|
|
|
|
|
pref("browser.feeds.handler", "ask");
|
2008-01-30 10:12:08 +03:00
|
|
|
pref("browser.videoFeeds.handler", "ask");
|
|
|
|
pref("browser.audioFeeds.handler", "ask");
|
2006-05-12 19:46:25 +04:00
|
|
|
|
2008-02-20 07:46:35 +03:00
|
|
|
// At startup, if the handler service notices that the version number in the
|
|
|
|
// region.properties file is newer than the version number in the handler
|
|
|
|
// service datastore, it will add any new handlers it finds in the prefs (as
|
2015-05-24 02:17:50 +03:00
|
|
|
// seeded by this file) to its datastore.
|
2008-02-20 07:46:35 +03:00
|
|
|
pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2007-09-07 02:20:52 +04:00
|
|
|
// The default set of web-based protocol handlers shown in the application
|
2008-02-20 07:46:35 +03:00
|
|
|
// selection dialog for webcal: ; I've arbitrarily picked 4 default handlers
|
|
|
|
// per protocol, but if some locale wants more than that (or defaults for some
|
|
|
|
// protocol not currently listed here), we should go ahead and add those.
|
|
|
|
|
|
|
|
// webcal
|
|
|
|
pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// mailto
|
|
|
|
pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
2009-03-14 11:47:51 +03:00
|
|
|
// irc
|
|
|
|
pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
|
|
|
|
// ircs
|
|
|
|
pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties");
|
|
|
|
pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties");
|
2007-09-07 02:20:52 +04:00
|
|
|
|
2013-03-27 08:26:43 +04:00
|
|
|
pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
|
2012-08-02 02:52:47 +04:00
|
|
|
|
2008-10-31 09:42:02 +03:00
|
|
|
pref("browser.EULA.version", 3);
|
|
|
|
pref("browser.rights.version", 3);
|
|
|
|
pref("browser.rights.3.shown", false);
|
2006-09-13 11:55:52 +04:00
|
|
|
|
2008-05-08 19:24:23 +04:00
|
|
|
#ifdef DEBUG
|
2008-10-31 09:42:02 +03:00
|
|
|
// Don't show the about:rights notification in debug builds.
|
|
|
|
pref("browser.rights.override", true);
|
2008-05-08 19:24:23 +04:00
|
|
|
#endif
|
|
|
|
|
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
|
|
|
|
Bug 1305950 - Don't collect/save the session when the user is idle. r=mdeboer
This patch includes:
- (By Yoric) Don't collect/save the session when the user is idle;r=mdeboer
- Add a test for the behavior of state writing in idle/active mode
When the user is not actively using the computer, webpages may still
perform changes that require (re)writing to sessionstore, e.g. updating
Session Cookies or DOM Session Storage, or refreshing, etc. Before
this patch, a single active page can require us to
recollect/serialize/write the entire Session Restore file every 15
seconds even when the user is not in front of the computer.
We expect that, when the user is not in front of the computer, changes
are not critical and don't need to be saved as often. We now adopt the
following strategy:
- when the user has been away for (by default) 15 seconds, finish any
pending collect/write, then increase the collect/write buffering
delay to (by default) 1h
- when the user returns, reschedule any pending 1h collect/write as a
(by default) 15 seconds collect/write, then proceed with (by
default) 15 seconds collect/write delays.
--HG--
extra : histedit_source : b7ea6a6fbfee2f3a2bddeaa69b6446d7544c2585
2017-03-31 06:38:01 +03:00
|
|
|
// Minimal interval between two save operations in milliseconds (while the user is active).
|
|
|
|
pref("browser.sessionstore.interval", 15000); // 15 seconds
|
|
|
|
|
|
|
|
// Minimal interval between two save operations in milliseconds (while the user is idle).
|
|
|
|
pref("browser.sessionstore.interval.idle", 3600000); // 1h
|
|
|
|
|
|
|
|
// Time (ms) before we assume that the user is idle and that we don't need to
|
|
|
|
// collect/save the session quite as often.
|
|
|
|
pref("browser.sessionstore.idleDelay", 180000); // 3 minutes
|
|
|
|
|
2007-01-05 20:09:56 +03:00
|
|
|
// on which sites to save text data, POSTDATA and cookies
|
|
|
|
// 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
|
2010-10-08 22:51:50 +04:00
|
|
|
pref("browser.sessionstore.privacy_level", 0);
|
2007-01-05 20:09:56 +03:00
|
|
|
// how many tabs can be reopened (per window)
|
|
|
|
pref("browser.sessionstore.max_tabs_undo", 10);
|
2009-04-23 10:50:30 +04:00
|
|
|
// how many windows can be reopened (per session) - on non-OS X platforms this
|
|
|
|
// pref may be ignored when dealing with pop-up windows to ensure proper startup
|
|
|
|
pref("browser.sessionstore.max_windows_undo", 3);
|
2008-10-11 22:47:31 +04:00
|
|
|
// number of crashes that can occur before the about:sessionrestore page is displayed
|
|
|
|
// (this pref has no effect if more than 6 hours have passed since the last crash)
|
|
|
|
pref("browser.sessionstore.max_resumed_crashes", 1);
|
2014-02-07 05:15:59 +04:00
|
|
|
// number of back button session history entries to restore (-1 = all of them)
|
|
|
|
pref("browser.sessionstore.max_serialize_back", 10);
|
|
|
|
// number of forward button session history entries to restore (-1 = all of them)
|
|
|
|
pref("browser.sessionstore.max_serialize_forward", -1);
|
2011-08-16 10:24:25 +04:00
|
|
|
// restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
|
|
|
|
// and restore_hidden_tabs. When true, tabs will not be restored until they are
|
|
|
|
// focused (also applies to tabs that aren't visible). When false, the values
|
|
|
|
// for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
|
|
|
|
// Selected tabs are always restored regardless of this pref.
|
2012-02-23 14:30:23 +04:00
|
|
|
pref("browser.sessionstore.restore_on_demand", true);
|
2011-05-20 02:07:55 +04:00
|
|
|
// Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
|
|
|
|
pref("browser.sessionstore.restore_hidden_tabs", false);
|
2012-01-20 16:49:15 +04:00
|
|
|
// If restore_on_demand is set, pinned tabs are restored on startup by default.
|
|
|
|
// When set to true, this pref overrides that behavior, and pinned tabs will only
|
|
|
|
// be restored when they are focused.
|
|
|
|
pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
|
2013-06-27 21:57:05 +04:00
|
|
|
// The version at which we performed the latest upgrade backup
|
|
|
|
pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
|
2015-04-02 19:09:31 +03:00
|
|
|
// How many upgrade backups should be kept
|
|
|
|
pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 3);
|
2013-06-27 21:57:05 +04:00
|
|
|
// End-users should not run sessionstore in debug mode
|
|
|
|
pref("browser.sessionstore.debug", false);
|
2015-12-02 17:46:06 +03:00
|
|
|
// Causes SessionStore to ignore non-final update messages from
|
|
|
|
// browser tabs that were not caused by a flush from the parent.
|
|
|
|
// This is a testing flag and should not be used by end-users.
|
|
|
|
pref("browser.sessionstore.debug.no_auto_updates", false);
|
2014-05-14 14:12:00 +04:00
|
|
|
// Forget closed windows/tabs after two weeks
|
|
|
|
pref("browser.sessionstore.cleanup.forget_closed_after", 1209600000);
|
2017-05-05 13:17:09 +03:00
|
|
|
// Maximum number of bytes of DOMSessionStorage data we collect per origin.
|
|
|
|
pref("browser.sessionstore.dom_storage_limit", 2048);
|
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);
|
2017-01-18 17:09:09 +03:00
|
|
|
// The bookmarks bonus is always added on top of any other bonus, including
|
|
|
|
// the redirect source and the typed ones.
|
2009-01-28 05:01:33 +03:00
|
|
|
pref("places.frecency.bookmarkVisitBonus", 75);
|
2017-01-18 17:09:09 +03:00
|
|
|
// The redirect source bonus overwrites any transition bonus.
|
|
|
|
// 0 would hide these pages, instead we want them low ranked. Thus we use
|
|
|
|
// linkVisitBonus - bookmarkVisitBonus, so that a bookmarked source is in par
|
|
|
|
// with a common link.
|
|
|
|
pref("places.frecency.redirectSourceVisitBonus", 25);
|
2008-01-25 20:11:14 +03:00
|
|
|
pref("places.frecency.downloadVisitBonus", 0);
|
2017-01-18 17:12:58 +03:00
|
|
|
// The perm/temp redirects here relate to redirect targets, not sources.
|
|
|
|
pref("places.frecency.permRedirectVisitBonus", 50);
|
|
|
|
pref("places.frecency.tempRedirectVisitBonus", 40);
|
2016-05-26 18:49:40 +03:00
|
|
|
pref("places.frecency.reloadVisitBonus", 0);
|
2008-01-25 20:11:14 +03:00
|
|
|
pref("places.frecency.defaultVisitBonus", 0);
|
|
|
|
|
|
|
|
// bonus (in percent) for place types for frecency calculations
|
|
|
|
pref("places.frecency.unvisitedBookmarkBonus", 140);
|
|
|
|
pref("places.frecency.unvisitedTypedBonus", 200);
|
|
|
|
|
2007-11-24 00:59:10 +03:00
|
|
|
// Controls behavior of the "Add Exception" dialog launched from SSL error pages
|
|
|
|
// 0 - don't pre-populate anything
|
|
|
|
// 1 - pre-populate site URL, but don't fetch certificate
|
|
|
|
// 2 - pre-populate site URL and pre-fetch certificate
|
2008-10-29 18:54:51 +03:00
|
|
|
pref("browser.ssl_override_behavior", 2);
|
2007-12-18 08:29:38 +03:00
|
|
|
|
2008-02-22 09:34:15 +03:00
|
|
|
// True if the user should be prompted when a web application supports
|
|
|
|
// offline apps.
|
|
|
|
pref("browser.offline-apps.notify", true);
|
|
|
|
|
2008-02-13 14:00:45 +03:00
|
|
|
// if true, use full page zoom instead of text zoom
|
|
|
|
pref("browser.zoom.full", true);
|
|
|
|
|
2008-02-27 02:05:53 +03:00
|
|
|
// Whether or not to save and restore zoom levels on a per-site basis.
|
|
|
|
pref("browser.zoom.siteSpecific", true);
|
|
|
|
|
2009-03-01 14:22:44 +03:00
|
|
|
// Whether or not to update background tabs to the current zoom level.
|
|
|
|
pref("browser.zoom.updateBackgroundTabs", true);
|
|
|
|
|
2008-01-25 10:24:33 +03:00
|
|
|
// The breakpad report server to link to in about:crashes
|
2013-03-04 11:11:21 +04:00
|
|
|
pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
|
2008-03-24 20:18:38 +03:00
|
|
|
|
2013-01-04 08:45:15 +04:00
|
|
|
// URL for "Learn More" for Crash Reporter
|
|
|
|
pref("toolkit.crashreporter.infoURL",
|
2013-03-27 08:26:43 +04:00
|
|
|
"https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
|
2013-01-04 08:45:15 +04:00
|
|
|
|
2008-03-24 20:18:38 +03:00
|
|
|
// base URL for web-based support pages
|
2013-05-30 03:26:41 +04:00
|
|
|
pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
|
2008-10-29 18:54:51 +03:00
|
|
|
|
2016-01-27 23:27:15 +03:00
|
|
|
// a11y conflicts with e10s support page
|
|
|
|
pref("app.support.e10sAccessibilityUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/accessibility-ppt");
|
|
|
|
|
2014-02-24 18:57:30 +04:00
|
|
|
// base url for web-based feedback pages
|
2014-10-31 15:47:28 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
|
|
|
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/firefoxdev/%VERSION%/");
|
|
|
|
#else
|
2014-02-24 18:57:30 +04:00
|
|
|
pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/%APP%/%VERSION%/");
|
2014-10-31 15:47:28 +03:00
|
|
|
#endif
|
|
|
|
|
2014-02-24 18:57:30 +04:00
|
|
|
|
2008-10-29 18:54:51 +03:00
|
|
|
// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
|
|
|
|
pref("security.alternate_certificate_error_page", "certerror");
|
2008-11-04 02:22:22 +03:00
|
|
|
|
|
|
|
// Whether to start the private browsing mode at application startup
|
|
|
|
pref("browser.privatebrowsing.autostart", false);
|
2008-11-04 02:22:23 +03:00
|
|
|
|
2009-02-27 04:27:39 +03:00
|
|
|
// Don't try to alter this pref, it'll be reset the next time you use the
|
|
|
|
// bookmarking dialog
|
|
|
|
pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
|
2009-04-14 22:24:13 +04:00
|
|
|
|
2015-02-10 17:32:26 +03:00
|
|
|
pref("dom.ipc.plugins.flash.disable-protected-mode", false);
|
2015-01-11 06:44:29 +03:00
|
|
|
|
2015-02-20 01:43:24 +03:00
|
|
|
// Feature-disable the protected-mode auto-flip
|
2015-03-03 21:35:40 +03:00
|
|
|
pref("browser.flash-protected-mode-flip.enable", false);
|
2015-02-20 01:43:24 +03:00
|
|
|
|
|
|
|
// Whether we've already flipped protected mode automatically
|
|
|
|
pref("browser.flash-protected-mode-flip.done", false);
|
|
|
|
|
2015-04-02 11:25:42 +03:00
|
|
|
pref("dom.ipc.shims.enabledWarnings", false);
|
|
|
|
|
2014-11-29 20:12:18 +03:00
|
|
|
#if defined(XP_WIN) && defined(MOZ_SANDBOX)
|
2015-01-30 20:48:15 +03:00
|
|
|
// Controls whether and how the Windows NPAPI plugin process is sandboxed.
|
2015-01-23 11:32:21 +03:00
|
|
|
// To get a different setting for a particular plugin replace "default", with
|
|
|
|
// the plugin's nice file name, see: nsPluginTag::GetNiceFileName.
|
2015-01-30 20:48:15 +03:00
|
|
|
// On windows these levels are:
|
|
|
|
// 0 - no sandbox
|
|
|
|
// 1 - sandbox with USER_NON_ADMIN access token level
|
2015-05-22 19:05:45 +03:00
|
|
|
// 2 - a more strict sandbox, which might cause functionality issues. This now
|
|
|
|
// includes running at low integrity.
|
2015-02-11 19:25:43 +03:00
|
|
|
// 3 - the strongest settings we seem to be able to use without breaking
|
2015-05-22 19:05:45 +03:00
|
|
|
// everything, but will probably cause some functionality restrictions
|
2015-01-30 20:48:15 +03:00
|
|
|
pref("dom.ipc.plugins.sandbox-level.default", 0);
|
2015-08-20 14:45:09 +03:00
|
|
|
#if defined(_AMD64_)
|
|
|
|
// The lines in PluginModuleParent.cpp should be changed in line with this.
|
|
|
|
pref("dom.ipc.plugins.sandbox-level.flash", 2);
|
|
|
|
#else
|
2015-06-15 18:08:51 +03:00
|
|
|
pref("dom.ipc.plugins.sandbox-level.flash", 0);
|
2015-08-20 14:45:09 +03:00
|
|
|
#endif
|
2015-01-29 11:13:07 +03:00
|
|
|
|
2014-11-29 20:12:18 +03:00
|
|
|
#if defined(MOZ_CONTENT_SANDBOX)
|
2015-03-10 11:03:12 +03:00
|
|
|
// This controls the strength of the Windows content process sandbox for testing
|
|
|
|
// purposes. This will require a restart.
|
|
|
|
// On windows these levels are:
|
2015-10-05 13:10:46 +03:00
|
|
|
// See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
|
|
|
|
// SetSecurityLevelForContentProcess() for what the different settings mean.
|
2015-04-28 18:06:29 +03:00
|
|
|
#if defined(NIGHTLY_BUILD)
|
2015-10-05 13:10:46 +03:00
|
|
|
pref("security.sandbox.content.level", 2);
|
2015-04-28 18:06:29 +03:00
|
|
|
#else
|
2016-07-21 08:39:25 +03:00
|
|
|
pref("security.sandbox.content.level", 1);
|
2015-04-28 18:06:29 +03:00
|
|
|
#endif
|
|
|
|
|
2014-11-29 20:12:18 +03:00
|
|
|
// This controls the depth of stack trace that is logged when Windows sandbox
|
|
|
|
// logging is turned on. This is only currently available for the content
|
|
|
|
// process because the only other sandbox (for GMP) has too strict a policy to
|
|
|
|
// allow stack tracing. This does not require a restart to take effect.
|
|
|
|
pref("security.sandbox.windows.log.stackTraceDepth", 0);
|
|
|
|
#endif
|
2017-04-24 19:46:09 +03:00
|
|
|
|
|
|
|
// This controls the strength of the Windows GPU process sandbox. Changes
|
|
|
|
// will require restart.
|
|
|
|
// For information on what the level number means, see
|
|
|
|
// SetSecurityLevelForGPUProcess() in
|
|
|
|
// security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
|
2017-05-05 21:16:58 +03:00
|
|
|
pref("security.sandbox.gpu.level", 0);
|
2014-06-11 18:32:37 +04:00
|
|
|
#endif
|
|
|
|
|
2015-02-18 16:10:27 +03:00
|
|
|
#if defined(XP_MACOSX) && defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
2016-09-26 21:30:08 +03:00
|
|
|
// This pref is discussed in bug 1083344, the naming is inspired from its
|
|
|
|
// Windows counterpart, but on Mac it's an integer which means:
|
2017-05-13 00:04:42 +03:00
|
|
|
// 0 -> "no sandbox" (nightly only)
|
2016-09-26 21:30:08 +03:00
|
|
|
// 1 -> "preliminary content sandboxing enabled: write access to
|
|
|
|
// home directory is prevented"
|
|
|
|
// 2 -> "preliminary content sandboxing enabled with profile protection:
|
|
|
|
// write access to home directory is prevented, read and write access
|
|
|
|
// to ~/Library and profile directories are prevented (excluding
|
|
|
|
// $PROFILE/{extensions,weave})"
|
2015-02-18 16:10:27 +03:00
|
|
|
// This setting is read when the content process is started. On Mac the content
|
|
|
|
// process is killed when all windows are closed, so a change will take effect
|
2015-02-25 21:37:03 +03:00
|
|
|
// when the 1st window is opened.
|
2016-09-26 21:30:08 +03:00
|
|
|
#if defined(NIGHTLY_BUILD)
|
|
|
|
pref("security.sandbox.content.level", 2);
|
|
|
|
#else
|
2015-03-12 19:42:50 +03:00
|
|
|
pref("security.sandbox.content.level", 1);
|
2015-02-18 16:10:27 +03:00
|
|
|
#endif
|
2016-09-26 21:30:08 +03:00
|
|
|
#endif
|
2015-02-18 16:10:27 +03:00
|
|
|
|
2016-06-16 13:39:07 +03:00
|
|
|
#if defined(XP_LINUX) && defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
|
|
|
// This pref is introduced as part of bug 742434, the naming is inspired from
|
|
|
|
// its Windows/Mac counterpart, but on Linux it's an integer which means:
|
|
|
|
// 0 -> "no sandbox"
|
|
|
|
// 1 -> "content sandbox using seccomp-bpf when available"
|
|
|
|
// 2 -> "seccomp-bpf + file broker"
|
|
|
|
// Content sandboxing on Linux is currently in the stage of
|
|
|
|
// 'just getting it enabled', which includes a very permissive whitelist. We
|
|
|
|
// enable seccomp-bpf on nightly to see if everything is running, or if we need
|
|
|
|
// to whitelist more system calls.
|
|
|
|
//
|
|
|
|
// So the purpose of this setting is to allow nightly users to disable the
|
|
|
|
// sandbox while we fix their problems. This way, they won't have to wait for
|
|
|
|
// another nightly release which disables seccomp-bpf again.
|
|
|
|
//
|
|
|
|
// This setting may not be required anymore once we decide to permanently
|
|
|
|
// enable the content sandbox.
|
2016-09-27 18:25:06 +03:00
|
|
|
pref("security.sandbox.content.level", 2);
|
2017-01-26 21:59:50 +03:00
|
|
|
pref("security.sandbox.content.write_path_whitelist", "");
|
|
|
|
pref("security.sandbox.content.syscall_whitelist", "");
|
2016-06-16 13:39:07 +03:00
|
|
|
#endif
|
|
|
|
|
2016-02-26 02:26:13 +03:00
|
|
|
#if defined(XP_MACOSX) || defined(XP_WIN)
|
|
|
|
#if defined(MOZ_SANDBOX) && defined(MOZ_CONTENT_SANDBOX)
|
|
|
|
// ID (a UUID when set by gecko) that is used to form the name of a
|
|
|
|
// sandbox-writable temporary directory to be used by content processes
|
|
|
|
// when a temporary writable file is required in a level 1 sandbox.
|
|
|
|
pref("security.sandbox.content.tempDirSuffix", "");
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2017-01-18 02:47:13 +03:00
|
|
|
#if defined(MOZ_SANDBOX)
|
|
|
|
// This pref determines if messages relevant to sandbox violations are
|
|
|
|
// logged.
|
2017-01-26 20:42:02 +03:00
|
|
|
#if defined(XP_WIN)
|
|
|
|
pref("security.sandbox.logging.enabled", false);
|
|
|
|
#else
|
2017-01-18 02:47:13 +03:00
|
|
|
pref("security.sandbox.logging.enabled", true);
|
|
|
|
#endif
|
2017-01-26 20:42:02 +03:00
|
|
|
#endif
|
2017-01-18 02:47:13 +03:00
|
|
|
|
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
|
|
|
|
|
|
|
// The sync engines to use.
|
2016-09-08 21:23:12 +03:00
|
|
|
pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons,ExtensionStorage");
|
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.
|
2016-07-27 18:04:28 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.ctrlTab.previews", true);
|
2016-06-27 22:20:00 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.download.useDownloadDir", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.formfill.enable", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
|
2014-11-07 14:15:39 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.enhanced", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.offline-apps.notify", true);
|
2016-05-09 09:44:08 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.search.update", true);
|
2011-12-13 23:41:21 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.browser.startup.homepage", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.startup.page", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
|
2016-05-03 19:52:00 +03:00
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.suggest.history", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.suggest.history.onlyTyped", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", true);
|
|
|
|
pref("services.sync.prefs.sync.browser.urlbar.suggest.searches", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.disable_window_flip", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
|
|
|
|
pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.extensions.personas.current", true);
|
|
|
|
pref("services.sync.prefs.sync.extensions.update.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.intl.accept_languages", true);
|
|
|
|
pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
|
2015-03-24 01:32:41 +03:00
|
|
|
pref("services.sync.prefs.sync.lightweightThemes.selectedThemeID", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.lightweightThemes.usedThemes", true);
|
|
|
|
pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
|
|
|
|
pref("services.sync.prefs.sync.network.cookie.lifetimePolicy", true);
|
2015-12-10 01:30:38 +03:00
|
|
|
pref("services.sync.prefs.sync.network.cookie.lifetime.days", true);
|
|
|
|
pref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.permissions.default.image", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
|
|
|
|
pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
|
|
|
|
pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
|
2011-02-04 22:19:27 +03:00
|
|
|
pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
|
2014-09-07 23:03:00 +04:00
|
|
|
pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", true);
|
2015-09-09 10:12:52 +03:00
|
|
|
pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.security.OCSP.enabled", true);
|
|
|
|
pref("services.sync.prefs.sync.security.OCSP.require", true);
|
|
|
|
pref("services.sync.prefs.sync.security.default_personal_cert", true);
|
2013-04-14 17:41:55 +04:00
|
|
|
pref("services.sync.prefs.sync.security.tls.version.min", true);
|
|
|
|
pref("services.sync.prefs.sync.security.tls.version.max", true);
|
2016-02-22 07:43:46 +03:00
|
|
|
pref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", true);
|
2010-08-03 03:37:55 +04:00
|
|
|
pref("services.sync.prefs.sync.signon.rememberSignons", true);
|
|
|
|
pref("services.sync.prefs.sync.spellchecker.dictionary", true);
|
|
|
|
pref("services.sync.prefs.sync.xpinstall.whitelist.required", true);
|
2010-09-10 01:52:43 +04:00
|
|
|
|
2016-02-22 07:43:46 +03:00
|
|
|
// A preference that controls whether we should show the icon for a remote tab.
|
|
|
|
// This pref has no UI but exists because some people may be concerned that
|
|
|
|
// fetching these icons to show remote tabs may leak information about that
|
|
|
|
// user's tabs and bookmarks. Note this pref is also synced.
|
|
|
|
pref("services.sync.syncedTabs.showRemoteIcons", true);
|
|
|
|
|
2014-10-09 01:05:46 +04:00
|
|
|
// Developer edition preferences
|
2014-11-01 16:41:51 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
2017-01-13 22:53:58 +03:00
|
|
|
sticky_pref("lightweightThemes.selectedThemeID", "firefox-compact-dark@mozilla.org");
|
2015-05-15 04:31:21 +03:00
|
|
|
#else
|
|
|
|
sticky_pref("lightweightThemes.selectedThemeID", "");
|
2014-11-01 16:41:51 +03:00
|
|
|
#endif
|
2014-10-09 01:05:46 +04:00
|
|
|
|
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);
|
2011-11-08 04:20:53 +04:00
|
|
|
|
2012-08-13 20:30:18 +04:00
|
|
|
// Activates preloading of the new tab url.
|
2013-06-05 00:20:44 +04:00
|
|
|
pref("browser.newtab.preload", true);
|
2012-01-26 02:43:27 +04:00
|
|
|
|
2014-08-21 23:05:48 +04:00
|
|
|
// Remembers if the about:newtab intro has been shown
|
2016-01-09 01:31:14 +03:00
|
|
|
// NOTE: This preference is unused but was not removed in case
|
|
|
|
// this information will be valuable in the future.
|
2014-08-21 23:05:48 +04:00
|
|
|
pref("browser.newtabpage.introShown", false);
|
|
|
|
|
2012-01-26 02:43:27 +04:00
|
|
|
// Toggles the content of 'about:newtab'. Shows the grid when enabled.
|
2012-02-01 14:46:40 +04:00
|
|
|
pref("browser.newtabpage.enabled", true);
|
2012-01-26 02:43:27 +04:00
|
|
|
|
2017-05-03 03:09:16 +03:00
|
|
|
// Toggles the directory tiles content of 'about:newtab'.
|
2015-06-26 16:36:02 +03:00
|
|
|
sticky_pref("browser.newtabpage.enhanced", true);
|
|
|
|
|
2017-01-05 00:39:52 +03:00
|
|
|
// enables Activity Stream inspired layout
|
|
|
|
pref("browser.newtabpage.compact", false);
|
|
|
|
|
2017-01-06 17:00:25 +03:00
|
|
|
// enables showing basic placeholders for missing thumbnails
|
|
|
|
pref("browser.newtabpage.thumbnailPlaceholder", false);
|
|
|
|
|
2012-08-17 09:01:03 +04:00
|
|
|
// number of rows of newtab grid
|
|
|
|
pref("browser.newtabpage.rows", 3);
|
|
|
|
|
|
|
|
// number of columns of newtab grid
|
2014-08-19 07:36:04 +04:00
|
|
|
pref("browser.newtabpage.columns", 5);
|
2012-08-17 09:01:03 +04:00
|
|
|
|
2014-06-10 09:03:23 +04:00
|
|
|
// directory tiles download URL
|
2015-04-01 11:02:50 +03:00
|
|
|
pref("browser.newtabpage.directory.source", "https://tiles.services.mozilla.com/v3/links/fetch/%LOCALE%/%CHANNEL%");
|
2014-03-27 12:03:42 +04:00
|
|
|
|
2017-02-22 21:18:09 +03:00
|
|
|
// activates Activity Stream
|
|
|
|
pref("browser.newtabpage.activity-stream.enabled", false);
|
2016-03-14 13:56:07 +03:00
|
|
|
|
2012-05-09 01:47:19 +04:00
|
|
|
// Enable the DOM fullscreen API.
|
2011-11-08 04:20:53 +04:00
|
|
|
pref("full-screen-api.enabled", true);
|
2011-11-08 09:20:42 +04:00
|
|
|
|
|
|
|
// Startup Crash Tracking
|
|
|
|
// number of startup crashes that can occur before starting into safe mode automatically
|
|
|
|
// (this pref has no effect if more than 6 hours have passed since the last crash)
|
2012-03-10 03:21:03 +04:00
|
|
|
pref("toolkit.startup.max_resumed_crashes", 3);
|
2012-04-23 08:42:13 +04:00
|
|
|
|
2017-03-13 21:57:00 +03:00
|
|
|
// Whether we use pdfium to view content with the pdf mime type.
|
|
|
|
// Note: if the pref is set to false while Firefox is open, it won't
|
|
|
|
// take effect until there are no open pdfium tabs.
|
|
|
|
pref("pdfium.enabled", false);
|
|
|
|
|
2012-06-02 20:56:24 +04:00
|
|
|
// Completely disable pdf.js as an option to preview pdfs within firefox.
|
|
|
|
// Note: if this is not disabled it does not necessarily mean pdf.js is the pdf
|
|
|
|
// handler just that it is an option.
|
|
|
|
pref("pdfjs.disabled", false);
|
|
|
|
// Used by pdf.js to know the first time firefox is run with it installed so it
|
|
|
|
// can become the default pdf viewer.
|
|
|
|
pref("pdfjs.firstRun", true);
|
|
|
|
// The values of preferredAction and alwaysAskBeforeHandling before pdf.js
|
|
|
|
// became the default.
|
|
|
|
pref("pdfjs.previousHandler.preferredAction", 0);
|
|
|
|
pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
|
|
|
|
|
2012-04-23 08:42:13 +04:00
|
|
|
// The maximum amount of decoded image data we'll willingly keep around (we
|
|
|
|
// might keep around more than this, but we'll try to get down to this value).
|
|
|
|
// (This is intentionally on the high side; see bug 746055.)
|
|
|
|
pref("image.mem.max_decoded_image_kb", 256000);
|
2012-06-27 06:03:32 +04:00
|
|
|
|
2017-05-24 19:54:34 +03:00
|
|
|
// Is the sidebar positioned ahead of the content browser
|
|
|
|
pref("sidebar.position_start", true);
|
|
|
|
|
2015-06-04 19:24:45 +03:00
|
|
|
// Activation from inside of share panel is possible if activationPanelEnabled
|
2014-10-09 23:01:39 +04:00
|
|
|
// is true. Pref'd off for release while usage testing is done through beta.
|
|
|
|
pref("social.share.activationPanelEnabled", true);
|
|
|
|
pref("social.shareDirectory", "https://activations.cdn.mozilla.net/sharePanel.html");
|
|
|
|
|
2013-04-05 01:52:55 +04:00
|
|
|
// Block insecure active content on https pages
|
|
|
|
pref("security.mixed_content.block_active_content", true);
|
|
|
|
|
2016-01-21 03:27:28 +03:00
|
|
|
// Show degraded UI for http pages with password fields.
|
2015-10-30 03:01:22 +03:00
|
|
|
pref("security.insecure_password.ui.enabled", true);
|
|
|
|
|
2017-01-03 01:47:43 +03:00
|
|
|
// Show in-content login form warning UI for insecure login fields
|
|
|
|
pref("security.insecure_field_warning.contextual.enabled", true);
|
2016-10-31 12:57:40 +03:00
|
|
|
|
2014-06-03 02:06:30 +04:00
|
|
|
// 1 = allow MITM for certificate pinning checks.
|
|
|
|
pref("security.cert_pinning.enforcement_level", 1);
|
|
|
|
|
2015-05-07 20:54:05 +03:00
|
|
|
|
2013-03-07 08:45:08 +04:00
|
|
|
// Override the Gecko-default value of false for Firefox.
|
|
|
|
pref("plain_text.wrap_long_lines", true);
|
2013-03-16 09:35:22 +04:00
|
|
|
|
2013-03-31 08:17:38 +04:00
|
|
|
// If this turns true, Moz*Gesture events are not called stopPropagation()
|
|
|
|
// before content.
|
|
|
|
pref("dom.debug.propagate_gesture_events_through_content", false);
|
2013-06-13 06:20:07 +04:00
|
|
|
|
2017-01-27 01:38:16 +03:00
|
|
|
// All the Geolocation preferences are here.
|
|
|
|
//
|
2017-02-23 02:09:02 +03:00
|
|
|
|
2017-03-13 20:31:27 +03:00
|
|
|
// Geolocation preferences for the RELEASE and "later" Beta channels.
|
2017-02-23 02:09:02 +03:00
|
|
|
// Some of these prefs are specified even though they are redundant; they are
|
|
|
|
// here for clarity and end-user experiments.
|
2017-03-13 20:31:27 +03:00
|
|
|
#ifndef EARLY_BETA_OR_EARLIER
|
2015-10-20 21:29:59 +03:00
|
|
|
pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
|
2013-07-27 01:26:31 +04:00
|
|
|
|
2015-01-26 14:25:00 +03:00
|
|
|
#ifdef XP_MACOSX
|
2015-10-20 21:29:59 +03:00
|
|
|
pref("geo.provider.use_corelocation", false);
|
|
|
|
#endif
|
2015-01-26 14:25:00 +03:00
|
|
|
|
2015-03-10 19:48:05 +03:00
|
|
|
#ifdef XP_WIN
|
|
|
|
pref("geo.provider.ms-windows-location", false);
|
|
|
|
#endif
|
|
|
|
|
2016-07-22 12:52:09 +03:00
|
|
|
#ifdef MOZ_WIDGET_GTK
|
|
|
|
pref("geo.provider.use_gpsd", false);
|
2017-02-23 02:09:02 +03:00
|
|
|
#endif
|
|
|
|
|
2016-07-22 12:52:09 +03:00
|
|
|
#else
|
2017-02-23 02:09:02 +03:00
|
|
|
|
|
|
|
// Geolocation preferences for Nightly/Aurora/Beta.
|
|
|
|
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
|
|
|
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
pref("geo.provider.use_corelocation", true);
|
2016-07-22 12:52:09 +03:00
|
|
|
#endif
|
2017-02-23 02:09:02 +03:00
|
|
|
|
|
|
|
// The native Windows location provider is only enabled in Nightly and likely to
|
|
|
|
// be unstable. Set to false if things are really broken.
|
|
|
|
#if defined(XP_WIN) && defined(NIGHTLY_BUILD)
|
|
|
|
pref("geo.provider.ms-windows-location", true);
|
2016-07-22 12:52:09 +03:00
|
|
|
#endif
|
2017-02-23 02:09:02 +03:00
|
|
|
|
|
|
|
#if defined(MOZ_WIDGET_GTK) && defined(MOZ_GPSD)
|
|
|
|
pref("geo.provider.use_gpsd", true);
|
|
|
|
#endif
|
|
|
|
|
2016-07-22 12:52:09 +03:00
|
|
|
#endif
|
|
|
|
|
2013-07-27 01:26:31 +04:00
|
|
|
// Necko IPC security checks only needed for app isolation for cookies/cache/etc:
|
|
|
|
// currently irrelevant for desktop e10s
|
|
|
|
pref("network.disable.ipc.security", true);
|
2013-07-28 13:50:05 +04:00
|
|
|
|
2013-06-21 04:40:45 +04:00
|
|
|
// CustomizableUI debug logging.
|
|
|
|
pref("browser.uiCustomization.debug", false);
|
2013-12-03 01:56:24 +04:00
|
|
|
|
2014-02-14 22:51:33 +04:00
|
|
|
// CustomizableUI state of the browser's user interface
|
|
|
|
pref("browser.uiCustomization.state", "");
|
|
|
|
|
2014-03-12 02:58:27 +04:00
|
|
|
// The remote content URL shown for FxA signup. Must use HTTPS.
|
2016-01-08 00:41:46 +03:00
|
|
|
pref("identity.fxaccounts.remote.signup.uri", "https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v3");
|
2013-12-17 08:45:03 +04:00
|
|
|
|
2014-02-01 05:27:59 +04:00
|
|
|
// The URL where remote content that forces re-authentication for Firefox Accounts
|
|
|
|
// should be fetched. Must use HTTPS.
|
2016-01-08 00:41:46 +03:00
|
|
|
pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.firefox.com/force_auth?service=sync&context=fx_desktop_v3");
|
2014-02-01 05:27:59 +04:00
|
|
|
|
2014-02-18 15:05:13 +04:00
|
|
|
// The remote content URL shown for signin in. Must use HTTPS.
|
2016-01-08 00:41:46 +03:00
|
|
|
pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com/signin?service=sync&context=fx_desktop_v3");
|
2014-02-18 15:05:13 +04:00
|
|
|
|
2015-04-11 15:23:08 +03:00
|
|
|
// The remote content URL where FxAccountsWebChannel messages originate.
|
|
|
|
pref("identity.fxaccounts.remote.webchannel.uri", "https://accounts.firefox.com/");
|
|
|
|
|
2016-09-21 22:07:28 +03:00
|
|
|
// The value of the context query parameter passed in some fxa requests when config
|
|
|
|
// discovery is enabled.
|
|
|
|
pref("identity.fxaccounts.contextParam", "fx_desktop_v3");
|
|
|
|
|
2014-01-24 17:33:39 +04:00
|
|
|
// The URL we take the user to when they opt to "manage" their Firefox Account.
|
|
|
|
// Note that this will always need to be in the same TLD as the
|
2014-03-12 02:58:27 +04:00
|
|
|
// "identity.fxaccounts.remote.signup.uri" pref.
|
2015-12-21 13:56:19 +03:00
|
|
|
pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com/settings?service=sync&context=fx_desktop_v3");
|
2014-01-24 17:33:39 +04:00
|
|
|
|
2017-01-05 03:21:36 +03:00
|
|
|
// The URL of the FxA device manager page
|
|
|
|
pref("identity.fxaccounts.settings.devices.uri", "https://accounts.firefox.com/settings/clients?service=sync&context=fx_desktop_v3");
|
|
|
|
|
2015-02-06 00:31:23 +03:00
|
|
|
// The remote URL of the FxA Profile Server
|
|
|
|
pref("identity.fxaccounts.remote.profile.uri", "https://profile.accounts.firefox.com/v1");
|
|
|
|
|
|
|
|
// The remote URL of the FxA OAuth Server
|
|
|
|
pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
|
|
|
|
|
2015-07-16 06:19:10 +03:00
|
|
|
// Token server used by the FxA Sync identity.
|
|
|
|
pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
|
|
|
|
|
2015-12-03 02:05:03 +03:00
|
|
|
// URLs for promo links to mobile browsers. Note that consumers are expected to
|
|
|
|
// append a value for utm_campaign.
|
|
|
|
pref("identity.mobilepromo.android", "https://www.mozilla.org/firefox/android/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
|
|
|
|
pref("identity.mobilepromo.ios", "https://www.mozilla.org/firefox/ios/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
|
|
|
|
|
2014-10-27 16:15:12 +03:00
|
|
|
// Migrate any existing Firefox Account data from the default profile to the
|
|
|
|
// Developer Edition profile.
|
2014-11-01 16:41:51 +03:00
|
|
|
#ifdef MOZ_DEV_EDITION
|
|
|
|
pref("identity.fxaccounts.migrateToDevEdition", true);
|
|
|
|
#else
|
2014-10-27 16:15:12 +03:00
|
|
|
pref("identity.fxaccounts.migrateToDevEdition", false);
|
2014-11-01 16:41:51 +03:00
|
|
|
#endif
|
2014-10-27 16:15:12 +03:00
|
|
|
|
2014-02-18 21:07:27 +04:00
|
|
|
// On GTK, we now default to showing the menubar only when alt is pressed:
|
|
|
|
#ifdef MOZ_WIDGET_GTK
|
|
|
|
pref("ui.key.menuAccessKeyFocuses", true);
|
|
|
|
#endif
|
|
|
|
|
2014-06-07 00:52:15 +04:00
|
|
|
// Encrypted media extensions.
|
2016-08-16 07:12:55 +03:00
|
|
|
#ifdef XP_LINUX
|
|
|
|
// On Linux EME is visible but disabled by default. This is so that the
|
|
|
|
// "Play DRM content" checkbox in the Firefox UI is unchecked by default.
|
|
|
|
// DRM requires downloading and installing proprietary binaries, which
|
|
|
|
// users on an open source operating systems didn't opt into. The first
|
|
|
|
// time a site using EME is encountered, the user will be prompted to
|
|
|
|
// enable DRM, whereupon the EME plugin binaries will be downloaded if
|
|
|
|
// permission is granted.
|
|
|
|
pref("media.eme.enabled", false);
|
|
|
|
#else
|
2014-11-27 06:16:38 +03:00
|
|
|
pref("media.eme.enabled", true);
|
2016-08-16 07:12:55 +03:00
|
|
|
#endif
|
2015-03-09 06:24:26 +03:00
|
|
|
|
2017-02-09 10:09:39 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
pref("media.eme.vp9-in-mp4.enabled", true);
|
|
|
|
#else
|
|
|
|
pref("media.eme.vp9-in-mp4.enabled", false);
|
|
|
|
#endif
|
|
|
|
|
2015-09-18 09:35:14 +03:00
|
|
|
// Whether we should run a test-pattern through EME GMPs before assuming they'll
|
|
|
|
// decode H.264.
|
|
|
|
pref("media.gmp.trial-create.enabled", true);
|
|
|
|
|
2016-05-31 01:59:44 +03:00
|
|
|
// Note: when media.gmp-*.visible is true, provided we're running on a
|
|
|
|
// supported platform/OS version, the corresponding CDM appears in the
|
|
|
|
// plugins list, Firefox will download the GMP/CDM if enabled, and our
|
|
|
|
// UI to re-enable EME prompts the user to re-enable EME if it's disabled
|
|
|
|
// and script requests EME. If *.visible is false, we won't show the UI
|
|
|
|
// to enable the CDM if its disabled; it's as if the keysystem is completely
|
|
|
|
// unsupported.
|
|
|
|
|
2016-04-12 07:12:21 +03:00
|
|
|
#ifdef MOZ_WIDEVINE_EME
|
2016-05-31 01:59:44 +03:00
|
|
|
pref("media.gmp-widevinecdm.visible", true);
|
2016-04-12 07:12:21 +03:00
|
|
|
pref("media.gmp-widevinecdm.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2014-04-04 16:42:06 +04:00
|
|
|
// Play with different values of the decay time and get telemetry,
|
|
|
|
// 0 means to randomize (and persist) the experiment value in users' profiles,
|
|
|
|
// -1 means no experiment is run and we use the preferred value for frecency (6h)
|
|
|
|
pref("browser.cache.frecency_experiment", 0);
|
2014-03-19 01:52:28 +04:00
|
|
|
|
2014-04-17 02:02:33 +04:00
|
|
|
pref("browser.translation.detectLanguage", false);
|
2014-05-13 11:57:08 +04:00
|
|
|
pref("browser.translation.neverForLanguages", "");
|
2014-05-23 19:16:27 +04:00
|
|
|
// Show the translation UI bits, like the info bar, notification icon and preferences.
|
|
|
|
pref("browser.translation.ui.show", false);
|
2015-06-04 23:49:55 +03:00
|
|
|
// Allows to define the translation engine. Bing is default, Yandex may optionally switched on.
|
|
|
|
pref("browser.translation.engine", "bing");
|
2014-04-17 02:02:33 +04:00
|
|
|
|
2015-04-23 20:22:28 +03:00
|
|
|
// Telemetry settings.
|
|
|
|
// Determines if Telemetry pings can be archived locally.
|
|
|
|
pref("toolkit.telemetry.archive.enabled", true);
|
2017-04-25 02:07:36 +03:00
|
|
|
// Enables sending the shutdown ping when Firefox shuts down.
|
|
|
|
pref("toolkit.telemetry.shutdownPingSender.enabled", true);
|
2017-05-22 13:52:19 +03:00
|
|
|
// Enables sending the 'new-profile' ping on new profiles.
|
|
|
|
pref("toolkit.telemetry.newProfilePing.enabled", true);
|
2015-04-23 20:22:28 +03:00
|
|
|
|
2014-03-19 01:52:28 +04:00
|
|
|
// Telemetry experiments settings.
|
2014-03-27 18:49:30 +04:00
|
|
|
pref("experiments.enabled", true);
|
2014-03-19 01:52:28 +04:00
|
|
|
pref("experiments.manifest.fetchIntervalSeconds", 86400);
|
2014-03-19 01:52:29 +04:00
|
|
|
pref("experiments.manifest.uri", "https://telemetry-experiment.cdn.mozilla.net/manifest/v1/firefox/%VERSION%/%CHANNEL%");
|
2014-03-20 02:02:58 +04:00
|
|
|
// Whether experiments are supported by the current application profile.
|
|
|
|
pref("experiments.supported", true);
|
2014-07-16 17:49:30 +04:00
|
|
|
|
2015-02-17 20:50:21 +03:00
|
|
|
// Enable GMP support in the addon manager.
|
|
|
|
pref("media.gmp-provider.enabled", true);
|
2014-09-19 02:20:38 +04:00
|
|
|
|
2014-10-28 19:55:14 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2016-01-08 21:09:07 +03:00
|
|
|
pref("privacy.trackingprotection.ui.enabled", true);
|
|
|
|
#else
|
2014-10-24 01:43:51 +04:00
|
|
|
pref("privacy.trackingprotection.ui.enabled", false);
|
2014-10-28 19:55:14 +03:00
|
|
|
#endif
|
2015-07-16 23:38:20 +03:00
|
|
|
pref("privacy.trackingprotection.introCount", 0);
|
2015-09-19 02:29:47 +03:00
|
|
|
pref("privacy.trackingprotection.introURL", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tracking-protection/start/");
|
2014-10-28 18:59:08 +03:00
|
|
|
|
2015-09-28 23:00:28 +03:00
|
|
|
// Enable Contextual Identity Containers
|
2016-06-15 00:41:36 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
pref("privacy.userContext.enabled", true);
|
2016-07-19 17:29:41 +03:00
|
|
|
pref("privacy.userContext.ui.enabled", true);
|
2016-10-13 01:04:00 +03:00
|
|
|
pref("privacy.usercontext.about_newtab_segregation.enabled", true);
|
2017-01-12 20:30:47 +03:00
|
|
|
|
|
|
|
// 0 disables long press, 1 when clicked, the menu is shown, 2 the menu is shown after X milliseconds.
|
|
|
|
pref("privacy.userContext.longPressBehavior", 2);
|
2016-06-15 00:41:36 +03:00
|
|
|
#else
|
2015-09-28 23:00:28 +03:00
|
|
|
pref("privacy.userContext.enabled", false);
|
2016-07-19 17:29:41 +03:00
|
|
|
pref("privacy.userContext.ui.enabled", false);
|
2016-10-13 01:04:00 +03:00
|
|
|
pref("privacy.usercontext.about_newtab_segregation.enabled", false);
|
2017-01-12 20:30:47 +03:00
|
|
|
|
|
|
|
// 0 disables long press, 1 when clicked, the menu is shown, 2 the menu is shown after X milliseconds.
|
|
|
|
pref("privacy.userContext.longPressBehavior", 0);
|
2016-06-15 00:41:36 +03:00
|
|
|
#endif
|
2015-09-28 23:00:28 +03:00
|
|
|
|
2017-06-07 01:35:07 +03:00
|
|
|
// Start the browser in e10s mode
|
|
|
|
pref("browser.tabs.remote.autostart", false);
|
|
|
|
pref("browser.tabs.remote.desktopbehavior", true);
|
|
|
|
|
|
|
|
#if !defined(RELEASE_OR_BETA) || defined(MOZ_DEV_EDITION)
|
2015-04-06 21:06:46 +03:00
|
|
|
// At the moment, autostart.2 is used, while autostart.1 is unused.
|
|
|
|
// We leave it here set to false to reset users' defaults and allow
|
|
|
|
// us to change everybody to true in the future, when desired.
|
|
|
|
pref("browser.tabs.remote.autostart.1", false);
|
|
|
|
pref("browser.tabs.remote.autostart.2", true);
|
2014-11-06 22:58:40 +03:00
|
|
|
#endif
|
|
|
|
|
2015-10-01 00:50:48 +03:00
|
|
|
// For the about:tabcrashed page
|
|
|
|
pref("browser.tabs.crashReporting.sendReport", true);
|
|
|
|
pref("browser.tabs.crashReporting.includeURL", false);
|
2016-11-11 06:13:09 +03:00
|
|
|
pref("browser.tabs.crashReporting.requestEmail", false);
|
2015-10-01 00:50:48 +03:00
|
|
|
pref("browser.tabs.crashReporting.emailMe", false);
|
|
|
|
pref("browser.tabs.crashReporting.email", "");
|
|
|
|
|
2014-11-22 01:01:23 +03:00
|
|
|
// Enable e10s add-on interposition by default.
|
|
|
|
pref("extensions.interposition.enabled", true);
|
2015-01-06 00:49:44 +03:00
|
|
|
pref("extensions.interposition.prefetching", true);
|
2014-11-22 01:01:23 +03:00
|
|
|
|
2017-04-25 00:15:51 +03:00
|
|
|
// But don't allow non-MPC extensions by default on Nightly
|
|
|
|
#if defined(NIGHTLY_BUILD)
|
|
|
|
pref("extensions.allow-non-mpc-extensions", false);
|
|
|
|
#endif
|
|
|
|
|
2017-03-30 19:44:27 +03:00
|
|
|
// Enable blocking of e10s and e10s-multi for add-on users on beta/release.
|
2016-10-08 12:14:49 +03:00
|
|
|
#ifdef RELEASE_OR_BETA
|
2016-02-24 04:21:38 +03:00
|
|
|
pref("extensions.e10sBlocksEnabling", true);
|
2017-03-30 19:44:27 +03:00
|
|
|
pref("extensions.e10sMultiBlocksEnabling", true);
|
2016-02-24 04:21:38 +03:00
|
|
|
#endif
|
|
|
|
|
2015-01-17 05:34:47 +03:00
|
|
|
// How often to check for CPOW timeouts. CPOWs are only timed out by
|
|
|
|
// the hang monitor.
|
|
|
|
pref("dom.ipc.cpow.timeout", 500);
|
|
|
|
|
2016-01-21 01:09:41 +03:00
|
|
|
// Causes access on unsafe CPOWs from browser code to throw by default.
|
|
|
|
pref("dom.ipc.cpows.forbid-unsafe-from-browser", true);
|
|
|
|
|
2016-09-19 22:02:21 +03:00
|
|
|
// Don't allow add-ons marked as multiprocessCompatible to use CPOWs.
|
|
|
|
pref("dom.ipc.cpows.forbid-cpows-in-compat-addons", true);
|
|
|
|
|
|
|
|
// ...except for these add-ons:
|
2017-04-12 23:30:15 +03:00
|
|
|
pref("dom.ipc.cpows.allow-cpows-in-compat-addons", "{b9db16a4-6edc-47ec-a1f4-b86292ed211d},firegestures@xuldev.org,{DDC359D1-844A-42a7-9AA1-88A850A938A8},privateTab@infocatcher,mousegesturessuite@lemon_juice.addons.mozilla.org,treestyletab@piro.sakura.ne.jp,cliqz@cliqz.com,{AE93811A-5C9A-4d34-8462-F7B864FC4696},contextsearch2@lwz.addons.mozilla.org,{EF522540-89F5-46b9-B6FE-1829E2B572C6},{677a8f98-fd64-40b0-a883-b8c95d0cbf17},images@wink.su,fx-devtools,url_advisor@kaspersky.com,{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d},{dc572301-7619-498c-a57d-39143191b318},dta@downthemall.net,{86095750-AD15-46d8-BF32-C0789F7E6A32},screenwise-prod@google.com,{91aa5abe-9de4-4347-b7b5-322c38dd9271},secureLogin@blueimp.net,ich@maltegoetz.de,come.back.block.image.from@cat-in-136.blogspot.com,{7b1bf0b6-a1b9-42b0-b75d-252036438bdc},s3crypto@data,{1e0fd655-5aea-4b4c-a583-f76ef1e3af9c},akahuku.fx.sp@toshiakisp.github.io,{aff87fa2-a58e-4edd-b852-0a20203c1e17},{1018e4d6-728f-4b20-ad56-37578a4de76b},rehostimage@engy.us,lazarus@interclue.com,{b2e69492-2358-071a-7056-24ad0c3defb1},flashstopper@byo.co.il,{e4a8a97b-f2ed-450b-b12d-ee082ba24781},jid1-f3mYMbCpz2AZYl@jetpack,{8c550e28-88c9-4764-bb52-aa489cf2efcd},{37fa1426-b82d-11db-8314-0800200c9a66},{ac2cfa60-bc96-11e0-962b-0800200c9a66},igetter@presenta.net,killspinners@byo.co.il,abhere2@moztw.org,{fc6339b8-9581-4fc7-b824-dffcb091fcb7},wampi@wink.su,backtrack@byalexv.co.uk,Gladiator_X@mail.ru,{73a6fe31-595d-460b-a920-fcc0f8843232},{46551EC9-40F0-4e47-8E18-8E5CF550CFB8},acewebextension_unlisted@acestream.org,@screen_maker,yasearch@yandex.ru,sp@avast.com,s3google@translator,igetterextension@presenta.net,{C1A2A613-35F1-4FCF-B27F-2840527B6556},screenwise-testing@google.com,helper-sig@savefrom.net,ImageSaver@Merci.chao,proxtube@abz.agency,wrc@avast.com,{9AA46F4F-4DC7-4c06-97AF-5035170634FE},jid1-CikLKKPVkw6ipw@jetpack,artur.dubovoy@gmail.com,nlgfeb@nlgfeb.ext,{A065A84F-95B6-433A-A0C8-4C040B77CE8A},fdm_ffext@freedownloadmanager.org");
|
2016-09-19 22:02:21 +03:00
|
|
|
|
2015-01-17 05:34:47 +03:00
|
|
|
// Enable e10s hang monitoring (slow script checking and plugin hang
|
|
|
|
// detection).
|
|
|
|
pref("dom.ipc.processHangMonitor", true);
|
2015-01-23 02:53:49 +03:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
// Don't report hangs in DEBUG builds. They're too slow and often a
|
|
|
|
// debugger is attached.
|
|
|
|
pref("dom.ipc.reportProcessHangs", false);
|
|
|
|
#else
|
2015-01-17 05:34:47 +03:00
|
|
|
pref("dom.ipc.reportProcessHangs", true);
|
2015-01-23 02:53:49 +03:00
|
|
|
#endif
|
2015-01-13 03:13:51 +03:00
|
|
|
|
2015-04-16 18:24:08 +03:00
|
|
|
// Don't limit how many nodes we care about on desktop:
|
|
|
|
pref("reader.parse-node-limit", 0);
|
2015-04-17 23:11:58 +03:00
|
|
|
|
2015-07-17 15:30:42 +03:00
|
|
|
// On desktop, we want the URLs to be included here for ease of debugging,
|
|
|
|
// and because (normally) these errors are not persisted anywhere.
|
|
|
|
pref("reader.errors.includeURLs", true);
|
|
|
|
|
2015-05-24 02:17:50 +03:00
|
|
|
pref("view_source.tab", true);
|
2015-06-05 22:25:49 +03:00
|
|
|
|
|
|
|
pref("dom.serviceWorkers.enabled", true);
|
2015-11-26 02:19:48 +03:00
|
|
|
pref("dom.serviceWorkers.openWindow.enabled", true);
|
2015-08-13 18:55:03 +03:00
|
|
|
|
2015-07-15 23:12:44 +03:00
|
|
|
// Enable Push API.
|
|
|
|
pref("dom.push.enabled", true);
|
2015-09-25 21:27:16 +03:00
|
|
|
|
|
|
|
// These are the thumbnail width/height set in about:newtab.
|
|
|
|
// If you change this, ENSURE IT IS THE SAME SIZE SET
|
|
|
|
// by about:newtab. These values are in CSS pixels.
|
|
|
|
pref("toolkit.pageThumbs.minWidth", 280);
|
|
|
|
pref("toolkit.pageThumbs.minHeight", 190);
|
2015-11-07 00:12:57 +03:00
|
|
|
|
2016-06-02 20:30:46 +03:00
|
|
|
// Enable speech synthesis
|
2015-11-07 00:12:57 +03:00
|
|
|
pref("media.webspeech.synth.enabled", true);
|
2015-12-01 23:24:54 +03:00
|
|
|
|
|
|
|
pref("browser.esedbreader.loglevel", "Error");
|
2016-01-19 18:47:19 +03:00
|
|
|
|
|
|
|
pref("browser.laterrun.enabled", false);
|
2016-02-04 02:05:04 +03:00
|
|
|
|
2017-05-03 13:00:20 +03:00
|
|
|
pref("dom.ipc.processPrelaunch.enabled", true);
|
|
|
|
|
2017-02-28 13:35:46 +03:00
|
|
|
#ifdef EARLY_BETA_OR_EARLIER
|
|
|
|
pref("browser.migrate.automigrate.enabled", true);
|
|
|
|
#else
|
2016-07-26 14:48:37 +03:00
|
|
|
pref("browser.migrate.automigrate.enabled", false);
|
2017-02-28 13:35:46 +03:00
|
|
|
#endif
|
2016-07-26 15:14:44 +03:00
|
|
|
// 4 here means the suggestion notification will be automatically
|
|
|
|
// hidden the 4th day, so it will actually be shown on 3 different days.
|
|
|
|
pref("browser.migrate.automigrate.daysToOfferUndo", 4);
|
2016-08-23 21:30:32 +03:00
|
|
|
pref("browser.migrate.automigrate.ui.enabled", true);
|
2017-05-24 11:56:00 +03:00
|
|
|
pref("browser.migrate.automigrate.inpage.ui.enabled", false);
|
2016-06-01 21:00:53 +03:00
|
|
|
|
2017-02-20 23:17:44 +03:00
|
|
|
// See comments in bug 1340115 on how we got to these numbers.
|
|
|
|
pref("browser.migrate.chrome.history.limit", 2000);
|
|
|
|
pref("browser.migrate.chrome.history.maxAgeInDays", 180);
|
2017-02-15 20:42:15 +03:00
|
|
|
|
2016-02-04 02:05:04 +03:00
|
|
|
// Enable browser frames for use on desktop. Only exposed to chrome callers.
|
|
|
|
pref("dom.mozBrowserFramesEnabled", true);
|
2016-03-22 22:43:38 +03:00
|
|
|
|
|
|
|
pref("extensions.pocket.enabled", true);
|
2016-06-24 17:32:16 +03:00
|
|
|
|
|
|
|
pref("signon.schemeUpgrades", true);
|
2016-07-08 20:35:30 +03:00
|
|
|
|
2016-10-14 00:41:44 +03:00
|
|
|
// "Simplify Page" feature in Print Preview. This feature is disabled by default
|
|
|
|
// in toolkit.
|
|
|
|
//
|
|
|
|
// This feature is only enabled on Nightly for Linux until bug 1306295 is fixed.
|
|
|
|
#ifdef UNIX_BUT_NOT_MAC
|
|
|
|
#if defined(NIGHTLY_BUILD)
|
2016-10-21 16:58:52 +03:00
|
|
|
pref("print.use_simplify_page", true);
|
2016-10-14 00:41:44 +03:00
|
|
|
#endif
|
|
|
|
#else
|
2016-10-21 16:58:52 +03:00
|
|
|
pref("print.use_simplify_page", true);
|
2016-10-14 00:41:44 +03:00
|
|
|
#endif
|
2016-07-08 20:35:30 +03:00
|
|
|
|
2016-07-13 02:34:41 +03:00
|
|
|
// Space separated list of URLS that are allowed to send objects (instead of
|
2016-07-19 21:52:06 +03:00
|
|
|
// only strings) through webchannels. This list is duplicated in mobile/android/app/mobile.js
|
2016-07-26 23:37:55 +03:00
|
|
|
pref("webchannel.allowObject.urlWhitelist", "https://accounts.firefox.com https://content.cdn.mozilla.net https://input.mozilla.org https://support.mozilla.org https://install.mozilla.org");
|
2016-09-02 20:16:28 +03:00
|
|
|
|
|
|
|
// Whether or not the browser should scan for unsubmitted
|
|
|
|
// crash reports, and then show a notification for submitting
|
|
|
|
// those reports.
|
2016-10-25 20:57:44 +03:00
|
|
|
#ifdef EARLY_BETA_OR_EARLIER
|
2016-09-02 20:16:28 +03:00
|
|
|
pref("browser.crashReports.unsubmittedCheck.enabled", true);
|
2016-10-25 20:57:44 +03:00
|
|
|
#else
|
|
|
|
pref("browser.crashReports.unsubmittedCheck.enabled", false);
|
2016-09-02 20:16:28 +03:00
|
|
|
#endif
|
2016-09-07 23:50:11 +03:00
|
|
|
|
2016-09-13 21:35:08 +03:00
|
|
|
// chancesUntilSuppress is how many times we'll show the unsubmitted
|
|
|
|
// crash report notification across different days and shutdown
|
|
|
|
// without a user choice before we suppress the notification for
|
|
|
|
// some number of days.
|
|
|
|
pref("browser.crashReports.unsubmittedCheck.chancesUntilSuppress", 4);
|
2016-09-15 21:56:58 +03:00
|
|
|
pref("browser.crashReports.unsubmittedCheck.autoSubmit", false);
|
2016-09-12 21:59:25 +03:00
|
|
|
|
2016-12-16 09:26:46 +03:00
|
|
|
// Preferences for the form autofill system extension
|
2017-05-11 01:04:53 +03:00
|
|
|
#ifdef NIGHTLY_BUILD
|
2017-05-12 09:34:00 +03:00
|
|
|
pref("extensions.formautofill.experimental", true);
|
2017-05-11 01:04:53 +03:00
|
|
|
#else
|
2017-05-12 09:34:00 +03:00
|
|
|
pref("extensions.formautofill.experimental", false);
|
2017-05-11 01:04:53 +03:00
|
|
|
#endif
|
2017-05-12 09:34:30 +03:00
|
|
|
pref("extensions.formautofill.addresses.enabled", true);
|
2017-06-12 07:31:07 +03:00
|
|
|
pref("extensions.formautofill.firstTimeUse", true);
|
2017-06-07 12:21:37 +03:00
|
|
|
pref("extensions.formautofill.heuristics.enabled", true);
|
2017-05-12 09:34:00 +03:00
|
|
|
pref("extensions.formautofill.loglevel", "Warn");
|
2016-11-20 10:10:19 +03:00
|
|
|
|
2017-04-20 12:01:09 +03:00
|
|
|
// Whether or not to restore a session with lazy-browser tabs.
|
|
|
|
pref("browser.sessionstore.restore_tabs_lazily", true);
|
|
|
|
|
2016-11-20 10:10:19 +03:00
|
|
|
// Enable safebrowsing v4 tables (suffixed by "-proto") update.
|
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
pref("urlclassifier.malwareTable", "goog-malware-shavar,goog-unwanted-shavar,goog-malware-proto,goog-unwanted-proto,test-malware-simple,test-unwanted-simple");
|
|
|
|
pref("urlclassifier.phishTable", "goog-phish-shavar,goog-phish-proto,test-phish-simple");
|
2017-01-18 17:09:09 +03:00
|
|
|
#endif
|
2017-05-04 19:42:27 +03:00
|
|
|
|
|
|
|
pref("browser.suppress_first_window_animation", true);
|
2017-05-22 12:00:16 +03:00
|
|
|
|
|
|
|
// Preferences for Photon onboarding system extension
|
2017-06-01 11:19:24 +03:00
|
|
|
pref("browser.onboarding.enabled", true);
|
2017-06-10 11:14:08 +03:00
|
|
|
pref("browser.onboarding.hidden", false);
|
|
|
|
// On the Activity-Stream page, the snippet's position overlaps with our notification.
|
|
|
|
// So use `browser.onboarding.notification.finished` to let the AS page know
|
|
|
|
// if our notification is finished and safe to show their snippet.
|
|
|
|
pref("browser.onboarding.notification.finished", false);
|
2017-06-02 21:33:58 +03:00
|
|
|
|
|
|
|
// Preferences for the Screenshots feature:
|
|
|
|
// Temporarily disable Screenshots in Beta & Release, so that we can gradually
|
|
|
|
// roll out the feature using SHIELD pref flipping.
|
|
|
|
#ifdef NIGHTLY_BUILD
|
|
|
|
pref("extensions.screenshots.system-disabled", false);
|
|
|
|
#else
|
|
|
|
pref("extensions.screenshots.system-disabled", true);
|
|
|
|
#endif
|
|
|
|
// Permanent pref that allows individual users to disable Screenshots.
|
|
|
|
pref("extensions.screenshots.disabled", false);
|