1 #filter dumbComments emptyLines substitution
3 // -*- indent-tabs-mode: nil; js-indent-level: 2 -*-
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 // Non-static prefs that are specific to desktop Firefox belong in this file
9 // (unless there is a compelling and documented reason for them to belong in
12 // Please indent all prefs defined within #ifdef/#ifndef conditions. This
13 // improves readability, particular for conditional blocks that exceed a single
18 #define UNIX_BUT_NOT_MAC
22 pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindowMac.xhtml");
24 // Set add-ons abuse report related prefs specific to Firefox Desktop.
25 pref("extensions.abuseReport.enabled", true);
26 pref("extensions.abuseReport.amWebAPI.enabled", true);
27 pref("extensions.abuseReport.amoFormEnabled", true);
29 // Enables some extra Extension System Logging (can reduce performance)
30 pref("extensions.logging.enabled", false);
32 // Disables strict compatibility, making addons compatible-by-default.
33 pref("extensions.strictCompatibility", false);
35 pref("extensions.webextOptionalPermissionPrompts", true);
36 // If enabled, install origin permission verification happens after addons are downloaded.
37 pref("extensions.postDownloadThirdPartyPrompt", true);
39 // Preferences for AMO integration
40 pref("extensions.getAddons.cache.enabled", true);
41 pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/api/v4/addons/search/?guid=%IDS%&lang=%LOCALE%");
42 pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
43 pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/firefox/");
44 pref("extensions.getAddons.langpacks.url", "https://services.addons.mozilla.org/api/v4/addons/language-tools/?app=firefox&type=language&appversion=%VERSION%");
45 pref("extensions.getAddons.discovery.api_url", "https://services.addons.mozilla.org/api/v4/discovery/?lang=%LOCALE%&edition=%DISTRIBUTION%");
46 pref("extensions.getAddons.browserMappings.url", "https://services.addons.mozilla.org/api/v5/addons/browser-mappings/?browser=%BROWSER%");
48 // The URL for the privacy policy related to recommended extensions.
49 pref("extensions.recommendations.privacyPolicyUrl", "https://www.mozilla.org/privacy/firefox/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_content=privacy-policy-link#addons");
50 // The URL for Firefox Color, recommended on the theme page in about:addons.
51 pref("extensions.recommendations.themeRecommendationUrl", "https://color.firefox.com/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_content=theme-footer-link");
53 pref("extensions.update.autoUpdateDefault", true);
55 // Check AUS for system add-on updates.
56 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");
57 pref("extensions.systemAddon.update.enabled", true);
59 // Disable add-ons that are not installed by the user in all scopes by default.
60 // See the SCOPE constants in AddonManager.sys.mjs for values to use here.
61 pref("extensions.autoDisableScopes", 15);
62 // Scopes to scan for changes at startup.
63 pref("extensions.startupScanScopes", 0);
65 pref("extensions.geckoProfiler.acceptedExtensionIds", "geckoprofiler@mozilla.com,quantum-foxfooding@mozilla.com,raptor@mozilla.org");
68 pref("extensions.webextensions.remote", true);
70 // Require signed add-ons by default
71 pref("extensions.langpacks.signatures.required", true);
72 pref("xpinstall.signatures.required", true);
74 // Dictionary download preference
75 pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/language-tools/");
77 // At startup, should we check to see if the installation
78 // date is older than some threshold
79 pref("app.update.checkInstallTime", true);
81 // The number of days a binary is permitted to be old without checking is defined in
82 // firefox-branding.js (app.update.checkInstallTime.days)
84 // The minimum delay in seconds for the timer to fire between the notification
85 // of each consumer of the timer manager.
86 // minimum=30 seconds, default=120 seconds, and maximum=300 seconds
87 pref("app.update.timerMinimumDelay", 120);
89 // The minimum delay in milliseconds for the first firing after startup of the timer
90 // to notify consumers of the timer manager.
91 // minimum=10 seconds, default=30 seconds, and maximum=120 seconds
92 pref("app.update.timerFirstInterval", 30000);
94 // App-specific update preferences
96 // The interval to check for updates (app.update.interval) is defined in
97 // firefox-branding.js
99 // Enables some extra Application Update Logging (can reduce performance)
100 pref("app.update.log", false);
101 // Causes Application Update Logging to be sent to a file in the profile
102 // directory. This preference is automatically disabled on application start to
103 // prevent it from being left on accidentally. Turning this pref on enables
104 // logging, even if app.update.log is false.
105 pref("app.update.log.file", false);
107 // The number of general background check failures to allow before notifying the
108 // user of the failure. User initiated update checks always notify the user of
110 pref("app.update.backgroundMaxErrors", 10);
112 // How many times we should let downloads fail before prompting the user to
113 // download a fresh installer.
114 pref("app.update.download.maxAttempts", 2);
116 // How many times we should let an elevation prompt fail before prompting the user to
117 // download a fresh installer.
118 pref("app.update.elevate.maxAttempts", 2);
121 // Whether to delay popup notifications when an update is available and
122 // suppress them when an update is installed and waiting for user to restart.
123 // If set to true, these notifications will immediately be shown as banners in
124 // the app menu and as badges on the app menu button. Update available
125 // notifications will not create popup prompts until a week has passed without
126 // the user installing the update. Update restart notifications will not
127 // create popup prompts at all. This doesn't affect update notifications
128 // triggered by errors/failures or manual install prompts.
129 pref("app.update.suppressPrompts", false);
132 // If set to true, a message will be displayed in the hamburger menu while
133 // an update is being downloaded.
134 pref("app.update.notifyDuringDownload", false);
136 // If set to true, the Update Service will automatically download updates if the
137 // user can apply updates. This pref is no longer used on Windows, except as the
138 // default value to migrate to the new location that this data is now stored
139 // (which is in a file in the update directory). Because of this, this pref
140 // should no longer be used directly. Instead, getAppUpdateAutoEnabled and
141 // getAppUpdateAutoEnabled from UpdateUtils.sys.mjs should be used.
143 pref("app.update.auto", true);
146 // If set to true, the Update Service will apply updates in the background
147 // when it finishes downloading them.
148 pref("app.update.staging.enabled", true);
150 // Update service URL:
151 // app.update.url was removed in Bug 1568994
152 // app.update.url.manual is in branding section
153 // app.update.url.details is in branding section
155 // app.update.badgeWaitTime is in branding section
156 // app.update.interval is in branding section
157 // app.update.promptWaitTime is in branding section
159 // Whether or not to attempt using the service for updates.
160 #ifdef MOZ_MAINTENANCE_SERVICE
161 pref("app.update.service.enabled", true);
164 #ifdef MOZ_BITS_DOWNLOAD
165 // If set to true, the Update Service will attempt to use Windows BITS to
166 // download updates and will fallback to downloading internally if that fails.
167 pref("app.update.BITS.enabled", true);
170 pref("app.update.langpack.enabled", true);
172 #if defined(MOZ_UPDATE_AGENT)
173 pref("app.update.background.loglevel", "error");
174 pref("app.update.background.timeoutSec", 600);
175 // By default, check for updates when the browser is not running every 7 hours.
176 pref("app.update.background.interval", 25200);
177 // By default, snapshot Firefox Messaging System targeting for use by the
178 // background update task every 60 minutes.
179 pref("app.update.background.messaging.targeting.snapshot.intervalSec", 3600);
180 // For historical reasons, the background update process requires the Mozilla
181 // Maintenance Service to be available and enabled via the service registry
182 // key. When this value is `true`, allow the background update process to
183 // update unelevated installations (that are writeable, etc).
185 // N.b. This feature impacts the `applications: firefox_desktop` Nimbus
186 // application ID (and not the `firefox_desktop_background_task` application
187 // ID). However, the pref will be automatically mirrored to the background
188 // update task profile. This means that experiments and enrollment impact the
189 // Firefox Desktop browsing profile that _schedules_ the background update
190 // task, and then the background update task collects telemetry in accordance
191 // with the mirrored pref.
192 pref("app.update.background.allowUpdatesForUnelevatedInstallations", false);
196 // If set to true, Firefox will automatically restart if it is left running
197 // with no browser windows open.
198 pref("app.update.noWindowAutoRestart.enabled", true);
199 // How long to wait after all browser windows are closed before restarting,
200 // in milliseconds. 5 min = 300000 ms
201 pref("app.update.noWindowAutoRestart.delayMs", 300000);
204 #if defined(MOZ_BACKGROUNDTASKS)
205 // The amount of time, in seconds, before background tasks time out and exit.
206 // Tasks can override this default (10 minutes).
207 pref("toolkit.backgroundtasks.defaultTimeoutSec", 600);
210 // Symmetric (can be overridden by individual extensions) update preferences.
212 // extensions.{GUID}.update.enabled
213 // extensions.{GUID}.update.url
216 pref("extensions.update.enabled", true);
217 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%");
218 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%");
219 pref("extensions.update.interval", 86400); // Check for updates to Extensions and
222 pref("lightweightThemes.getMoreURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes");
224 #if defined(MOZ_WIDEVINE_EME)
225 pref("browser.eme.ui.enabled", true);
227 pref("browser.eme.ui.enabled", false);
230 // UI tour experience.
231 pref("browser.uitour.enabled", true);
232 pref("browser.uitour.loglevel", "Error");
233 pref("browser.uitour.requireSecure", true);
234 pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
235 // How long to show a Hearbeat survey (two hours, in seconds)
236 pref("browser.uitour.surveyDuration", 7200);
238 pref("keyword.enabled", true);
240 // Fixup whitelists, the urlbar won't try to search for these words, but will
241 // instead consider them valid TLDs. Don't check these directly, use
242 // Services.uriFixup.isDomainKnown() instead.
243 pref("browser.fixup.domainwhitelist.localhost", true);
244 // https://tools.ietf.org/html/rfc2606
245 pref("browser.fixup.domainsuffixwhitelist.test", true);
246 pref("browser.fixup.domainsuffixwhitelist.example", true);
247 pref("browser.fixup.domainsuffixwhitelist.invalid", true);
248 pref("browser.fixup.domainsuffixwhitelist.localhost", true);
249 // https://tools.ietf.org/html/draft-wkumari-dnsop-internal-00
250 pref("browser.fixup.domainsuffixwhitelist.internal", true);
251 // https://tools.ietf.org/html/rfc6762
252 pref("browser.fixup.domainsuffixwhitelist.local", true);
254 // Whether to always go through the DNS server before sending a single word
255 // search string, that may contain a valid host, to a search engine.
256 pref("browser.fixup.dns_first_for_single_words", false);
258 #ifdef UNIX_BUT_NOT_MAC
259 pref("general.autoScroll", false);
261 pref("general.autoScroll", true);
264 // UI density of the browser chrome. This mostly affects toolbarbutton
265 // and urlbar spacing. The possible values are 0=normal, 1=compact, 2=touch.
266 pref("browser.uidensity", 0);
267 // Whether Firefox will automatically override the uidensity to "touch"
268 // while the user is in a touch environment (such as Windows tablet mode).
269 pref("browser.touchmode.auto", true);
270 // Whether Firefox will show the Compact Mode UIDensity option.
271 pref("browser.compactmode.show", false);
273 // At startup, check if we're the default browser and prompt user if not.
274 pref("browser.shell.checkDefaultBrowser", true);
275 pref("browser.shell.shortcutFavicons",true);
276 pref("browser.shell.mostRecentDateSetAsDefault", "");
277 pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true);
278 pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", false);
279 pref("browser.shell.defaultBrowserCheckCount", 0);
281 // Attempt to set the default browser on Windows 10 using the UserChoice registry keys,
282 // before falling back to launching the modern Settings dialog.
283 pref("browser.shell.setDefaultBrowserUserChoice", true);
284 // When setting the default browser on Windows 10 using the UserChoice
285 // registry keys, also try to set Firefox as the default PDF handler.
286 pref("browser.shell.setDefaultPDFHandler", true);
287 // When setting Firefox as the default PDF handler (subject to conditions
288 // above), only set Firefox as the default PDF handler when the existing handler
289 // is a known browser, and not when existing handler is another PDF handler such
290 // as Acrobat Reader or Nitro PDF.
291 pref("browser.shell.setDefaultPDFHandler.onlyReplaceBrowsers", true);
292 // Whether or not to we are allowed to prompt the user to set Firefox as their
293 // default PDF handler.
294 pref("browser.shell.checkDefaultPDF", true);
295 // Will be set to `true` if the user indicates that they don't want to be asked
296 // again about Firefox being their default PDF handler any more.
297 pref("browser.shell.checkDefaultPDF.silencedByUser", false);
301 // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
302 // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
303 pref("browser.startup.page", 1);
304 pref("browser.startup.homepage", "about:home");
305 pref("browser.startup.homepage.abouthome_cache.enabled", true);
306 pref("browser.startup.homepage.abouthome_cache.loglevel", "Warn");
308 // Whether we should skip the homepage when opening the first-run page
309 pref("browser.startup.firstrunSkipsHomepage", true);
311 // Whether we should show the session-restore infobar on startup
312 pref("browser.startup.couldRestoreSession.count", 0);
314 // Show an about:blank window as early as possible for quick startup feedback.
315 // Held to nightly on Linux due to bug 1450626.
316 // Disabled on Mac because the bouncing dock icon already provides feedback.
317 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK) && defined(NIGHTLY_BUILD)
318 pref("browser.startup.blankWindow", true);
320 pref("browser.startup.blankWindow", false);
323 // Show a skeleton UI window prior to loading libxul. Only visible for windows
324 // users as it is not implemented anywhere else.
326 pref("browser.startup.preXulSkeletonUI", true);
328 // Whether the checkbox to enable Windows launch on login is shown
329 pref("browser.startup.windowsLaunchOnLogin.enabled", false);
330 // Whether to show the launch on login infobar notification
331 pref("browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt", false);
334 // Show an upgrade dialog on major upgrades.
335 pref("browser.startup.upgradeDialog.enabled", false);
337 pref("browser.chrome.site_icons", true);
338 // browser.warnOnQuit == false will override all other possible prompts when quitting or restarting
339 pref("browser.warnOnQuit", true);
341 // Whether to warn when quitting when using the shortcut key.
343 pref("browser.warnOnQuitShortcut", false);
345 pref("browser.warnOnQuitShortcut", true);
348 // TODO bug 1702563: Renable fullscreen autohide by default on macOS.
350 pref("browser.fullscreen.autohide", false);
352 pref("browser.fullscreen.autohide", true);
355 pref("browser.overlink-delay", 80);
357 pref("browser.theme.colorway-closet", true);
359 // Whether expired built-in colorways themes that are active or retained
360 // should be allowed to check for updates and be updated to an AMO hosted
361 // theme with the same id (as part of preparing to remove from mozilla-central
362 // all the expired built-in colorways themes, after existing users have been
363 // migrated to colorways themes hosted on AMO).
364 pref("browser.theme.colorway-migration", true);
366 // Whether using `ctrl` when hitting return/enter in the URL bar
367 // (or clicking 'go') should prefix 'www.' and suffix
368 // browser.fixup.alternate.suffix to the URL bar value prior to
370 pref("browser.urlbar.ctrlCanonizesURLs", true);
372 // Whether we announce to screen readers when tab-to-search results are
374 pref("browser.urlbar.accessibility.tabToSearch.announceResults", true);
376 // Control autoFill behavior
377 pref("browser.urlbar.autoFill", true);
379 // Whether enabling adaptive history autofill.
380 pref("browser.urlbar.autoFill.adaptiveHistory.enabled", false);
382 // Minimum char length of the user's search string to enable adaptive history
384 pref("browser.urlbar.autoFill.adaptiveHistory.minCharsThreshold", 0);
386 // Whether to warm up network connections for autofill or search results.
387 pref("browser.urlbar.speculativeConnect.enabled", true);
389 // Whether bookmarklets should be filtered out of Address Bar matches.
390 // This is enabled for security reasons, when true it is still possible to
391 // search for bookmarklets typing "javascript: " followed by the actual query.
392 pref("browser.urlbar.filter.javascript", true);
394 // Enable a certain level of urlbar logging to the Browser Console. See Log.jsm.
395 pref("browser.urlbar.loglevel", "Error");
397 // the maximum number of results to show in autocomplete when doing richResults
398 pref("browser.urlbar.maxRichResults", 10);
400 // The maximum number of historical search results to show.
401 pref("browser.urlbar.maxHistoricalSearchSuggestions", 2);
403 // The default behavior for the urlbar can be configured to use any combination
404 // of the match filters with each additional filter adding more results (union).
405 pref("browser.urlbar.suggest.bookmark", true);
406 pref("browser.urlbar.suggest.clipboard", true);
407 pref("browser.urlbar.suggest.history", true);
408 pref("browser.urlbar.suggest.openpage", true);
409 pref("browser.urlbar.suggest.remotetab", true);
410 pref("browser.urlbar.suggest.searches", true);
411 pref("browser.urlbar.suggest.topsites", true);
412 pref("browser.urlbar.suggest.engines", true);
413 pref("browser.urlbar.suggest.calculator", false);
414 pref("browser.urlbar.suggest.recentsearches", true);
416 #if defined(EARLY_BETA_OR_EARLIER)
417 // Enable QuickActions and its urlbar search mode button.
418 pref("browser.urlbar.quickactions.enabled", true);
419 pref("browser.urlbar.suggest.quickactions", true);
420 pref("browser.urlbar.shortcuts.quickactions", true);
421 pref("browser.urlbar.quickactions.showPrefs", true);
424 #if defined(EARLY_BETA_OR_EARLIER)
425 // Enable Trending suggestions.
426 pref("browser.urlbar.trending.featureGate", true);
429 // Enable Rich Entities.
430 pref("browser.urlbar.richSuggestions.featureGate", true);
431 pref("browser.search.param.search_rich_suggestions", "fen");
433 // Feature gate pref for weather suggestions in the urlbar.
434 pref("browser.urlbar.weather.featureGate", false);
436 // Enable clipboard suggestions feature, the pref should be removed once stable.
437 pref("browser.urlbar.clipboard.featureGate", true);
439 // When false, the weather suggestion will not be fetched when a VPN is
440 // detected. When true, it will be fetched anyway.
441 pref("browser.urlbar.weather.ignoreVPN", false);
443 // The minimum prefix length of a weather keyword the user must type to trigger
444 // the suggestion. 0 means the min length should be taken from Nimbus or remote
446 pref("browser.urlbar.weather.minKeywordLength", 0);
448 // If `browser.urlbar.weather.featureGate` is true, this controls whether
449 // weather suggestions are turned on.
450 pref("browser.urlbar.suggest.weather", true);
452 // If `browser.urlbar.trending.featureGate` is true, this controls whether
453 // trending suggestions are turned on.
454 pref("browser.urlbar.suggest.trending", true);
456 // Whether non-sponsored quick suggest results are shown in the urlbar. This
457 // pref is exposed to the user in the UI, and it's sticky so that its
458 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
459 // with their various default-branch values, the user is enrolled in over time.
460 pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false, sticky);
462 // Whether sponsored quick suggest results are shown in the urlbar. This pref is
463 // exposed to the user in the UI, and it's sticky so that its user-branch value
464 // persists regardless of whatever Firefox Suggest scenarios, with their various
465 // default-branch values, the user is enrolled in over time.
466 pref("browser.urlbar.suggest.quicksuggest.sponsored", false, sticky);
468 // Whether data collection is enabled for quick suggest results in the urlbar.
469 // This pref is exposed to the user in the UI, and it's sticky so that its
470 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
471 // with their various default-branch values, the user is enrolled in over time.
472 pref("browser.urlbar.quicksuggest.dataCollection.enabled", false, sticky);
474 // Whether the Firefox Suggest contextual opt-in result is enabled. If true,
475 // this implicitly disables shouldShowOnboardingDialog.
476 pref("browser.urlbar.quicksuggest.contextualOptIn", false);
478 // Controls which variant of the copy is used for the Firefox Suggest
479 // contextual opt-in result.
480 pref("browser.urlbar.quicksuggest.contextualOptIn.sayHello", false);
482 // Controls whether the Firefox Suggest contextual opt-in result appears at
483 // the top of results or at the bottom, after one-off buttons.
484 pref("browser.urlbar.quicksuggest.contextualOptIn.topPosition", true);
486 // Whether the quick suggest feature in the urlbar is enabled.
487 pref("browser.urlbar.quicksuggest.enabled", false);
489 // Whether Firefox Suggest will use the new Rust backend instead of the original
491 pref("browser.urlbar.quicksuggest.rustEnabled", true);
493 // Whether to show the QuickSuggest onboarding dialog.
494 pref("browser.urlbar.quicksuggest.shouldShowOnboardingDialog", true);
496 // Show QuickSuggest onboarding dialog on the nth browser restarts.
497 pref("browser.urlbar.quicksuggest.showOnboardingDialogAfterNRestarts", 0);
499 // The indexes of the sponsored and non-sponsored quick suggest results within
500 // the general results group.
501 pref("browser.urlbar.quicksuggest.sponsoredIndex", -1);
502 pref("browser.urlbar.quicksuggest.nonSponsoredIndex", -1);
504 // Whether quick suggest results can be shown in position specified in the
506 pref("browser.urlbar.quicksuggest.allowPositionInSuggestions", true);
508 // Whether non-sponsored quick suggest results are subject to impression
510 pref("browser.urlbar.quicksuggest.impressionCaps.nonSponsoredEnabled", false);
512 // Whether sponsored quick suggest results are subject to impression frequency
514 pref("browser.urlbar.quicksuggest.impressionCaps.sponsoredEnabled", false);
516 // Whether unit conversion is enabled.
518 pref("browser.urlbar.unitConversion.enabled", true);
520 pref("browser.urlbar.unitConversion.enabled", false);
523 // Whether to show search suggestions before general results like history and
525 pref("browser.urlbar.showSearchSuggestionsFirst", true);
527 // As a user privacy measure, don't fetch search suggestions if a pasted string
528 // is longer than this.
529 pref("browser.urlbar.maxCharsForSearchSuggestions", 100);
531 pref("browser.urlbar.trimURLs", true);
534 pref("browser.urlbar.trimHttps", true);
536 pref("browser.urlbar.trimHttps", false);
539 // If changed to true, copying the entire URL from the location bar will put the
540 // human readable (percent-decoded) URL on the clipboard.
541 pref("browser.urlbar.decodeURLsOnCopy", false);
543 // Whether or not to move tabs into the active window when using the "Switch to
544 // Tab" feature of the awesomebar.
545 pref("browser.urlbar.switchTabs.adoptIntoActiveWindow", false);
547 // Controls whether searching for open tabs returns tabs from any container
548 // or only from the current container.
549 pref("browser.urlbar.switchTabs.searchAllContainers", true);
551 // Whether addresses and search results typed into the address bar
552 // should be opened in new tabs by default.
553 pref("browser.urlbar.openintab", false);
555 // Allow the result menu button to be reached with the Tab key.
556 pref("browser.urlbar.resultMenu.keyboardAccessible", true);
558 // If true, we show tail suggestions when available.
559 pref("browser.urlbar.richSuggestions.tail", true);
561 // If true, top sites may include sponsored ones.
562 pref("browser.urlbar.sponsoredTopSites", false);
564 // Global toggle for whether the show search terms feature
565 // can be used at all, and enabled/disabled by the user.
566 #if defined(EARLY_BETA_OR_EARLIER)
567 pref("browser.urlbar.showSearchTerms.featureGate", true);
569 pref("browser.urlbar.showSearchTerms.featureGate", false);
572 // If true, show the search term in the Urlbar while on
573 // a default search engine results page.
574 pref("browser.urlbar.showSearchTerms.enabled", true);
576 // Controls the empty search behavior in Search Mode:
578 // 1 - Show search history
579 // 2 - Show search and browsing history
580 pref("browser.urlbar.update2.emptySearchBehavior", 0);
582 // Whether the urlbar displays one-offs to filter searches to history,
583 // bookmarks, or tabs.
584 pref("browser.urlbar.shortcuts.bookmarks", true);
585 pref("browser.urlbar.shortcuts.tabs", true);
586 pref("browser.urlbar.shortcuts.history", true);
588 // When we send events to Urlbar extensions, we wait this amount of time in
589 // milliseconds for them to respond before timing out.
590 pref("browser.urlbar.extension.timeout", 400);
592 // Controls when to DNS resolve single word search strings, after they were
593 // searched for. If the string is resolved as a valid host, show a
594 // "Did you mean to go to 'host'" prompt.
595 // 0 - never resolve; 1 - use heuristics (default); 2 - always resolve
596 pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
598 // Whether the results panel should be kept open during IME composition.
599 // The default value is false because some IME open a picker panel, and we end
600 // up with two panels on top of each other. Since for now we can't detect that
601 // we leave this choice to the user, hopefully in the future this can be flipped
603 pref("browser.urlbar.keepPanelOpenDuringImeComposition", false);
605 // Whether Firefox Suggest group labels are shown in the urlbar view.
606 pref("browser.urlbar.groupLabels.enabled", true);
608 // The Merino endpoint URL, not including parameters.
609 pref("browser.urlbar.merino.endpointURL", "https://merino.services.mozilla.com/api/v1/suggest");
611 // Timeout for Merino fetches (ms).
612 pref("browser.urlbar.merino.timeoutMs", 200);
614 // Comma-separated list of providers to request from Merino
615 pref("browser.urlbar.merino.providers", "");
617 // Comma-separated list of client variants to send to Merino
618 pref("browser.urlbar.merino.clientVariants", "");
620 // Enable site specific search result.
621 pref("browser.urlbar.contextualSearch.enabled", false);
623 // Feature gate pref for addon suggestions in the urlbar.
624 pref("browser.urlbar.addons.featureGate", true);
626 // If `browser.urlbar.addons.featureGate` is true, this controls whether
627 // addons suggestions are turned on.
628 pref("browser.urlbar.suggest.addons", true);
630 // If `browser.urlbar.mdn.featureGate` is true, this controls whether
631 // mdn suggestions are turned on.
632 pref("browser.urlbar.suggest.mdn", true);
634 // Feature gate pref for Yelp suggestions in the urlbar.
635 pref("browser.urlbar.yelp.featureGate", false);
637 // The minimum prefix length of yelp query the user must type to trigger
639 pref("browser.urlbar.yelp.minKeywordLength", 5);
641 // Whether Yelp suggestions should be shown as top picks.
642 pref("browser.urlbar.yelp.priority", false);
644 // The group-relative suggestedIndex of Yelp suggestions within the Firefox
645 // Suggest section. Ignored when Yelp suggestions are shown as top picks.
646 pref("browser.urlbar.yelp.suggestedIndex", 0);
648 // If `browser.urlbar.yelp.featureGate` is true, this controls whether
649 // Yelp suggestions are turned on.
650 pref("browser.urlbar.suggest.yelp", true);
652 // The minimum prefix length of addons keyword the user must type to trigger
653 // the suggestion. 0 means the min length should be taken from Nimbus.
654 pref("browser.urlbar.addons.minKeywordLength", 0);
656 // Feature gate pref for Pocket suggestions in the urlbar.
657 pref("browser.urlbar.pocket.featureGate", false);
659 // If `browser.urlbar.pocket.featureGate` is true, this controls whether Pocket
660 // suggestions are turned on.
661 pref("browser.urlbar.suggest.pocket", true);
663 pref("browser.altClickSave", false);
665 // Enable logging downloads operations to the Console.
666 pref("browser.download.loglevel", "Error");
668 // Number of milliseconds to wait for the http headers (and thus
669 // the Content-Disposition filename) before giving up and falling back to
670 // picking a filename without that info in hand so that the user sees some
671 // feedback from their action.
672 pref("browser.download.saveLinkAsFilenameTimeout", 4000);
674 pref("browser.download.useDownloadDir", true);
675 pref("browser.download.folderList", 1);
676 pref("browser.download.manager.addToRecentDocs", true);
677 pref("browser.download.manager.resumeOnWakeDelay", 10000);
679 // This records whether or not the panel has been shown at least once.
680 pref("browser.download.panel.shown", false);
682 // This records whether or not to show the 'Open in system viewer' context menu item when appropriate
683 pref("browser.download.openInSystemViewerContextMenuItem", true);
685 // This records whether or not to show the 'Always open...' context menu item when appropriate
686 pref("browser.download.alwaysOpenInSystemViewerContextMenuItem", true);
688 // Open downloaded file types internally for the given types.
689 // This is a comma-separated list, the empty string ("") means no types are
690 // viewable internally.
691 pref("browser.download.viewableInternally.enabledTypes", "xml,svg,webp,avif,jxl");
694 // This controls whether the button is automatically shown/hidden depending
695 // on whether there are downloads to show.
696 pref("browser.download.autohideButton", true);
698 // Controls whether to open the downloads panel every time a download begins.
699 // The first download ever run in a new profile will still open the panel.
700 pref("browser.download.alwaysOpenPanel", true);
702 // Determines the behavior of the "Delete" item in the downloads context menu.
703 // Valid values are 0, 1, and 2.
704 // 0 - Don't remove the download from session list or history.
705 // 1 - Remove the download from session list, but not history.
706 // 2 - Remove the download from both session list and history.
707 pref("browser.download.clearHistoryOnDelete", 0);
710 pref("browser.helperApps.deleteTempFileOnExit", true);
713 // This controls the visibility of the radio button in the
714 // Unknown Content Type (Helper App) dialog that will open
715 // the content in the browser for PDF and for other
716 // Viewable Internally types
717 // (see browser.download.viewableInternally.enabledTypes)
718 pref("browser.helperApps.showOpenOptionForPdfJS", true);
719 pref("browser.helperApps.showOpenOptionForViewableInternally", true);
721 // Whether search-config-v2 is enabled.
723 pref("browser.search.newSearchConfig.enabled", true);
725 pref("browser.search.newSearchConfig.enabled", false);
728 // search engines URL
729 pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
731 // search bar results always open in a new tab
732 pref("browser.search.openintab", false);
734 // context menu searches open in the foreground
735 pref("browser.search.context.loadInBackground", false);
737 // Mirrors whether the search-container widget is in the navigation toolbar.
738 pref("browser.search.widget.inNavBar", false);
740 // Enables display of the options for the user using a separate default search
741 // engine in private browsing mode.
742 pref("browser.search.separatePrivateDefault.ui.enabled", false);
743 // The maximum amount of times the private default banner is shown.
744 pref("browser.search.separatePrivateDefault.ui.banner.max", 0);
746 // Enables search SERP telemetry (impressions, engagements and abandonment)
747 pref("browser.search.serpEventTelemetry.enabled", true);
749 // Enables search SERP telemetry page categorization.
750 pref("browser.search.serpEventTelemetryCategorization.enabled", false);
752 // Search Bar removal from the toolbar for users who haven’t used it in 120
754 pref("browser.search.widget.removeAfterDaysUnused", 120);
756 // Enable new experimental shopping features. This is solely intended as a
757 // rollout/"emergency stop" button - it will go away once the feature has
758 // rolled out. There will be separate controls for user opt-in/opt-out.
759 pref("browser.shopping.experience2023.enabled", false);
761 // Ternary int-valued pref indicating if the user has opted into the new
762 // experimental shopping feature.
763 // 0 means the user has not opted in or out.
764 // 1 means the user has opted in.
765 // 2 means the user has opted out.
766 pref("browser.shopping.experience2023.optedIn", 0);
768 // Activates the new experimental shopping sidebar.
769 // True by default. This is handled by ShoppingUtils.handleAutoActivateOnProduct
770 // to auto-activate the sidebar for non-opted-in users up to 2 times.
771 pref("browser.shopping.experience2023.active", true);
773 // Enables ad exposure telemetry for users opted in to the shopping experience:
774 // when this pref is true, each time a product is analyzed, we record if an ad
775 // was available for that product. This value will be toggled via a nimbus
776 // experiment, so that we can pause collection if the ads server struggles
778 pref("browser.shopping.experience2023.ads.exposure", false);
780 // Enables the ad / recommended product feature for the shopping sidebar.
781 // If enabled, users can disable the ad card using the separate pref
782 // `browser.shopping.experience2023.ads.userEnabled` and visible toggle
783 // (this is just the feature flag).
784 pref("browser.shopping.experience2023.ads.enabled", false);
786 // Activates the ad card in the shopping sidebar.
787 // Unlike `browser.shopping.experience2023.ads.enabled`, this pref is controlled by users
788 // using the visible toggle.
789 pref("browser.shopping.experience2023.ads.userEnabled", true);
791 // Saves if shopping survey is enabled.
792 pref("browser.shopping.experience2023.survey.enabled", true);
794 // Saves if shopping survey is seen.
795 pref("browser.shopping.experience2023.survey.hasSeen", false);
797 // Number of PDP visits used to display shopping survey
798 pref("browser.shopping.experience2023.survey.pdpVisits", 0);
800 // Enables the auto-open feature for the shopping sidebar,
801 // including new callouts and settings UI changes
802 // (this is just the feature flag).
803 pref("browser.shopping.experience2023.autoOpen.enabled", false);
805 // Opens the shopping sidebar automatically when viewing a PDP.
806 pref("browser.shopping.experience2023.autoOpen.userEnabled", true);
808 // Number of times the sidebar has been closed in a session
809 pref("browser.shopping.experience2023.sidebarClosedCount", 0);
811 // When conditions are met, shows a prompt on the shopping sidebar asking users if they want to disable auto-open behavior
812 pref("browser.shopping.experience2023.showKeepSidebarClosedMessage", true);
814 // Enables the display of the Mozilla VPN banner in private browsing windows
815 pref("browser.privatebrowsing.vpnpromourl", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-%CHANNEL%-browser&utm_campaign=private-browsing-vpn-link");
817 // Whether the user has opted-in to recommended settings for data features.
818 pref("browser.dataFeatureRecommendations.enabled", false);
820 // Temporary pref to control whether or not Private Browsing windows show up
821 // as separate icons in the Windows taskbar.
822 pref("browser.privateWindowSeparation.enabled", true);
824 // Use dark theme variant for PBM windows. This is only supported if the theme
825 // sets darkTheme data.
826 pref("browser.theme.dark-private-windows", true);
828 // Controls visibility of the privacy segmentation preferences section.
829 pref("browser.privacySegmentation.preferences.show", false);
831 pref("browser.sessionhistory.max_entries", 50);
833 // Built-in default permissions.
834 pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
836 // Set default fallback values for site permissions we want
837 // the user to be able to globally change.
838 pref("permissions.default.camera", 0);
839 pref("permissions.default.microphone", 0);
840 pref("permissions.default.geo", 0);
841 pref("permissions.default.xr", 0);
842 pref("permissions.default.desktop-notification", 0);
843 pref("permissions.default.shortcuts", 0);
845 pref("permissions.desktop-notification.postPrompt.enabled", true);
846 pref("permissions.desktop-notification.notNow.enabled", false);
848 pref("permissions.fullscreen.allowed", false);
850 // Force external link opens into the default user context ID instead of guessing
851 // the most appropriate one based on the URL (https://bugzilla.mozilla.org/show_bug.cgi?id=1874599#c8)
852 pref("browser.link.force_default_user_context_id_for_external_opens", false);
854 // handle links targeting new windows
855 // 1=current window/tab, 2=new window, 3=new tab in most recent window
856 pref("browser.link.open_newwindow", 3);
858 // handle external links (i.e. links opened from a different application)
859 // default: use browser.link.open_newwindow
860 // 1-3: see browser.link.open_newwindow for interpretation
861 pref("browser.link.open_newwindow.override.external", -1);
863 // 0: no restrictions - divert everything
864 // 1: don't divert window.open at all
865 // 2: don't divert window.open with features
866 pref("browser.link.open_newwindow.restriction", 2);
868 // If true, this pref causes windows opened by window.open to be forced into new
869 // tabs (rather than potentially opening separate windows, depending on
870 // window.open arguments) when the browser is in fullscreen mode.
871 // We set this differently on Mac because the fullscreen implementation there is
874 pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
876 pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
880 pref("browser.tabs.closeTabByDblclick", false);
881 pref("browser.tabs.closeWindowWithLastTab", true);
882 pref("browser.tabs.allowTabDetach", true);
883 // Open related links to a tab, e.g., link in current tab, at next to the
884 // current tab if |insertRelatedAfterCurrent| is true. Otherwise, always
885 // append new tab to the end.
886 pref("browser.tabs.insertRelatedAfterCurrent", true);
887 // Open all links, e.g., bookmarks, history items at next to current tab
888 // if |insertAfterCurrent| is true. Otherwise, append new tab to the end
889 // for non-related links. Note that if this is set to true, it will trump
890 // the value of browser.tabs.insertRelatedAfterCurrent.
891 pref("browser.tabs.insertAfterCurrent", false);
892 pref("browser.tabs.warnOnClose", false);
893 pref("browser.tabs.warnOnCloseOtherTabs", true);
894 pref("browser.tabs.warnOnOpen", true);
895 pref("browser.tabs.maxOpenBeforeWarn", 15);
896 pref("browser.tabs.loadInBackground", true);
897 pref("browser.tabs.opentabfor.middleclick", true);
898 pref("browser.tabs.loadDivertedInBackground", false);
899 pref("browser.tabs.loadBookmarksInBackground", false);
900 pref("browser.tabs.loadBookmarksInTabs", false);
901 pref("browser.tabs.tabClipWidth", 140);
902 pref("browser.tabs.tabMinWidth", 76);
903 // Users running in any of the following language codes will have the
904 // secondary text on tabs hidden due to size constraints and readability
905 // of the text at small font sizes.
906 pref("browser.tabs.secondaryTextUnsupportedLocales", "ar,bn,bo,ckb,fa,gu,he,hi,ja,km,kn,ko,lo,mr,my,ne,pa,si,ta,te,th,ur,zh");
908 //Control the visibility of Tab Manager Menu.
909 pref("browser.tabs.tabmanager.enabled", true);
911 // When tabs opened by links in other tabs via a combination of
912 // browser.link.open_newwindow being set to 3 and target="_blank" etc are
914 // true return to the tab that opened this tab (its owner)
915 // false return to the adjacent tab (old default)
916 pref("browser.tabs.selectOwnerOnClose", true);
918 // This should match Chromium's audio indicator delay.
919 pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
921 // Pref to control whether we use a separate privileged content process
922 // for about: pages. This pref name did not age well: we will have multiple
923 // types of privileged content processes, each with different privileges.
924 // types of privleged content processes, each with different privleges.
925 pref("browser.tabs.remote.separatePrivilegedContentProcess", true);
927 #if defined(NIGHTLY_BUILD) && !defined(MOZ_ASAN)
928 // This pref will cause assertions when a remoteType triggers a process switch
929 // to a new remoteType it should not be able to trigger.
930 pref("browser.tabs.remote.enforceRemoteTypeRestrictions", true);
933 // Pref to control whether we use a separate privileged content process
934 // for certain mozilla webpages (which are listed in the pref
935 // browser.tabs.remote.separatedMozillaDomains).
936 pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", true);
939 pref("browser.tabs.tooltipsShowPidAndActiveness", true);
941 pref("browser.tabs.tooltipsShowPidAndActiveness", false);
944 pref("browser.tabs.cardPreview.enabled", false);
945 pref("browser.tabs.cardPreview.showThumbnails", true);
947 pref("browser.tabs.firefox-view", true);
948 pref("browser.tabs.firefox-view-next", true);
949 pref("browser.tabs.firefox-view-newIcon", true);
950 pref("browser.tabs.firefox-view.logLevel", "Warn");
951 pref("browser.tabs.firefox-view.notify-for-tabs", false);
953 // allow_eval_* is enabled on Firefox Desktop only at this
955 pref("security.allow_eval_with_system_principal", false);
956 pref("security.allow_eval_in_parent_process", false);
958 pref("security.allow_parent_unrestricted_js_loads", false);
960 // Unload tabs when available memory is running low
961 #if defined(XP_MACOSX) || defined(XP_WIN)
962 pref("browser.tabs.unloadOnLowMemory", true);
964 pref("browser.tabs.unloadOnLowMemory", false);
967 // Tab Unloader does not unload tabs whose last inactive period is longer than
968 // this value (in milliseconds).
969 pref("browser.tabs.min_inactive_duration_before_unload", 600000);
971 // Does middleclick paste of clipboard to new tab button
972 #ifdef UNIX_BUT_NOT_MAC
973 pref("browser.tabs.searchclipboardfor.middleclick", true);
975 pref("browser.tabs.searchclipboardfor.middleclick", false);
978 #if defined(XP_MACOSX)
979 // During low memory periods, poll with this frequency (milliseconds)
980 // until memory is no longer low. Changes to the pref take effect immediately.
981 // Browser restart not required. Chosen to be consistent with the windows
982 // implementation, but otherwise the 10s value is arbitrary.
983 pref("browser.lowMemoryPollingIntervalMS", 10000);
985 // Pref to control the reponse taken on macOS when the OS is under memory
986 // pressure. Changes to the pref take effect immediately. Browser restart not
987 // required. The pref value is a bitmask:
988 // 0x0: No response (other than recording for telemetry, crash reporting)
989 // 0x1: Use the tab unloading feature to reduce memory use. Requires that
990 // the above "browser.tabs.unloadOnLowMemory" pref be set to true for tab
991 // unloading to occur.
992 // 0x2: Issue the internal "memory-pressure" notification to reduce memory use
993 // 0x3: Both 0x1 and 0x2.
994 #if defined(NIGHTLY_BUILD)
995 pref("browser.lowMemoryResponseMask", 3);
997 pref("browser.lowMemoryResponseMask", 0);
1000 // Controls which macOS memory-pressure level triggers the browser low memory
1001 // response. Changes to the pref take effect immediately. Browser restart not
1002 // required. By default, use the "critical" level as that occurs after "warn"
1003 // and we only want to trigger the low memory reponse when necessary.
1004 // The macOS system memory-pressure level is either none, "warn", or
1005 // "critical". The OS notifies the browser when the level changes. A false
1006 // value for the pref indicates the low memory response should occur when
1007 // reaching the "critical" level. A true value indicates the response should
1008 // occur when reaching the "warn" level.
1009 pref("browser.lowMemoryResponseOnWarn", false);
1012 pref("browser.ctrlTab.sortByRecentlyUsed", false);
1014 // By default, do not export HTML at shutdown.
1015 // If true, at shutdown the bookmarks in your menu and toolbar will
1016 // be exported as HTML to the bookmarks.html file.
1017 pref("browser.bookmarks.autoExportHTML", false);
1019 // The maximum number of daily bookmark backups to
1020 // keep in {PROFILEDIR}/bookmarkbackups. Special values:
1022 // 0: no backups created (and deletes all existing backups)
1023 pref("browser.bookmarks.max_backups", 15);
1025 // Whether menu should close after Ctrl-click, middle-click, etc.
1026 pref("browser.bookmarks.openInTabClosesMenu", true);
1028 // Where new bookmarks go by default.
1029 // Use PlacesUIUtils.defaultParentGuid to read this; do NOT read the pref
1031 // The value is one of:
1032 // - a bookmarks guid
1033 // - "toolbar", "menu" or "unfiled" for those folders.
1034 // If we use the pref but the value isn't any of these, we'll fall back to
1035 // the bookmarks toolbar as a default.
1036 pref("browser.bookmarks.defaultLocation", "toolbar");
1038 // Scripts & Windows prefs
1039 pref("dom.disable_open_during_load", true);
1041 // allow JS to move and resize existing windows
1042 pref("dom.disable_window_move_resize", false);
1043 // prevent JS from monkeying with window focus, etc
1044 pref("dom.disable_window_flip", true);
1046 pref("privacy.popups.showBrowserMessage", true);
1048 pref("privacy.clearOnShutdown.history", true);
1049 pref("privacy.clearOnShutdown.formdata", true);
1050 pref("privacy.clearOnShutdown.downloads", true);
1051 pref("privacy.clearOnShutdown.cookies", true);
1052 pref("privacy.clearOnShutdown.cache", true);
1053 pref("privacy.clearOnShutdown.sessions", true);
1054 pref("privacy.clearOnShutdown.offlineApps", false);
1055 pref("privacy.clearOnShutdown.siteSettings", false);
1056 pref("privacy.clearOnShutdown.openWindows", false);
1057 // Clear on shutdown prefs used in the new dialog
1058 pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
1059 pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true);
1060 pref("privacy.clearOnShutdown_v2.cache", true);
1061 pref("privacy.clearOnShutdown_v2.siteSettings", false);
1063 pref("privacy.cpd.history", true);
1064 pref("privacy.cpd.formdata", true);
1065 pref("privacy.cpd.passwords", false);
1066 pref("privacy.cpd.downloads", true);
1067 pref("privacy.cpd.cookies", true);
1068 pref("privacy.cpd.cache", true);
1069 pref("privacy.cpd.sessions", true);
1070 pref("privacy.cpd.offlineApps", false);
1071 pref("privacy.cpd.siteSettings", false);
1072 pref("privacy.cpd.openWindows", false);
1074 // clearHistory and clearSiteData pref branches are used to
1075 // remember user pref options based on the two different entry points
1076 pref("privacy.clearHistory.historyFormDataAndDownloads", true);
1077 pref("privacy.clearHistory.cookiesAndStorage", true);
1078 pref("privacy.clearHistory.cache", true);
1079 pref("privacy.clearHistory.siteSettings", false);
1080 pref("privacy.clearSiteData.historyFormDataAndDownloads", false);
1081 pref("privacy.clearSiteData.cookiesAndStorage", true);
1082 pref("privacy.clearSiteData.cache", true);
1083 pref("privacy.clearSiteData.siteSettings", false);
1085 pref("privacy.history.custom", false);
1087 // What default should we use for the time span in the sanitizer:
1088 // 0 - Clear everything
1093 // 5 - Last 5 minutes
1094 // 6 - Last 24 hours
1095 pref("privacy.sanitize.timeSpan", 1);
1097 #if defined(NIGHTLY_BUILD)
1098 pref("privacy.sanitize.useOldClearHistoryDialog", false);
1100 pref("privacy.sanitize.useOldClearHistoryDialog", true);
1103 pref("privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs", false);
1104 // flag to track migration of clear history dialog prefs, where cpd stands for
1105 // clear private data
1106 pref("privacy.sanitize.cpd.hasMigratedToNewPrefs", false);
1108 pref("privacy.panicButton.enabled", true);
1110 // Time until temporary permissions expire, in ms
1111 pref("privacy.temporary_permission_expire_time_ms", 3600000);
1113 // Enables protection mechanism against password spoofing for cross domain auth requests
1115 pref("privacy.authPromptSpoofingProtection", true);
1117 // Enable GPC if the user turns it on in about:preferences
1118 pref("privacy.globalprivacycontrol.functionality.enabled", true);
1120 // Enable GPC in private browsing mode
1121 pref("privacy.globalprivacycontrol.pbmode.enabled", true);
1123 pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols
1125 // simple gestures support
1126 pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
1127 pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
1128 pref("browser.gesture.swipe.up", "cmd_scrollTop");
1129 pref("browser.gesture.swipe.down", "cmd_scrollBottom");
1130 pref("browser.gesture.pinch.latched", false);
1131 pref("browser.gesture.pinch.threshold", 25);
1132 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1133 // Enabled for touch input display zoom.
1134 pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
1135 pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
1136 pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
1137 pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
1139 // Disabled by default due to issues with track pad input.
1140 pref("browser.gesture.pinch.out", "");
1141 pref("browser.gesture.pinch.in", "");
1142 pref("browser.gesture.pinch.out.shift", "");
1143 pref("browser.gesture.pinch.in.shift", "");
1145 pref("browser.gesture.twist.latched", false);
1146 pref("browser.gesture.twist.threshold", 0);
1147 pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
1148 pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
1149 pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
1150 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1151 pref("browser.gesture.tap", "cmd_fullZoomReset");
1153 pref("browser.gesture.tap", "");
1156 pref("browser.history_swipe_animation.disabled", false);
1158 // 0: Nothing happens
1159 // 1: Scrolling contents
1160 // 2: Go back or go forward, in your history
1161 // 3: Zoom in or out (reflowing zoom).
1162 // 4: Treat vertical wheel as horizontal scroll
1163 // 5: Zoom in or out (pinch zoom).
1165 // On macOS, if the wheel has one axis only, shift+wheel comes through as a
1166 // horizontal scroll event. Thus, we can't assign anything other than normal
1167 // scrolling to shift+wheel.
1168 pref("mousewheel.with_shift.action", 1);
1169 pref("mousewheel.with_alt.action", 2);
1170 pref("mousewheel.with_control.action", 1);
1172 // On the other platforms (non-macOS), user may use legacy mouse which
1173 // supports only vertical wheel but want to scroll horizontally. For such
1174 // users, we should provide horizontal scroll with shift+wheel (same as
1175 // Chrome). However, shift+wheel was used for navigating history. For users
1176 // who want to keep using this feature, let's enable it with alt+wheel. This
1177 // is better for consistency with macOS users.
1178 pref("mousewheel.with_shift.action", 4);
1179 pref("mousewheel.with_alt.action", 2);
1182 pref("mousewheel.with_meta.action", 1);
1184 pref("browser.xul.error_pages.expert_bad_cert", false);
1185 pref("browser.xul.error_pages.show_safe_browsing_details_on_load", false);
1187 // Enable captive portal detection.
1188 pref("network.captive-portal-service.enabled", true);
1190 // If true, network link events will change the value of navigator.onLine
1191 pref("network.manage-offline-status", true);
1193 // We want to make sure mail URLs are handled externally...
1194 pref("network.protocol-handler.external.mailto", true); // for mail
1195 pref("network.protocol-handler.external.news", true); // for news
1196 pref("network.protocol-handler.external.snews", true); // for secure news
1197 pref("network.protocol-handler.external.nntp", true); // also news
1199 pref("network.protocol-handler.external.ms-windows-store", true);
1202 // ...without warning dialogs
1203 pref("network.protocol-handler.warn-external.mailto", false);
1204 pref("network.protocol-handler.warn-external.news", false);
1205 pref("network.protocol-handler.warn-external.snews", false);
1206 pref("network.protocol-handler.warn-external.nntp", false);
1208 pref("network.protocol-handler.warn-external.ms-windows-store", false);
1211 // By default, all protocol handlers are exposed. This means that
1212 // the browser will respond to openURL commands for all URL types.
1213 // It will also try to open link clicks inside the browser before
1214 // failing over to the system handlers.
1215 pref("network.protocol-handler.expose-all", true);
1216 pref("network.protocol-handler.expose.mailto", false);
1217 pref("network.protocol-handler.expose.news", false);
1218 pref("network.protocol-handler.expose.snews", false);
1219 pref("network.protocol-handler.expose.nntp", false);
1221 pref("accessibility.typeaheadfind", false);
1222 pref("accessibility.typeaheadfind.timeout", 5000);
1223 pref("accessibility.typeaheadfind.linksonly", false);
1224 pref("accessibility.typeaheadfind.flashBar", 1);
1226 // Toggling Search bar on and off in about:preferences
1227 pref("browser.preferences.search", true);
1228 #if defined(NIGHTLY_BUILD)
1229 pref("browser.preferences.experimental", true);
1231 pref("browser.preferences.experimental", false);
1233 pref("browser.preferences.moreFromMozilla", true);
1234 pref("browser.preferences.experimental.hidden", false);
1235 pref("browser.preferences.defaultPerformanceSettings.enabled", true);
1237 pref("browser.proton.toolbar.version", 0);
1239 // Backspace and Shift+Backspace behavior
1240 // 0 goes Back/Forward
1241 // 1 act like PgUp/PgDown
1242 // 2 and other values, nothing
1243 pref("browser.backspace_action", 2);
1245 pref("intl.regional_prefs.use_os_locales", false);
1247 // this will automatically enable inline spellchecking (if it is available) for
1248 // editable elements in HTML
1249 // 0 = spellcheck nothing
1250 // 1 = check multi-line controls [default]
1251 // 2 = check multi/single line controls
1252 pref("layout.spellcheckDefault", 1);
1254 pref("browser.send_pings", false);
1256 pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
1257 pref("browser.xr.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/xr/");
1259 pref("browser.sessionstore.resume_from_crash", true);
1260 pref("browser.sessionstore.resume_session_once", false);
1261 pref("browser.sessionstore.resuming_after_os_restart", false);
1263 // Toggle for the behavior to include closed tabs from all windows in
1264 // recently-closed tab lists & counts, and re-open tabs into the current window
1265 pref("browser.sessionstore.closedTabsFromAllWindows", true);
1266 pref("browser.sessionstore.closedTabsFromClosedWindows", true);
1268 // Minimal interval between two save operations in milliseconds (while the user is idle).
1269 pref("browser.sessionstore.interval.idle", 3600000); // 1h
1271 // Time (seconds) before we assume that the user is idle and that we don't need to
1272 // collect/save the session quite as often.
1273 pref("browser.sessionstore.idleDelay", 180); // 3 minutes
1275 // on which sites to save text data, POSTDATA and cookies
1276 // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
1277 pref("browser.sessionstore.privacy_level", 0);
1278 // how many tabs can be reopened (per window)
1279 pref("browser.sessionstore.max_tabs_undo", 25);
1280 // how many windows can be reopened (per session) - on non-OS X platforms this
1281 // pref may be ignored when dealing with pop-up windows to ensure proper startup
1282 pref("browser.sessionstore.max_windows_undo", 3);
1283 // number of crashes that can occur before the about:sessionrestore page is displayed
1284 // (this pref has no effect if more than 6 hours have passed since the last crash)
1285 pref("browser.sessionstore.max_resumed_crashes", 1);
1286 // number of back button session history entries to restore (-1 = all of them)
1287 pref("browser.sessionstore.max_serialize_back", 10);
1288 // number of forward button session history entries to restore (-1 = all of them)
1289 pref("browser.sessionstore.max_serialize_forward", -1);
1290 // restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
1291 // and restore_hidden_tabs. When true, tabs will not be restored until they are
1292 // focused (also applies to tabs that aren't visible). When false, the values
1293 // for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
1294 // Selected tabs are always restored regardless of this pref.
1295 pref("browser.sessionstore.restore_on_demand", true);
1296 // Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
1297 pref("browser.sessionstore.restore_hidden_tabs", false);
1298 // If restore_on_demand is set, pinned tabs are restored on startup by default.
1299 // When set to true, this pref overrides that behavior, and pinned tabs will only
1300 // be restored when they are focused.
1301 pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
1302 // The version at which we performed the latest upgrade backup
1303 pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
1304 // How many upgrade backups should be kept
1305 pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 3);
1306 // End-users should not run sessionstore in debug mode
1307 pref("browser.sessionstore.debug", false);
1308 // Forget closed windows/tabs after two weeks
1309 pref("browser.sessionstore.cleanup.forget_closed_after", 1209600000);
1311 // temporary pref that will be removed in a future release, see bug 1836952
1312 pref("browser.sessionstore.persist_closed_tabs_between_sessions", true);
1314 // Don't quit the browser when Ctrl + Q is pressed.
1315 pref("browser.quitShortcut.disabled", false);
1317 // allow META refresh by default
1318 pref("accessibility.blockautorefresh", false);
1320 // Whether history is enabled or not.
1321 pref("places.history.enabled", true);
1323 // The default Places log level.
1324 pref("places.loglevel", "Error");
1326 // Whether or not diacritics must match in history text searches.
1327 pref("places.search.matchDiacritics", false);
1329 // the (maximum) number of the recent visits to sample
1330 // when calculating frecency
1331 pref("places.frecency.numVisits", 10);
1333 // buckets (in days) for frecency calculation
1334 pref("places.frecency.firstBucketCutoff", 4);
1335 pref("places.frecency.secondBucketCutoff", 14);
1336 pref("places.frecency.thirdBucketCutoff", 31);
1337 pref("places.frecency.fourthBucketCutoff", 90);
1339 // weights for buckets for frecency calculations
1340 pref("places.frecency.firstBucketWeight", 100);
1341 pref("places.frecency.secondBucketWeight", 70);
1342 pref("places.frecency.thirdBucketWeight", 50);
1343 pref("places.frecency.fourthBucketWeight", 30);
1344 pref("places.frecency.defaultBucketWeight", 10);
1346 // bonus (in percent) for visit transition types for frecency calculations
1347 pref("places.frecency.embedVisitBonus", 0);
1348 pref("places.frecency.framedLinkVisitBonus", 0);
1349 pref("places.frecency.linkVisitBonus", 100);
1350 pref("places.frecency.typedVisitBonus", 2000);
1351 // The bookmarks bonus is always added on top of any other bonus, including
1352 // the redirect source and the typed ones.
1353 pref("places.frecency.bookmarkVisitBonus", 75);
1354 // The redirect source bonus overwrites any transition bonus.
1355 // 0 would hide these pages, instead we want them low ranked. Thus we use
1356 // linkVisitBonus - bookmarkVisitBonus, so that a bookmarked source is in par
1357 // with a common link.
1358 pref("places.frecency.redirectSourceVisitBonus", 25);
1359 pref("places.frecency.downloadVisitBonus", 0);
1360 // The perm/temp redirects here relate to redirect targets, not sources.
1361 pref("places.frecency.permRedirectVisitBonus", 50);
1362 pref("places.frecency.tempRedirectVisitBonus", 40);
1363 pref("places.frecency.reloadVisitBonus", 0);
1364 pref("places.frecency.defaultVisitBonus", 0);
1366 // bonus (in percent) for place types for frecency calculations
1367 pref("places.frecency.unvisitedBookmarkBonus", 140);
1368 pref("places.frecency.unvisitedTypedBonus", 200);
1370 // Enables alternative frecency calculation for origins.
1371 pref("places.frecency.origins.alternative.featureGate", false);
1373 // Clear data by base domain (including partitioned storage) when the user
1374 // selects "Forget About This Site".
1375 pref("places.forgetThisSite.clearByBaseDomain", true);
1377 // Whether to warm up network connections for places: menus and places: toolbar.
1378 pref("browser.places.speculativeConnect.enabled", true);
1380 // if true, use full page zoom instead of text zoom
1381 pref("browser.zoom.full", true);
1383 // Whether or not to update background tabs to the current zoom level.
1384 pref("browser.zoom.updateBackgroundTabs", true);
1386 // The breakpad report server to link to in about:crashes
1387 pref("breakpad.reportURL", "https://crash-stats.mozilla.org/report/index/");
1389 // URL for "Learn More" for DataCollection
1390 pref("toolkit.datacollection.infoURL",
1391 "https://www.mozilla.org/legal/privacy/firefox.html");
1393 // URL for "Learn More" for Crash Reporter
1394 pref("toolkit.crashreporter.infoURL",
1395 "https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
1397 // base URL for web-based support pages
1398 pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
1400 // base url for web-based feedback pages
1401 pref("app.feedback.baseURL", "https://ideas.mozilla.org/");
1403 pref("security.certerrors.recordEventTelemetry", true);
1404 pref("security.certerrors.permanentOverride", true);
1405 pref("security.certerrors.mitm.priming.enabled", true);
1406 pref("security.certerrors.mitm.priming.endpoint", "https://mitmdetection.services.mozilla.com/");
1407 pref("security.certerrors.mitm.auto_enable_enterprise_roots", true);
1409 // Whether the bookmark panel should be shown when bookmarking a page.
1410 pref("browser.bookmarks.editDialog.showForNewBookmarks", true);
1412 // Don't try to alter this pref, it'll be reset the next time you use the
1413 // bookmarking dialog
1414 pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
1416 // The number of recently selected folders in the edit bookmarks dialog.
1417 pref("browser.bookmarks.editDialog.maxRecentFolders", 7);
1419 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
1420 // This controls the strength of the Windows content process sandbox for
1421 // testing purposes. This will require a restart.
1422 // On windows these levels are:
1423 // See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
1424 // SetSecurityLevelForContentProcess() for what the different settings mean.
1425 pref("security.sandbox.content.level", 6);
1427 // Pref controlling if messages relevant to sandbox violations are logged.
1428 pref("security.sandbox.logging.enabled", false);
1431 #if defined(XP_MACOSX) && defined(MOZ_SANDBOX)
1432 // This pref is discussed in bug 1083344, the naming is inspired from its
1433 // Windows counterpart, but on Mac it's an integer which means:
1434 // 0 -> "no sandbox" (nightly only)
1435 // 1 -> "preliminary content sandboxing enabled: write access to
1436 // home directory is prevented"
1437 // 2 -> "preliminary content sandboxing enabled with profile protection:
1438 // write access to home directory is prevented, read and write access
1439 // to ~/Library and profile directories are prevented (excluding
1440 // $PROFILE/{extensions,chrome})"
1441 // 3 -> "no global read/write access, read access permitted to
1442 // $PROFILE/{extensions,chrome}"
1443 // This setting is read when the content process is started. On Mac the
1444 // content process is killed when all windows are closed, so a change will
1445 // take effect when the 1st window is opened.
1446 pref("security.sandbox.content.level", 3);
1448 // Disconnect content processes from the window server. Depends on
1449 // out-of-process WebGL and non-native theming. i.e., both in-process WebGL
1450 // and native theming depend on content processes having a connection to the
1451 // window server. Window server disconnection is automatically disabled (and
1452 // this pref overridden) if OOP WebGL is disabled. OOP WebGL is disabled
1454 pref("security.sandbox.content.mac.disconnect-windowserver", true);
1456 // Pref controlling if messages relevant to sandbox violations are logged.
1457 pref("security.sandbox.logging.enabled", false);
1460 #if defined(XP_LINUX) && defined(MOZ_SANDBOX)
1461 // This pref is introduced as part of bug 742434, the naming is inspired from
1462 // its Windows/Mac counterpart, but on Linux it's an integer which means:
1463 // 0 -> "no sandbox"
1464 // 1 -> no longer used; level will be clamped to 2
1465 // 2 -> "seccomp-bpf + write file broker"
1466 // 3 -> "seccomp-bpf + read/write file brokering"
1467 // 4 -> all of the above + network/socket restrictions + chroot
1469 // The purpose of this setting is to allow Linux users or distros to disable
1470 // the sandbox while we fix their problems, or to allow running Firefox with
1471 // exotic configurations we can't reasonably support out of the box.
1473 pref("security.sandbox.content.level", 4);
1474 // Introduced as part of bug 1608558. Linux is currently the only platform
1475 // that uses a sandbox level for the socket process. There are currently
1477 // 0 -> "no sandbox"
1478 // 1 -> "sandboxed, allows socket operations and reading necessary certs"
1479 pref("security.sandbox.socket.process.level", 1);
1480 pref("security.sandbox.content.write_path_whitelist", "");
1481 pref("security.sandbox.content.read_path_whitelist", "");
1482 pref("security.sandbox.content.syscall_whitelist", "");
1485 #if defined(XP_OPENBSD) && defined(MOZ_SANDBOX)
1486 pref("security.sandbox.content.level", 1);
1489 #if defined(MOZ_CONTENT_TEMP_DIR)
1490 // ID (a UUID when set by gecko) that is used to form the name of a
1491 // sandbox-writable temporary directory to be used by content processes
1492 // when a temporary writable file is required.
1493 pref("security.sandbox.content.tempDirSuffix", "");
1497 pref("browser.taskbar.previews.enable", false);
1498 pref("browser.taskbar.previews.max", 20);
1499 pref("browser.taskbar.previews.cachetime", 5);
1501 pref("browser.taskbar.lists.legacyBackend", false);
1503 pref("browser.taskbar.lists.enabled", true);
1504 pref("browser.taskbar.lists.frequent.enabled", true);
1505 pref("browser.taskbar.lists.recent.enabled", false);
1506 pref("browser.taskbar.lists.maxListItemCount", 7);
1507 pref("browser.taskbar.lists.tasks.enabled", true);
1508 pref("browser.taskbar.lists.refreshInSeconds", 120);
1511 // Preferences to be synced by default.
1512 // Preferences with the prefix `services.sync.prefs.sync-seen.` should have
1513 // a value of `false`, and means the value of the pref will be synced as soon
1514 // as a value for the pref is "seen", even if it is the default, and should be
1515 // used for prefs we sync but which have different values on different channels,
1516 // platforms or distributions.
1517 pref("services.sync.prefs.sync.accessibility.blockautorefresh", true);
1518 pref("services.sync.prefs.sync.accessibility.browsewithcaret", true);
1519 pref("services.sync.prefs.sync.accessibility.typeaheadfind", true);
1520 pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true);
1521 pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true);
1522 pref("services.sync.prefs.sync.app.shield.optoutstudies.enabled", true);
1523 // The addons prefs related to repository verification are intentionally
1524 // not synced for security reasons. If a system is compromised, a user
1525 // could weaken the pref locally, install an add-on from an untrusted
1526 // source, and this would propagate automatically to other,
1527 // uncompromised Sync-connected devices.
1528 pref("services.sync.prefs.sync.browser.contentblocking.category", true);
1529 pref("services.sync.prefs.sync.browser.contentblocking.features.strict", true);
1530 pref("services.sync.prefs.sync.browser.crashReports.unsubmittedCheck.autoSubmit2", true);
1531 pref("services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed", true);
1532 pref("services.sync.prefs.sync.browser.discovery.enabled", true);
1533 pref("services.sync.prefs.sync.browser.download.useDownloadDir", true);
1534 pref("services.sync.prefs.sync.browser.firefox-view.feature-tour", true);
1535 pref("services.sync.prefs.sync.browser.formfill.enable", true);
1536 pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
1537 pref("services.sync.prefs.sync.browser.menu.showViewImageInfo", true);
1538 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1539 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1540 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSearch", true);
1541 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", true);
1542 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", true);
1543 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.topsites", true);
1544 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.topSitesRows", true);
1545 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", true);
1546 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows", true);
1547 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.highlights", true);
1548 // Some linux distributions disable all highlights by default.
1549 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights", false);
1550 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeVisited", true);
1551 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeBookmarks", true);
1552 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeDownloads", true);
1553 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", true);
1554 // Some linux distributions disable just pocket by default.
1555 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights.includePocket", false);
1556 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.rows", true);
1557 pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
1558 pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
1559 pref("services.sync.prefs.sync.browser.pdfjs.feature-tour", true);
1560 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", true);
1561 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted", true);
1562 pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
1563 pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", true);
1564 pref("services.sync.prefs.sync.browser.search.update", true);
1565 pref("services.sync.prefs.sync.browser.startup.homepage", true);
1566 pref("services.sync.prefs.sync.browser.startup.page", true);
1567 pref("services.sync.prefs.sync.browser.startup.upgradeDialog.enabled", true);
1568 pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
1569 pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
1570 pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
1571 pref("services.sync.prefs.sync.browser.taskbar.previews.enable", true);
1572 pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
1573 pref("services.sync.prefs.sync.browser.urlbar.showSearchSuggestionsFirst", true);
1574 pref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", true);
1575 pref("services.sync.prefs.sync.browser.urlbar.suggest.history", true);
1576 pref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", true);
1577 pref("services.sync.prefs.sync.browser.urlbar.suggest.searches", true);
1578 pref("services.sync.prefs.sync.browser.urlbar.suggest.topsites", true);
1579 pref("services.sync.prefs.sync.browser.urlbar.suggest.engines", true);
1580 pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
1581 pref("services.sync.prefs.sync.dom.disable_window_flip", true);
1582 pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
1583 pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
1584 pref("services.sync.prefs.sync.dom.security.https_only_mode", true);
1585 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled", true);
1586 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled_pbm", true);
1587 pref("services.sync.prefs.sync.dom.security.https_only_mode_pbm", true);
1588 pref("services.sync.prefs.sync.extensions.update.enabled", true);
1589 pref("services.sync.prefs.sync.extensions.activeThemeID", true);
1590 pref("services.sync.prefs.sync.general.autoScroll", true);
1591 // general.autoScroll has a different default on Linux vs elsewhere.
1592 pref("services.sync.prefs.sync-seen.general.autoScroll", false);
1593 pref("services.sync.prefs.sync.general.smoothScroll", true);
1594 pref("services.sync.prefs.sync.intl.accept_languages", true);
1595 pref("services.sync.prefs.sync.intl.regional_prefs.use_os_locales", true);
1596 pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
1597 pref("services.sync.prefs.sync.media.autoplay.default", true);
1598 pref("services.sync.prefs.sync.media.eme.enabled", true);
1599 // Some linux distributions disable eme by default.
1600 pref("services.sync.prefs.sync-seen.media.eme.enabled", false);
1601 pref("services.sync.prefs.sync.media.videocontrols.picture-in-picture.video-toggle.enabled", true);
1602 pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
1603 pref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", true);
1604 pref("services.sync.prefs.sync.permissions.default.image", true);
1605 pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
1606 pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
1607 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
1608 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.cache", true);
1609 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
1610 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.cookiesAndStorage", true);
1611 pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
1612 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.downloads", true);
1613 pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
1614 pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
1615 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
1616 pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
1617 pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
1618 pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
1619 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.siteSettings", true);
1620 pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
1621 pref("services.sync.prefs.sync.privacy.globalprivacycontrol.enabled", true);
1622 pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
1623 pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", true);
1624 pref("services.sync.prefs.sync.privacy.trackingprotection.cryptomining.enabled", true);
1625 pref("services.sync.prefs.sync.privacy.trackingprotection.fingerprinting.enabled", true);
1626 pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", true);
1627 // We do not sync `privacy.resistFingerprinting` by default as it's an undocumented,
1628 // not-recommended footgun - see bug 1763278 for more.
1629 pref("services.sync.prefs.sync.privacy.reduceTimerPrecision", true);
1630 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", true);
1631 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", true);
1632 pref("services.sync.prefs.sync.privacy.userContext.enabled", true);
1633 pref("services.sync.prefs.sync.privacy.userContext.newTabContainerOnLeftClick.enabled", true);
1634 pref("services.sync.prefs.sync.security.default_personal_cert", true);
1635 pref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", true);
1636 pref("services.sync.prefs.sync.signon.autofillForms", true);
1637 pref("services.sync.prefs.sync.signon.generation.enabled", true);
1638 pref("services.sync.prefs.sync.signon.management.page.breach-alerts.enabled", true);
1639 pref("services.sync.prefs.sync.signon.rememberSignons", true);
1640 pref("services.sync.prefs.sync.spellchecker.dictionary", true);
1641 pref("services.sync.prefs.sync.ui.osk.enabled", true);
1643 // A preference which, if false, means sync will only apply incoming preference
1644 // changes if there's already a local services.sync.prefs.sync.* control pref.
1645 // If true, all incoming preferences will be applied and the local "control
1646 // pref" updated accordingly.
1647 pref("services.sync.prefs.dangerously_allow_arbitrary", false);
1649 // A preference that controls whether we should show the icon for a remote tab.
1650 // This pref has no UI but exists because some people may be concerned that
1651 // fetching these icons to show remote tabs may leak information about that
1652 // user's tabs and bookmarks. Note this pref is also synced.
1653 pref("services.sync.syncedTabs.showRemoteIcons", true);
1655 // A preference (in milliseconds) controlling if we sync after a tab change and
1656 // how long to delay before we schedule the sync
1657 // Anything <= 0 means disabled
1658 pref("services.sync.syncedTabs.syncDelayAfterTabChange", 5000);
1660 // Whether the character encoding menu is under the main Firefox button. This
1661 // preference is a string so that localizers can alter it.
1662 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
1664 // Whether prompts should be content modal (1) tab modal (2) or window modal(3) by default
1665 // This is a fallback value for when prompt callers do not specify a modalType.
1666 pref("prompts.defaultModalType", 3);
1668 pref("browser.topsites.useRemoteSetting", true);
1669 // Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
1670 pref("browser.topsites.contile.enabled", true);
1671 pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
1673 // Whether to enable the Share-of-Voice feature for Sponsored Topsites via Contile.
1674 pref("browser.topsites.contile.sov.enabled", true);
1676 // The base URL for the Quick Suggest anonymizing proxy. To make a request to
1677 // the proxy, include a campaign ID in the path.
1678 pref("browser.partnerlink.attributionURL", "https://topsites.services.mozilla.com/cid/");
1679 pref("browser.partnerlink.campaign.topsites", "amzn_2020_a1");
1681 // Whether to show tab level system prompts opened via nsIPrompt(Service) as
1682 // SubDialogs in the TabDialogBox (true) or as TabModalPrompt in the
1683 // TabModalPromptBox (false).
1684 pref("prompts.tabChromePromptSubDialog", true);
1686 // Whether to show the dialogs opened at the content level, such as
1687 // alert() or prompt(), using a SubDialogManager in the TabDialogBox.
1688 pref("prompts.contentPromptSubDialog", true);
1690 // Whether to show window-modal dialogs opened for browser windows
1691 // in a SubDialog inside their parent, instead of an OS level window.
1692 pref("prompts.windowPromptSubDialog", true);
1694 // Activates preloading of the new tab url.
1695 pref("browser.newtab.preload", true);
1697 pref("browser.newtabpage.activity-stream.newNewtabExperience.colors", "#0090ED,#FF4F5F,#2AC3A2,#FF7139,#A172FF,#FFA437,#FF2A8A");
1699 // Activity Stream prefs that control to which page to redirect
1700 #ifndef RELEASE_OR_BETA
1701 pref("browser.newtabpage.activity-stream.debug", false);
1704 // The remote FxA root content URL for the Activity Stream firstrun page.
1705 pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "https://accounts.firefox.com/");
1707 // The pref that controls if the search shortcuts experiment is on
1708 pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts", true);
1710 // ASRouter provider configuration
1711 pref("browser.newtabpage.activity-stream.asrouter.providers.cfr", "{\"id\":\"cfr\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"cfr\",\"updateCycleInMs\":3600000}");
1712 pref("browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel", "{\"id\":\"whats-new-panel\",\"enabled\":false,\"type\":\"remote-settings\",\"collection\":\"whats-new-panel\",\"updateCycleInMs\":3600000}");
1713 pref("browser.newtabpage.activity-stream.asrouter.providers.message-groups", "{\"id\":\"message-groups\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"message-groups\",\"updateCycleInMs\":3600000}");
1714 pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", "{\"id\":\"messaging-experiments\",\"enabled\":true,\"type\":\"remote-experiments\",\"updateCycleInMs\":3600000}");
1716 // ASRouter user prefs
1717 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1718 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1719 pref("messaging-system.askForFeedback", true);
1721 // The pref that controls if ASRouter uses the remote fluent files.
1722 // It's enabled by default, but could be disabled to force ASRouter to use the local files.
1723 pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", true);
1725 // These prefs control if Discovery Stream is enabled.
1726 pref("browser.newtabpage.activity-stream.discoverystream.enabled", true);
1727 pref("browser.newtabpage.activity-stream.discoverystream.hardcoded-basic-layout", false);
1728 pref("browser.newtabpage.activity-stream.discoverystream.hybridLayout.enabled", false);
1729 pref("browser.newtabpage.activity-stream.discoverystream.hideCardBackground.enabled", false);
1730 pref("browser.newtabpage.activity-stream.discoverystream.fourCardLayout.enabled", false);
1731 pref("browser.newtabpage.activity-stream.discoverystream.newFooterSection.enabled", false);
1732 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCard.enabled", true);
1733 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCardRegions", "");
1734 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptions.enabled", false);
1735 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptionsRegions", "");
1736 pref("browser.newtabpage.activity-stream.discoverystream.compactGrid.enabled", false);
1737 pref("browser.newtabpage.activity-stream.discoverystream.compactImages.enabled", false);
1738 pref("browser.newtabpage.activity-stream.discoverystream.imageGradient.enabled", false);
1739 pref("browser.newtabpage.activity-stream.discoverystream.titleLines", 3);
1740 pref("browser.newtabpage.activity-stream.discoverystream.descLines", 3);
1741 pref("browser.newtabpage.activity-stream.discoverystream.readTime.enabled", true);
1742 pref("browser.newtabpage.activity-stream.discoverystream.newSponsoredLabel.enabled", false);
1743 pref("browser.newtabpage.activity-stream.discoverystream.essentialReadsHeader.enabled", false);
1744 pref("browser.newtabpage.activity-stream.discoverystream.recentSaves.enabled", false);
1745 pref("browser.newtabpage.activity-stream.discoverystream.editorsPicksHeader.enabled", false);
1746 pref("browser.newtabpage.activity-stream.discoverystream.spoc-positions", "1,5,7,11,18,20");
1747 pref("browser.newtabpage.activity-stream.discoverystream.spoc-topsites-positions", "2");
1748 // This is a 0-based index, for consistency with the other position CSVs,
1749 // but Contile positions are a 1-based index, so we end up adding 1 to these before using them.
1750 pref("browser.newtabpage.activity-stream.discoverystream.contile-topsites-positions", "0,1");
1751 pref("browser.newtabpage.activity-stream.discoverystream.widget-positions", "");
1753 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint", "");
1754 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint-query", "");
1755 pref("browser.newtabpage.activity-stream.discoverystream.sponsored-collections.enabled", false);
1757 // Changes the spoc content.
1758 pref("browser.newtabpage.activity-stream.discoverystream.spocAdTypes", "");
1759 pref("browser.newtabpage.activity-stream.discoverystream.spocZoneIds", "");
1760 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesAdTypes", "");
1761 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesZoneIds", "");
1762 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesPlacement.enabled", true);
1763 pref("browser.newtabpage.activity-stream.discoverystream.spocSiteId", "");
1764 pref("browser.newtabpage.activity-stream.discoverystream.ctaButtonSponsors", "");
1765 pref("browser.newtabpage.activity-stream.discoverystream.ctaButtonVariant", "");
1766 pref("browser.newtabpage.activity-stream.discoverystream.spocMessageVariant", "");
1768 pref("browser.newtabpage.activity-stream.discoverystream.sendToPocket.enabled", true);
1770 // List of regions that do not get stories, regardless of locale-list-config.
1771 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-block", "");
1772 // List of locales that get stories, regardless of region-stories-config.
1773 #ifdef NIGHTLY_BUILD
1774 pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "en-US,en-CA,en-GB");
1776 pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "");
1778 // List of regions that get stories by default.
1779 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1780 // List of regions that support the new recommendations BFF, also requires region-stories-config
1781 pref("browser.newtabpage.activity-stream.discoverystream.region-bff-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1782 // List of regions that get spocs by default.
1783 pref("browser.newtabpage.activity-stream.discoverystream.region-spocs-config", "US,CA,DE,GB,FR,IT,ES");
1784 // List of regions that don't get the 7 row layout.
1785 pref("browser.newtabpage.activity-stream.discoverystream.region-basic-config", "");
1787 // Allows Pocket story collections to be dismissed.
1788 pref("browser.newtabpage.activity-stream.discoverystream.isCollectionDismissible", true);
1789 pref("browser.newtabpage.activity-stream.discoverystream.personalization.enabled", true);
1790 // Configurable keys used by personalization.
1791 pref("browser.newtabpage.activity-stream.discoverystream.personalization.modelKeys", "nb_model_arts_and_entertainment, nb_model_autos_and_vehicles, nb_model_beauty_and_fitness, nb_model_blogging_resources_and_services, nb_model_books_and_literature, nb_model_business_and_industrial, nb_model_computers_and_electronics, nb_model_finance, nb_model_food_and_drink, nb_model_games, nb_model_health, nb_model_hobbies_and_leisure, nb_model_home_and_garden, nb_model_internet_and_telecom, nb_model_jobs_and_education, nb_model_law_and_government, nb_model_online_communities, nb_model_people_and_society, nb_model_pets_and_animals, nb_model_real_estate, nb_model_reference, nb_model_science, nb_model_shopping, nb_model_sports, nb_model_travel");
1792 // System pref to allow Pocket stories personalization to be turned on/off.
1793 pref("browser.newtabpage.activity-stream.discoverystream.recs.personalized", false);
1794 // System pref to allow Pocket sponsored content personalization to be turned on/off.
1795 pref("browser.newtabpage.activity-stream.discoverystream.spocs.personalized", true);
1797 // Flip this once the user has dismissed the Pocket onboarding experience,
1798 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.dismissed", false);
1799 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.enabled", false);
1801 // User pref to show stories on newtab (feeds.system.topstories has to be set to true as well)
1802 pref("browser.newtabpage.activity-stream.feeds.section.topstories", true);
1804 // The pref controls if search hand-off is enabled for Activity Stream.
1805 pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", true);
1807 pref("browser.newtabpage.activity-stream.logowordmark.alwaysVisible", true);
1809 // URLs from the user's history that contain this search param will be hidden
1810 // from the top sites. The value is a string with one of the following forms:
1811 // - "" (empty) - Disable this feature
1812 // - "key" - Search param named "key" with any or no value
1813 // - "key=" - Search param named "key" with no value
1814 // - "key=value" - Search param named "key" with value "value"
1815 pref("browser.newtabpage.activity-stream.hideTopSitesWithSearchParam", "mfadid=adm");
1817 // Separate about welcome
1818 pref("browser.aboutwelcome.enabled", true);
1819 // Used to set multistage welcome UX
1820 pref("browser.aboutwelcome.screens", "");
1821 // Used to enable window modal onboarding
1822 pref("browser.aboutwelcome.showModal", false);
1824 // The pref that controls if the What's New panel is enabled.
1825 pref("browser.messaging-system.whatsNewPanel.enabled", true);
1827 // Experiment Manager
1828 // See Console.sys.mjs LOG_LEVELS for all possible values
1829 pref("messaging-system.log", "warn");
1830 pref("messaging-system.rsexperimentloader.enabled", true);
1831 pref("messaging-system.rsexperimentloader.collection_id", "nimbus-desktop-experiments");
1832 pref("nimbus.debug", false);
1833 pref("nimbus.validation.enabled", true);
1835 // Nimbus QA prefs. Used to monitor pref-setting test experiments.
1836 pref("nimbus.qa.pref-1", "default");
1837 pref("nimbus.qa.pref-2", "default");
1839 // Startup Crash Tracking
1840 // number of startup crashes that can occur before starting into safe mode automatically
1841 // (this pref has no effect if more than 6 hours have passed since the last crash)
1842 pref("toolkit.startup.max_resumed_crashes", 3);
1844 // Whether to use RegisterApplicationRestart to restart the browser and resume
1845 // the session on next Windows startup
1847 pref("toolkit.winRegisterApplicationRestart", true);
1850 // The values of preferredAction and alwaysAskBeforeHandling before pdf.js
1851 // became the default.
1852 pref("pdfjs.previousHandler.preferredAction", 0);
1853 pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
1855 // Try to convert PDFs sent as octet-stream
1856 pref("pdfjs.handleOctetStream", true);
1858 pref("sidebar.companion", false);
1860 // Is the sidebar positioned ahead of the content browser
1861 pref("sidebar.position_start", true);
1863 pref("security.protectionspopup.recordEventTelemetry", true);
1864 pref("security.app_menu.recordEventTelemetry", true);
1866 // Block insecure active content on https pages
1867 pref("security.mixed_content.block_active_content", true);
1869 // Show "Not Secure" text for http pages; disabled for now
1870 #ifdef NIGHTLY_BUILD
1871 pref("security.insecure_connection_text.enabled", true);
1872 pref("security.insecure_connection_text.pbmode.enabled", true);
1874 pref("security.insecure_connection_text.enabled", false);
1875 pref("security.insecure_connection_text.pbmode.enabled", false);
1878 // If this turns true, Moz*Gesture events are not called stopPropagation()
1880 pref("dom.debug.propagate_gesture_events_through_content", false);
1882 // CustomizableUI debug logging.
1883 pref("browser.uiCustomization.debug", false);
1885 // CustomizableUI state of the browser's user interface
1886 pref("browser.uiCustomization.state", "");
1888 // If set to false, FxAccounts and Sync will be unavailable.
1889 // A restart is mandatory after flipping that preference.
1890 pref("identity.fxaccounts.enabled", true);
1892 // The remote FxA root content URL. Must use HTTPS.
1893 pref("identity.fxaccounts.remote.root", "https://accounts.firefox.com/");
1895 // The value of the context query parameter passed in fxa requests.
1896 pref("identity.fxaccounts.contextParam", "fx_desktop_v3");
1898 // Whether to use the oauth flow for desktop or not
1899 pref("identity.fxaccounts.oauth.enabled", false);
1901 // The remote URL of the FxA Profile Server
1902 pref("identity.fxaccounts.remote.profile.uri", "https://profile.accounts.firefox.com/v1");
1904 // The remote URL of the FxA OAuth Server
1905 pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
1907 // Whether FxA pairing using QR codes is enabled.
1908 pref("identity.fxaccounts.pairing.enabled", true);
1910 // The remote URI of the FxA pairing server
1911 pref("identity.fxaccounts.remote.pairing.uri", "wss://channelserver.services.mozilla.com");
1913 // Token server used by the FxA Sync identity.
1914 pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
1916 // Auto-config URL for FxA self-hosters, makes an HTTP request to
1917 // [identity.fxaccounts.autoconfig.uri]/.well-known/fxa-client-configuration
1918 // This is now the prefered way of pointing to a custom FxA server, instead
1919 // of making changes to "identity.fxaccounts.*.uri".
1920 pref("identity.fxaccounts.autoconfig.uri", "");
1922 // URL for help link about Send Tab.
1923 pref("identity.sendtabpromo.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/send-tab");
1925 // URLs for promo links to mobile browsers. Note that consumers are expected to
1926 // append a value for utm_campaign.
1927 pref("identity.mobilepromo.android", "https://www.mozilla.org/firefox/android/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
1928 pref("identity.mobilepromo.ios", "https://www.mozilla.org/firefox/ios/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
1930 // Migrate any existing Firefox Account data from the default profile to the
1931 // Developer Edition profile.
1932 #ifdef MOZ_DEV_EDITION
1933 pref("identity.fxaccounts.migrateToDevEdition", true);
1935 pref("identity.fxaccounts.migrateToDevEdition", false);
1938 // How often should we try to fetch missed FxA commands on sync (in seconds).
1939 // Default is 24 hours.
1940 pref("identity.fxaccounts.commands.missed.fetch_interval", 86400);
1942 // Note: when media.gmp-*.visible is true, provided we're running on a
1943 // supported platform/OS version, the corresponding CDM appears in the
1944 // plugins list, Firefox will download the GMP/CDM if enabled, and our
1945 // UI to re-enable EME prompts the user to re-enable EME if it's disabled
1946 // and script requests EME. If *.visible is false, we won't show the UI
1947 // to enable the CDM if its disabled; it's as if the keysystem is completely
1950 #ifdef MOZ_WIDEVINE_EME
1951 pref("media.gmp-widevinecdm.visible", true);
1952 pref("media.gmp-widevinecdm.enabled", true);
1953 #if defined(MOZ_WMF_CDM) && defined(_M_AMD64)
1954 pref("media.gmp-widevinecdm-l1.forceInstall", false);
1955 #ifdef NIGHTLY_BUILD
1956 pref("media.gmp-widevinecdm-l1.visible", true);
1957 pref("media.gmp-widevinecdm-l1.enabled", true);
1959 pref("media.gmp-widevinecdm-l1.visible", false);
1960 pref("media.gmp-widevinecdm-l1.enabled", false);
1965 pref("media.gmp-gmpopenh264.visible", true);
1966 pref("media.gmp-gmpopenh264.enabled", true);
1968 pref("media.videocontrols.picture-in-picture.enabled", true);
1969 pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
1970 pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
1971 pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "1.0");
1972 pref("media.videocontrols.picture-in-picture.keyboard-controls.enabled", true);
1973 pref("media.videocontrols.picture-in-picture.urlbar-button.enabled", true);
1975 // TODO (Bug 1817084) - This pref is used for managing translation preferences
1976 // in the Firefox Translations addon. It should be removed when the addon is
1978 pref("browser.translation.neverForLanguages", "");
1980 // Enable Firefox translations powered by the Bergamot translations
1981 // engine https://browser.mt/.
1982 pref("browser.translations.enable", true);
1984 // Enable the new Firefox Translations Settings UI Design
1985 pref("browser.translations.newSettingsUI.enable", false);
1987 // Enable Firefox Select translations powered by Bergamot translations
1988 // engine https://browser.mt/.
1989 pref("browser.translations.select.enable", false);
1991 // Telemetry settings.
1992 // Determines if Telemetry pings can be archived locally.
1993 pref("toolkit.telemetry.archive.enabled", true);
1994 // Enables sending the shutdown ping when Firefox shuts down.
1995 pref("toolkit.telemetry.shutdownPingSender.enabled", true);
1996 // Enables using the `pingsender` background task.
1997 pref("toolkit.telemetry.shutdownPingSender.backgroundtask.enabled", false);
1998 // Enables sending the shutdown ping using the pingsender from the first session.
1999 pref("toolkit.telemetry.shutdownPingSender.enabledFirstSession", false);
2000 // Enables sending a duplicate of the first shutdown ping from the first session.
2001 pref("toolkit.telemetry.firstShutdownPing.enabled", true);
2002 // Enables sending the 'new-profile' ping on new profiles.
2003 pref("toolkit.telemetry.newProfilePing.enabled", true);
2004 // Enables sending 'update' pings on Firefox updates.
2005 pref("toolkit.telemetry.updatePing.enabled", true);
2006 // Enables sending 'bhr' pings when the browser hangs.
2007 pref("toolkit.telemetry.bhrPing.enabled", true);
2009 // Enable GMP support in the addon manager.
2010 pref("media.gmp-provider.enabled", true);
2012 // Enable Dynamic First-Party Isolation by default.
2013 pref("network.cookie.cookieBehavior", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
2015 // Enable Dynamic First-Party Isolation in the private browsing mode.
2016 pref("network.cookie.cookieBehavior.pbmode", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
2018 // Enable fingerprinting blocking by default for all channels, only on desktop.
2019 pref("privacy.trackingprotection.fingerprinting.enabled", true);
2021 // Enable cryptomining blocking by default for all channels, only on desktop.
2022 pref("privacy.trackingprotection.cryptomining.enabled", true);
2024 pref("browser.contentblocking.database.enabled", true);
2026 // Enable URL query stripping in Nightly.
2027 #ifdef NIGHTLY_BUILD
2028 pref("privacy.query_stripping.enabled", true);
2031 // Enable Strip on Share by default on desktop
2032 pref("privacy.query_stripping.strip_on_share.enabled", true);
2034 pref("browser.contentblocking.cryptomining.preferences.ui.enabled", true);
2035 pref("browser.contentblocking.fingerprinting.preferences.ui.enabled", true);
2036 // Enable cookieBehavior = BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN as an option in the custom category ui
2037 pref("browser.contentblocking.reject-and-isolate-cookies.preferences.ui.enabled", true);
2039 // Possible values for browser.contentblocking.features.strict pref:
2040 // Tracking Protection:
2041 // "tp": tracking protection enabled
2042 // "-tp": tracking protection disabled
2043 // Tracking Protection in private windows:
2044 // "tpPrivate": tracking protection in private windows enabled
2045 // "-tpPrivate": tracking protection in private windows disabled
2047 // "fp": fingerprinting blocking enabled
2048 // "-fp": fingerprinting blocking disabled
2050 // "cm": cryptomining blocking enabled
2051 // "-cm": cryptomining blocking disabled
2052 // Social Tracking Protection:
2053 // "stp": social tracking protection enabled
2054 // "-stp": social tracking protection disabled
2055 // Email Tracking Protection:
2056 // "emailTP": email tracking protection enabled
2057 // "-emailTP": email tracking protection disabled
2058 // Email Tracking Protection in private windows:
2059 // "emailTPPrivate": email tracking protection in private windows enabled
2060 // "-emailTPPrivate": email tracking protection in private windows disabled
2061 // Level 2 Tracking list in normal windows:
2062 // "lvl2": Level 2 tracking list enabled
2063 // "-lvl2": Level 2 tracking list disabled
2064 // Restrict relaxing default referrer policy:
2065 // "rp": Restrict relaxing default referrer policy enabled
2066 // "-rp": Restrict relaxing default referrer policy disabled
2067 // Restrict relaxing default referrer policy for top navigation:
2068 // "rpTop": Restrict relaxing default referrer policy enabled
2069 // "-rpTop": Restrict relaxing default referrer policy disabled
2070 // OCSP cache partitioning:
2071 // "ocsp": OCSP cache partitioning enabled
2072 // "-ocsp": OCSP cache partitioning disabled
2073 // Query parameter stripping:
2074 // "qps": Query parameter stripping enabled
2075 // "-qps": Query parameter stripping disabled
2076 // Query parameter stripping for private windows:
2077 // "qpsPBM": Query parameter stripping enabled in private windows
2078 // "-qpsPBM": Query parameter stripping disabled in private windows
2079 // Fingerprinting Protection:
2080 // "fpp": Fingerprinting Protection enabled
2081 // "-fpp": Fingerprinting Protection disabled
2082 // Fingerprinting Protection for private windows:
2083 // "fppPrivate": Fingerprinting Protection enabled in private windows
2084 // "-fppPrivate": Fingerprinting Protection disabled in private windows
2086 // "cookieBehavior0": cookie behaviour BEHAVIOR_ACCEPT
2087 // "cookieBehavior1": cookie behaviour BEHAVIOR_REJECT_FOREIGN
2088 // "cookieBehavior2": cookie behaviour BEHAVIOR_REJECT
2089 // "cookieBehavior3": cookie behaviour BEHAVIOR_LIMIT_FOREIGN
2090 // "cookieBehavior4": cookie behaviour BEHAVIOR_REJECT_TRACKER
2091 // "cookieBehavior5": cookie behaviour BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN
2092 // Cookie behavior for private windows:
2093 // "cookieBehaviorPBM0": cookie behaviour BEHAVIOR_ACCEPT
2094 // "cookieBehaviorPBM1": cookie behaviour BEHAVIOR_REJECT_FOREIGN
2095 // "cookieBehaviorPBM2": cookie behaviour BEHAVIOR_REJECT
2096 // "cookieBehaviorPBM3": cookie behaviour BEHAVIOR_LIMIT_FOREIGN
2097 // "cookieBehaviorPBM4": cookie behaviour BEHAVIOR_REJECT_TRACKER
2098 // "cookieBehaviorPBM5": cookie behaviour BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN
2099 // One value from each section must be included in the browser.contentblocking.features.strict pref.
2100 pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior5,cookieBehaviorPBM5,cm,fp,stp,emailTP,emailTPPrivate,lvl2,rp,rpTop,ocsp,qps,qpsPBM,fpp,fppPrivate");
2102 // Hide the "Change Block List" link for trackers/tracking content in the custom
2103 // Content Blocking/ETP panel. By default, it will not be visible. There is also
2104 // an UI migration in place to set this pref to true if a user has a custom block
2106 pref("browser.contentblocking.customBlockList.preferences.ui.enabled", false);
2108 // Enable Protections report's Lockwise card by default.
2109 pref("browser.contentblocking.report.lockwise.enabled", true);
2111 // Disable rotections report's Monitor card by default. The new Monitor API does
2112 // not support this feature as of now. See Bug 1815751.
2113 pref("browser.contentblocking.report.monitor.enabled", false);
2115 // Disable Protections report's Proxy card by default.
2116 pref("browser.contentblocking.report.proxy.enabled", false);
2118 // Disable the mobile promotion by default.
2119 pref("browser.contentblocking.report.show_mobile_app", true);
2121 // Locales in which Send to Device emails are supported
2122 // The most recent list of supported locales can be found at https://github.com/mozilla/bedrock/blob/6a08c876f65924651554decc57b849c00874b4e7/bedrock/settings/base.py#L963
2123 pref("browser.send_to_device_locales", "de,en-GB,en-US,es-AR,es-CL,es-ES,es-MX,fr,id,pl,pt-BR,ru,zh-TW");
2125 // Avoid advertising in certain regions. Comma separated string of two letter ISO 3166-1 country codes.
2126 pref("browser.vpn_promo.disallowed_regions", "ae,by,cn,cu,iq,ir,kp,om,ru,sd,sy,tm,tr");
2128 // Default to enabling VPN promo messages to be shown when specified and allowed
2129 pref("browser.vpn_promo.enabled", true);
2130 // Only show vpn card to certain regions. Comma separated string of two letter ISO 3166-1 country codes.
2131 // The most recent list of supported countries can be found at https://support.mozilla.org/en-US/kb/mozilla-vpn-countries-available-subscribe
2132 // The full list of supported country codes can also be found at https://github.com/mozilla/bedrock/search?q=VPN_COUNTRY_CODES
2133 pref("browser.contentblocking.report.vpn_regions", "ca,my,nz,sg,gb,gg,im,io,je,uk,vg,as,mp,pr,um,us,vi,de,fr,at,be,ch,es,it,ie,nl,se,fi,bg,cy,cz,dk,ee,hr,hu,lt,lu,lv,mt,pl,pt,ro,si,sk");
2135 // Avoid advertising Focus in certain regions. Comma separated string of two letter
2136 // ISO 3166-1 country codes.
2137 pref("browser.promo.focus.disallowed_regions", "cn");
2139 // Default to enabling focus promos to be shown where allowed.
2140 pref("browser.promo.focus.enabled", true);
2142 // Default to enabling pin promos to be shown where allowed.
2143 pref("browser.promo.pin.enabled", true);
2145 // Default to enabling cookie banner reduction promos to be shown where allowed.
2146 // Set to true for Fx113 (see bug 1808611)
2147 pref("browser.promo.cookiebanners.enabled", false);
2149 pref("browser.contentblocking.report.hide_vpn_banner", false);
2150 pref("browser.contentblocking.report.vpn_sub_id", "sub_HrfCZF7VPHzZkA");
2152 pref("browser.contentblocking.report.monitor.url", "https://monitor.firefox.com/?entrypoint=protection_report_monitor&utm_source=about-protections");
2153 pref("browser.contentblocking.report.monitor.how_it_works.url", "https://monitor.firefox.com/about");
2154 pref("browser.contentblocking.report.monitor.sign_in_url", "https://monitor.firefox.com/oauth/init?entrypoint=protection_report_monitor&utm_source=about-protections&email=");
2155 pref("browser.contentblocking.report.monitor.preferences_url", "https://monitor.firefox.com/user/preferences");
2156 pref("browser.contentblocking.report.monitor.home_page_url", "https://monitor.firefox.com/user/dashboard");
2157 pref("browser.contentblocking.report.manage_devices.url", "https://accounts.firefox.com/settings/clients");
2158 pref("browser.contentblocking.report.endpoint_url", "https://monitor.firefox.com/user/breach-stats?includeResolved=true");
2159 pref("browser.contentblocking.report.proxy_extension.url", "https://fpn.firefox.com/browser?utm_source=firefox-desktop&utm_medium=referral&utm_campaign=about-protections&utm_content=about-protections");
2160 pref("browser.contentblocking.report.mobile-ios.url", "https://apps.apple.com/app/firefox-private-safe-browser/id989804926");
2161 pref("browser.contentblocking.report.mobile-android.url", "https://play.google.com/store/apps/details?id=org.mozilla.firefox&referrer=utm_source%3Dprotection_report%26utm_content%3Dmobile_promotion");
2162 pref("browser.contentblocking.report.vpn.url", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=about-protections-card");
2163 pref("browser.contentblocking.report.vpn-promo.url", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=about-protections-top-promo");
2164 pref("browser.contentblocking.report.vpn-android.url", "https://play.google.com/store/apps/details?id=org.mozilla.firefox.vpn&referrer=utm_source%3Dfirefox-browser%26utm_medium%3Dfirefox-browser%26utm_campaign%3Dabout-protections-mobile-vpn%26anid%3D--");
2165 pref("browser.contentblocking.report.vpn-ios.url", "https://apps.apple.com/us/app/firefox-private-network-vpn/id1489407738");
2167 // Protection Report's SUMO urls
2168 pref("browser.contentblocking.report.lockwise.how_it_works.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/password-manager-report");
2169 pref("browser.contentblocking.report.social.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/social-media-tracking-report");
2170 pref("browser.contentblocking.report.cookie.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/cross-site-tracking-report");
2171 pref("browser.contentblocking.report.tracker.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/tracking-content-report");
2172 pref("browser.contentblocking.report.fingerprinter.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/fingerprinters-report");
2173 pref("browser.contentblocking.report.cryptominer.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/cryptominers-report");
2175 pref("browser.contentblocking.cfr-milestone.enabled", true);
2176 pref("browser.contentblocking.cfr-milestone.milestone-achieved", 0);
2177 // Milestones should always be in increasing order
2178 pref("browser.contentblocking.cfr-milestone.milestones", "[1000, 5000, 10000, 25000, 50000, 100000, 250000, 314159, 500000, 750000, 1000000, 1250000, 1500000, 1750000, 2000000, 2250000, 2500000, 8675309]");
2180 // Controls the initial state of the protections panel collapsible info message.
2181 pref("browser.protections_panel.infoMessage.seen", false);
2183 // Always enable newtab segregation using containers
2184 pref("privacy.usercontext.about_newtab_segregation.enabled", true);
2185 // Enable Contextual Identity Containers
2186 #ifdef NIGHTLY_BUILD
2187 pref("privacy.userContext.enabled", true);
2188 pref("privacy.userContext.ui.enabled", true);
2190 pref("privacy.userContext.enabled", false);
2191 pref("privacy.userContext.ui.enabled", false);
2193 pref("privacy.userContext.extension", "");
2194 // allows user to open container menu on a left click instead of a new
2195 // tab in the default container
2196 pref("privacy.userContext.newTabContainerOnLeftClick.enabled", false);
2198 // Set to true to allow the user to silence all notifications when
2199 // sharing the screen.
2200 pref("privacy.webrtc.allowSilencingNotifications", true);
2201 pref("privacy.webrtc.hideGlobalIndicator", false);
2203 // Set to true to add toggles to the WebRTC indicator for globally
2204 // muting the camera and microphone.
2205 pref("privacy.webrtc.globalMuteToggles", false);
2207 // Set to true to enable a warning displayed when attempting
2208 // to switch tabs in a window that's being shared over WebRTC.
2209 pref("privacy.webrtc.sharedTabWarning", false);
2211 // Defines a grace period after camera or microphone use ends, where permission
2212 // is granted (even past navigation) to this tab + origin + device. This avoids
2213 // re-prompting without the user having to persist permission to the site, in a
2214 // common case of a web conference asking them for the camera in a lobby page,
2215 // before navigating to the actual meeting room page. Doesn't survive tab close.
2216 pref("privacy.webrtc.deviceGracePeriodTimeoutMs", 3600000);
2218 // Bug 1857254 - MacOS 14 displays two (microphone/camera/screen share) icons in the menu bar
2219 // This pref can be used to hide the firefox camera icon on macos 14 and above to avoid
2220 // duplicating the macos camera icon. We show the icon by default, users can choose to flip
2221 // the pref to hide the icons
2222 pref("privacy.webrtc.showIndicatorsOnMacos14AndAbove", true);
2224 // Enable Fingerprinting Protection in private windows..
2225 pref("privacy.fingerprintingProtection.pbmode", true);
2227 // Enable including the content in the window title.
2228 // PBM users might want to disable this to avoid a possible source of disk
2230 pref("privacy.exposeContentTitleInWindow", true);
2231 pref("privacy.exposeContentTitleInWindow.pbm", true);
2233 // Run media transport in a separate process?
2234 pref("media.peerconnection.mtransport_process", true);
2236 // For speculatively warming up tabs to improve perceived
2237 // performance while using the async tab switcher.
2238 pref("browser.tabs.remote.warmup.enabled", true);
2240 // Caches tab layers to improve perceived performance
2242 pref("browser.tabs.remote.tabCacheSize", 0);
2244 pref("browser.tabs.remote.warmup.maxTabs", 3);
2245 pref("browser.tabs.remote.warmup.unloadDelayMs", 2000);
2247 // For the about:tabcrashed page
2248 pref("browser.tabs.crashReporting.sendReport", true);
2249 pref("browser.tabs.crashReporting.includeURL", false);
2251 // If true, unprivileged extensions may use experimental APIs on
2252 // nightly and developer edition.
2253 pref("extensions.experiments.enabled", false);
2256 pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", true);
2259 // Don't limit how many nodes we care about on desktop:
2260 pref("reader.parse-node-limit", 0);
2262 // On desktop, we want the URLs to be included here for ease of debugging,
2263 // and because (normally) these errors are not persisted anywhere.
2264 pref("reader.errors.includeURLs", true);
2266 pref("view_source.tab", true);
2268 // These are the thumbnail width/height set in about:newtab.
2269 // If you change this, ENSURE IT IS THE SAME SIZE SET
2270 // by about:newtab. These values are in CSS pixels.
2271 pref("toolkit.pageThumbs.minWidth", 280);
2272 pref("toolkit.pageThumbs.minHeight", 190);
2274 pref("browser.esedbreader.loglevel", "Error");
2276 pref("browser.laterrun.enabled", false);
2278 #ifdef FUZZING_SNAPSHOT
2279 pref("dom.ipc.processPrelaunch.enabled", false);
2281 pref("dom.ipc.processPrelaunch.enabled", true);
2284 pref("browser.migrate.bookmarks-file.enabled", true);
2285 pref("browser.migrate.brave.enabled", true);
2286 pref("browser.migrate.canary.enabled", true);
2288 pref("browser.migrate.chrome.enabled", true);
2289 // See comments in bug 1340115 on how we got to this number.
2290 pref("browser.migrate.chrome.history.limit", 2000);
2291 pref("browser.migrate.chrome.payment_methods.enabled", true);
2292 pref("browser.migrate.chrome.extensions.enabled", true);
2293 pref("browser.migrate.chrome.get_permissions.enabled", true);
2295 pref("browser.migrate.chrome-beta.enabled", true);
2296 pref("browser.migrate.chrome-dev.enabled", true);
2297 pref("browser.migrate.chromium.enabled", true);
2298 pref("browser.migrate.chromium-360se.enabled", true);
2299 pref("browser.migrate.chromium-edge.enabled", true);
2300 pref("browser.migrate.chromium-edge-beta.enabled", true);
2301 pref("browser.migrate.edge.enabled", true);
2302 pref("browser.migrate.firefox.enabled", true);
2303 pref("browser.migrate.ie.enabled", true);
2304 pref("browser.migrate.opera.enabled", true);
2305 pref("browser.migrate.opera-gx.enabled", true);
2306 pref("browser.migrate.safari.enabled", true);
2307 pref("browser.migrate.vivaldi.enabled", true);
2309 pref("browser.migrate.content-modal.import-all.enabled", true);
2311 // Values can be: "default", "autoclose", "standalone", "embedded".
2312 pref("browser.migrate.content-modal.about-welcome-behavior", "embedded");
2314 // The maximum age of history entries we'll import, in days.
2315 pref("browser.migrate.history.maxAgeInDays", 180);
2317 // These following prefs are set to true if the user has at some
2318 // point in the past migrated one of these resource types from
2319 // another browser. We also attempt to transfer these preferences
2320 // across profile resets.
2321 pref("browser.migrate.interactions.bookmarks", false);
2322 pref("browser.migrate.interactions.csvpasswords", false);
2323 pref("browser.migrate.interactions.history", false);
2324 pref("browser.migrate.interactions.passwords", false);
2326 pref("browser.migrate.preferences-entrypoint.enabled", true);
2328 pref("extensions.pocket.api", "api.getpocket.com");
2329 pref("extensions.pocket.bffApi", "firefox-api-proxy.cdn.mozilla.net");
2330 pref("extensions.pocket.bffRecentSaves", true);
2331 pref("extensions.pocket.enabled", true);
2332 pref("extensions.pocket.oAuthConsumerKey", "40249-e88c401e1b1f2242d9e441c4");
2333 pref("extensions.pocket.oAuthConsumerKeyBff", "94110-6d5ff7a89d72c869766af0e0");
2334 pref("extensions.pocket.site", "getpocket.com");
2336 // Enable Pocket button home panel for non link pages.
2337 pref("extensions.pocket.showHome", true);
2339 // Control what version of the logged out doorhanger is displayed
2340 // Possibilities are: `control`, `control-one-button`, `variant_a`, `variant_b`, `variant_c`
2341 pref("extensions.pocket.loggedOutVariant", "control");
2343 // Just for the new Pocket panels, enables the email signup button.
2344 pref("extensions.pocket.refresh.emailButton.enabled", false);
2345 // Hides the recently saved section in the home panel.
2346 pref("extensions.pocket.refresh.hideRecentSaves.enabled", false);
2348 pref("signon.management.page.fileImport.enabled", true);
2350 #ifdef NIGHTLY_BUILD
2351 pref("signon.management.page.os-auth.enabled", true);
2353 pref("signon.management.page.os-auth.enabled", false);
2355 // "available" - user can see feature offer.
2356 // "offered" - we have offered feature to user and they have not yet made a decision.
2357 // "enabled" - user opted in to the feature.
2358 // "disabled" - user opted out of the feature.
2359 pref("signon.firefoxRelay.feature", "available");
2360 pref("signon.management.page.breach-alerts.enabled", true);
2361 pref("signon.management.page.vulnerable-passwords.enabled", true);
2362 pref("signon.management.page.sort", "name");
2363 // The utm_creative value is appended within the code (specific to the location on
2364 // where it is clicked). Be sure that if these two prefs are updated, that
2365 // the utm_creative param be last.
2366 pref("signon.management.page.breachAlertUrl",
2367 "https://monitor.firefox.com/breach-details/");
2368 pref("signon.passwordEditCapture.enabled", true);
2369 pref("signon.relatedRealms.enabled", false);
2370 pref("signon.showAutoCompleteFooter", true);
2371 pref("signon.showAutoCompleteImport", "import");
2372 pref("signon.suggestImportCount", 3);
2374 // Space separated list of URLS that are allowed to send objects (instead of
2375 // only strings) through webchannels. Bug 1275612 tracks removing this pref and capability.
2376 pref("webchannel.allowObject.urlWhitelist", "https://content.cdn.mozilla.net https://install.mozilla.org");
2378 // Whether or not the browser should scan for unsubmitted
2379 // crash reports, and then show a notification for submitting
2381 #ifdef NIGHTLY_BUILD
2382 pref("browser.crashReports.unsubmittedCheck.enabled", true);
2384 pref("browser.crashReports.unsubmittedCheck.enabled", false);
2387 // chancesUntilSuppress is how many times we'll show the unsubmitted
2388 // crash report notification across different days and shutdown
2389 // without a user choice before we suppress the notification for
2390 // some number of days.
2391 pref("browser.crashReports.unsubmittedCheck.chancesUntilSuppress", 4);
2392 pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
2394 // Preferences for the form autofill toolkit component.
2395 // Checkbox in sync options for credit card data sync service
2396 pref("services.sync.engine.creditcards.available", true);
2397 // Whether the user enabled the OS re-auth dialog.
2398 pref("extensions.formautofill.reauth.enabled", false);
2400 // Whether or not to restore a session with lazy-browser tabs.
2401 pref("browser.sessionstore.restore_tabs_lazily", true);
2403 pref("browser.suppress_first_window_animation", true);
2405 // Preference that allows individual users to disable Screenshots.
2406 pref("extensions.screenshots.disabled", false);
2408 // Preference that determines whether Screenshots uses the dedicated browser component
2409 #ifdef NIGHTLY_BUILD
2410 pref("screenshots.browser.component.enabled", true);
2412 pref("screenshots.browser.component.enabled", false);
2415 // Preference that determines what button to focus
2416 pref("screenshots.browser.component.last-saved-method", "download");
2418 // DoH Rollout: whether to clear the mode value at shutdown.
2419 pref("doh-rollout.clearModeOnShutdown", false);
2421 // Normandy client preferences
2422 pref("app.normandy.api_url", "https://normandy.cdn.mozilla.net/api/v1");
2423 pref("app.normandy.dev_mode", false);
2424 pref("app.normandy.enabled", true);
2425 pref("app.normandy.first_run", true);
2426 pref("app.normandy.logging.level", 50); // Warn
2427 pref("app.normandy.run_interval_seconds", 21600); // 6 hours
2428 pref("app.normandy.shieldLearnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/shield");
2429 pref("app.normandy.last_seen_buildid", "");
2430 pref("app.normandy.onsync_skew_sec", 600);
2431 #ifdef MOZ_DATA_REPORTING
2432 pref("app.shield.optoutstudies.enabled", true);
2434 pref("app.shield.optoutstudies.enabled", false);
2437 // Multi-lingual preferences:
2438 // *.enabled - Are langpacks available for the build of Firefox?
2439 // *.downloadEnabled - Langpacks are allowed to be downloaded from AMO. AMO only serves
2440 // langpacks for release and beta. Unsupported releases (like Nightly) can be
2441 // manually tested with the following preference:
2442 // extensions.getAddons.langpacks.url: https://mock-amo-language-tools.glitch.me/?app=firefox&type=language&appversion=%VERSION%
2443 // *.liveReload - Switching a langpack will change the language without a restart.
2444 // *.liveReloadBidirectional - Allows switching when moving between LTR and RTL
2445 // languages without a full restart.
2446 // *.aboutWelcome.languageMismatchEnabled - Enables an onboarding menu in about:welcome
2447 // to allow a user to change their language when there is a language mismatch between
2448 // the app and browser.
2449 #if defined(RELEASE_OR_BETA) && !defined(MOZ_DEV_EDITION)
2450 pref("intl.multilingual.enabled", true);
2451 pref("intl.multilingual.downloadEnabled", true);
2452 pref("intl.multilingual.liveReload", true);
2453 pref("intl.multilingual.liveReloadBidirectional", false);
2454 pref("intl.multilingual.aboutWelcome.languageMismatchEnabled", true);
2456 pref("intl.multilingual.enabled", false);
2457 pref("intl.multilingual.downloadEnabled", false);
2458 pref("intl.multilingual.liveReload", false);
2459 pref("intl.multilingual.liveReloadBidirectional", false);
2460 pref("intl.multilingual.aboutWelcome.languageMismatchEnabled", false);
2463 // Coverage ping is disabled by default.
2464 pref("toolkit.coverage.enabled", false);
2465 pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org");
2468 pref("browser.discovery.enabled", true);
2469 pref("browser.discovery.containers.enabled", true);
2470 pref("browser.discovery.sites", "addons.mozilla.org");
2472 pref("browser.engagement.recent_visited_origins.expiry", 86400); // 24 * 60 * 60 (24 hours in seconds)
2473 pref("browser.engagement.downloads-button.has-used", false);
2474 pref("browser.engagement.fxa-toolbar-menu-button.has-used", false);
2475 pref("browser.engagement.home-button.has-used", false);
2476 pref("browser.engagement.sidebar-button.has-used", false);
2477 pref("browser.engagement.library-button.has-used", false);
2478 pref("browser.engagement.ctrlTab.has-used", false);
2480 pref("browser.aboutConfig.showWarning", true);
2482 pref("browser.toolbars.keyboard_navigation", true);
2484 // The visibility of the bookmarks toolbar.
2485 // "newtab": Show on the New Tab Page
2486 // "always": Always show
2487 // "never": Never show
2488 pref("browser.toolbars.bookmarks.visibility", "newtab");
2490 // Visibility of the "Show Other Bookmarks" menuitem in the
2491 // bookmarks toolbar contextmenu.
2492 pref("browser.toolbars.bookmarks.showOtherBookmarks", true);
2495 // Felt Privacy pref to control simplified private browsing UI
2496 pref("browser.privatebrowsing.felt-privacy-v1", false);
2498 // Prefs to control the Firefox Account toolbar menu.
2499 // This pref will surface existing Firefox Account information
2500 // as a button next to the hamburger menu. It allows
2501 // quick access to sign-in and manage your Firefox Account.
2502 pref("identity.fxaccounts.toolbar.enabled", true);
2503 pref("identity.fxaccounts.toolbar.accessed", false);
2504 pref("identity.fxaccounts.toolbar.defaultVisible", true);
2506 // Prefs to control Firefox Account panels that shows call to actions
2507 // for other supported Mozilla products
2508 pref("identity.fxaccounts.toolbar.pxiToolbarEnabled", false);
2509 pref("identity.fxaccounts.toolbar.pxiToolbarEnabled.monitorEnabled", true);
2510 pref("identity.fxaccounts.toolbar.pxiToolbarEnabled.relayEnabled", true);
2511 pref("identity.fxaccounts.toolbar.pxiToolbarEnabled.vpnEnabled", true);
2513 // Check bundled omni JARs for corruption.
2514 pref("corroborator.enabled", true);
2516 // Toolbox preferences
2517 pref("devtools.toolbox.footer.height", 250);
2518 pref("devtools.toolbox.sidebar.width", 500);
2519 pref("devtools.toolbox.host", "bottom");
2520 pref("devtools.toolbox.previousHost", "right");
2521 pref("devtools.toolbox.selectedTool", "inspector");
2522 pref("devtools.toolbox.zoomValue", "1");
2523 pref("devtools.toolbox.splitconsoleEnabled", false);
2524 pref("devtools.toolbox.splitconsoleHeight", 100);
2525 pref("devtools.toolbox.tabsOrder", "");
2526 // This is only used for local Web Extension debugging,
2527 // and allows to keep the window on top of all others,
2528 // so that you can debug the Firefox window, while keeping the devtools
2530 pref("devtools.toolbox.alwaysOnTop", true);
2532 // When the Multiprocess Browser Toolbox is enabled, you can configure the scope of it:
2533 // - "everything" will enable debugging absolutely everything in the browser
2534 // All processes, all documents, all workers, all add-ons.
2535 // - "parent-process" will restrict debugging to the parent process
2536 // All privileged javascript, documents and workers running in the parent process.
2537 pref("devtools.browsertoolbox.scope", "parent-process");
2539 // This preference will enable watching top-level targets from the server side.
2540 pref("devtools.target-switching.server.enabled", true);
2542 // In DevTools, create a target for each frame (i.e. not only for top-level document and
2544 pref("devtools.every-frame-target.enabled", true);
2546 // Controls the hability to debug popups from the same DevTools
2547 // of the original tab the popups are coming from
2548 pref("devtools.popups.debug", false);
2550 // Toolbox Button preferences
2551 pref("devtools.command-button-pick.enabled", true);
2552 pref("devtools.command-button-frames.enabled", true);
2553 pref("devtools.command-button-splitconsole.enabled", true);
2554 pref("devtools.command-button-responsive.enabled", true);
2555 pref("devtools.command-button-screenshot.enabled", false);
2556 pref("devtools.command-button-rulers.enabled", false);
2557 pref("devtools.command-button-measure.enabled", false);
2558 pref("devtools.command-button-noautohide.enabled", false);
2559 pref("devtools.command-button-errorcount.enabled", true);
2560 #ifndef MOZILLA_OFFICIAL
2561 pref("devtools.command-button-experimental-prefs.enabled", true);
2564 // Inspector preferences
2565 // Enable the Inspector
2566 pref("devtools.inspector.enabled", true);
2567 // What was the last active sidebar in the inspector
2568 pref("devtools.inspector.selectedSidebar", "layoutview");
2569 pref("devtools.inspector.activeSidebar", "layoutview");
2570 pref("devtools.inspector.remote", false);
2572 // Enable the 3 pane mode in the inspector
2573 pref("devtools.inspector.three-pane-enabled", true);
2574 // Enable the 3 pane mode in the chrome inspector
2575 pref("devtools.inspector.chrome.three-pane-enabled", false);
2576 // Collapse pseudo-elements by default in the rule-view
2577 pref("devtools.inspector.show_pseudo_elements", false);
2578 // The default size for image preview tooltips in the rule-view/computed-view/markup-view
2579 pref("devtools.inspector.imagePreviewTooltipSize", 300);
2580 // Enable user agent style inspection in rule-view
2581 pref("devtools.inspector.showUserAgentStyles", false);
2582 // Show native anonymous content and user agent shadow roots
2583 pref("devtools.inspector.showAllAnonymousContent", false);
2584 // Enable overflow debugging in the inspector.
2585 pref("devtools.overflow.debugging.enabled", true);
2586 // Enable drag to edit properties in the inspector rule view.
2587 pref("devtools.inspector.draggable_properties", true);
2589 // Grid highlighter preferences
2590 pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
2591 pref("devtools.gridinspector.gridOutlineMaxRows", 50);
2592 pref("devtools.gridinspector.showGridAreas", false);
2593 pref("devtools.gridinspector.showGridLineNumbers", false);
2594 pref("devtools.gridinspector.showInfiniteLines", false);
2595 // Max number of grid highlighters that can be displayed
2596 pref("devtools.gridinspector.maxHighlighters", 3);
2598 // Whether or not simplified highlighters should be used when
2599 // prefers-reduced-motion is enabled.
2600 pref("devtools.inspector.simple-highlighters-reduced-motion", false);
2601 // Wheter or not Enter on inplace editor in the Rules view moves focus and activates
2602 // next inplace editor.
2603 pref("devtools.inspector.rule-view.focusNextOnEnter", true);
2605 // Whether or not the box model panel is opened in the layout view
2606 pref("devtools.layout.boxmodel.opened", true);
2607 // Whether or not the flexbox panel is opened in the layout view
2608 pref("devtools.layout.flexbox.opened", true);
2609 // Whether or not the flexbox container panel is opened in the layout view
2610 pref("devtools.layout.flex-container.opened", true);
2611 // Whether or not the flexbox item panel is opened in the layout view
2612 pref("devtools.layout.flex-item.opened", true);
2613 // Whether or not the grid inspector panel is opened in the layout view
2614 pref("devtools.layout.grid.opened", true);
2616 // Enable hovering Box Model values and jumping to their source CSS rule in the
2618 #if defined(NIGHTLY_BUILD)
2619 pref("devtools.layout.boxmodel.highlightProperty", true);
2621 pref("devtools.layout.boxmodel.highlightProperty", false);
2624 // By how many times eyedropper will magnify pixels
2625 pref("devtools.eyedropper.zoom", 6);
2627 // Enable to collapse attributes that are too long.
2628 pref("devtools.markup.collapseAttributes", true);
2629 // Length to collapse attributes
2630 pref("devtools.markup.collapseAttributeLength", 120);
2631 // Whether to auto-beautify the HTML on copy.
2632 pref("devtools.markup.beautifyOnCopy", false);
2634 // DevTools default color unit
2635 pref("devtools.defaultColorUnit", "authored");
2637 // Enable the Memory tools
2638 pref("devtools.memory.enabled", true);
2640 pref("devtools.memory.custom-census-displays", "{}");
2641 pref("devtools.memory.custom-label-displays", "{}");
2642 pref("devtools.memory.custom-tree-map-displays", "{}");
2644 pref("devtools.memory.max-individuals", 1000);
2645 pref("devtools.memory.max-retaining-paths", 10);
2647 // Enable the Performance tools
2648 pref("devtools.performance.enabled", true);
2650 // The default cache UI setting
2651 pref("devtools.cache.disabled", false);
2653 // The default service workers UI setting
2654 pref("devtools.serviceWorkers.testing.enabled", false);
2656 // Enable the Network Monitor
2657 pref("devtools.netmonitor.enabled", true);
2659 pref("devtools.netmonitor.features.search", true);
2660 pref("devtools.netmonitor.features.requestBlocking", true);
2662 // Enable the Application panel
2663 pref("devtools.application.enabled", true);
2665 // Enable the custom formatters feature
2666 // This preference represents the user's choice to enable the custom formatters feature.
2667 // While the preference above will be removed once the feature is stable, this one is menat to stay.
2668 pref("devtools.custom-formatters.enabled", false);
2670 // The default Network Monitor UI settings
2671 pref("devtools.netmonitor.panes-network-details-width", 550);
2672 pref("devtools.netmonitor.panes-network-details-height", 450);
2673 pref("devtools.netmonitor.panes-search-width", 550);
2674 pref("devtools.netmonitor.panes-search-height", 450);
2675 pref("devtools.netmonitor.filters", "[\"all\"]");
2676 pref("devtools.netmonitor.visibleColumns",
2677 "[\"status\",\"method\",\"domain\",\"file\",\"initiator\",\"type\",\"transferred\",\"contentSize\",\"waterfall\"]"
2679 pref("devtools.netmonitor.columnsData",
2680 '[{"name":"status","minWidth":30,"width":5}, {"name":"method","minWidth":30,"width":5}, {"name":"domain","minWidth":30,"width":10}, {"name":"file","minWidth":30,"width":25}, {"name":"url","minWidth":30,"width":25},{"name":"initiator","minWidth":30,"width":10},{"name":"type","minWidth":30,"width":5},{"name":"transferred","minWidth":30,"width":10},{"name":"contentSize","minWidth":30,"width":5},{"name":"waterfall","minWidth":150,"width":15}]');
2681 pref("devtools.netmonitor.msg.payload-preview-height", 128);
2682 pref("devtools.netmonitor.msg.visibleColumns",
2685 pref("devtools.netmonitor.msg.displayed-messages.limit", 500);
2687 pref("devtools.netmonitor.response.ui.limit", 10240);
2689 // Save request/response bodies yes/no.
2690 pref("devtools.netmonitor.saveRequestAndResponseBodies", true);
2692 // The default Network monitor HAR export setting
2693 pref("devtools.netmonitor.har.defaultLogDir", "");
2694 pref("devtools.netmonitor.har.defaultFileName", "%hostname_Archive [%date]");
2695 pref("devtools.netmonitor.har.jsonp", false);
2696 pref("devtools.netmonitor.har.jsonpCallback", "");
2697 pref("devtools.netmonitor.har.includeResponseBodies", true);
2698 pref("devtools.netmonitor.har.compress", false);
2699 pref("devtools.netmonitor.har.forceExport", false);
2700 pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
2701 pref("devtools.netmonitor.har.enableAutoExportToFile", false);
2702 pref("devtools.netmonitor.har.multiple-pages", false);
2705 pref("devtools.netmonitor.audits.slow", 500);
2707 // Enable the new Edit and Resend panel
2708 pref("devtools.netmonitor.features.newEditAndResend", true);
2710 pref("devtools.netmonitor.customRequest", '{}');
2712 // Enable the Storage Inspector
2713 pref("devtools.storage.enabled", true);
2715 // Enable the Style Editor.
2716 pref("devtools.styleeditor.enabled", true);
2717 pref("devtools.styleeditor.autocompletion-enabled", true);
2718 pref("devtools.styleeditor.showAtRulesSidebar", true);
2719 pref("devtools.styleeditor.atRulesSidebarWidth", 238);
2720 pref("devtools.styleeditor.navSidebarWidth", 245);
2721 pref("devtools.styleeditor.transitions", true);
2723 // Screenshot Option Settings.
2724 pref("devtools.screenshot.clipboard.enabled", false);
2725 pref("devtools.screenshot.audio.enabled", true);
2727 // Make sure the DOM panel is hidden by default
2728 pref("devtools.dom.enabled", false);
2730 // Enable the Accessibility panel.
2731 pref("devtools.accessibility.enabled", true);
2733 // Web console filters
2734 pref("devtools.webconsole.filter.error", true);
2735 pref("devtools.webconsole.filter.warn", true);
2736 pref("devtools.webconsole.filter.info", true);
2737 pref("devtools.webconsole.filter.log", true);
2738 pref("devtools.webconsole.filter.debug", true);
2739 pref("devtools.webconsole.filter.css", false);
2740 pref("devtools.webconsole.filter.net", false);
2741 pref("devtools.webconsole.filter.netxhr", false);
2743 // Webconsole autocomplete preference
2744 pref("devtools.webconsole.input.autocomplete",true);
2746 // Show context selector in console input
2747 pref("devtools.webconsole.input.context", true);
2749 // Set to true to eagerly show the results of webconsole terminal evaluations
2750 // when they don't have side effects.
2751 pref("devtools.webconsole.input.eagerEvaluation", true);
2753 // Browser console filters
2754 pref("devtools.browserconsole.filter.error", true);
2755 pref("devtools.browserconsole.filter.warn", true);
2756 pref("devtools.browserconsole.filter.info", true);
2757 pref("devtools.browserconsole.filter.log", true);
2758 pref("devtools.browserconsole.filter.debug", true);
2759 pref("devtools.browserconsole.filter.css", false);
2760 pref("devtools.browserconsole.filter.net", false);
2761 pref("devtools.browserconsole.filter.netxhr", false);
2763 // Max number of inputs to store in web console history.
2764 pref("devtools.webconsole.inputHistoryCount", 300);
2766 // Persistent logging: |true| if you want the relevant tool to keep all of the
2767 // logged messages after reloading the page, |false| if you want the output to
2768 // be cleared each time page navigation happens.
2769 pref("devtools.webconsole.persistlog", false);
2770 pref("devtools.netmonitor.persistlog", false);
2772 // Web Console timestamp: |true| if you want the logs and instructions
2773 // in the Web Console to display a timestamp, or |false| to not display
2775 pref("devtools.webconsole.timestampMessages", false);
2777 // Enable the webconsole sidebar toggle in Nightly builds.
2778 #if defined(NIGHTLY_BUILD)
2779 pref("devtools.webconsole.sidebarToggle", true);
2781 pref("devtools.webconsole.sidebarToggle", false);
2784 // Saved editor mode state in the console.
2785 pref("devtools.webconsole.input.editor", false);
2786 pref("devtools.browserconsole.input.editor", false);
2788 // Editor width for webconsole and browserconsole.
2789 pref("devtools.webconsole.input.editorWidth", 0);
2790 pref("devtools.browserconsole.input.editorWidth", 0);
2792 // Display an onboarding UI for the Editor mode.
2793 pref("devtools.webconsole.input.editorOnboarding", true);
2795 // Enable message grouping in the console, true by default
2796 pref("devtools.webconsole.groupWarningMessages", true);
2798 // Enable network monitoring the browser toolbox console/browser console.
2799 pref("devtools.browserconsole.enableNetworkMonitoring", false);
2801 // Enable client-side mapping service for source maps
2802 pref("devtools.source-map.client-service.enabled", true);
2804 // The number of lines that are displayed in the web console.
2805 pref("devtools.hud.loglimit", 10000);
2807 // The developer tools editor configuration:
2808 // - tabsize: how many spaces to use when a Tab character is displayed.
2809 // - expandtab: expand Tab characters to spaces.
2810 // - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
2811 // - autoclosebrackets: whether to permit automatic bracket/quote closing.
2812 // - detectindentation: whether to detect the indentation from the file
2813 // - enableCodeFolding: Whether to enable code folding or not.
2814 pref("devtools.editor.tabsize", 2);
2815 pref("devtools.editor.expandtab", true);
2816 pref("devtools.editor.keymap", "default");
2817 pref("devtools.editor.autoclosebrackets", true);
2818 pref("devtools.editor.detectindentation", true);
2819 pref("devtools.editor.enableCodeFolding", true);
2820 pref("devtools.editor.autocomplete", true);
2822 // The angle of the viewport.
2823 pref("devtools.responsive.viewport.angle", 0);
2824 // The width of the viewport.
2825 pref("devtools.responsive.viewport.width", 320);
2826 // The height of the viewport.
2827 pref("devtools.responsive.viewport.height", 480);
2828 // The pixel ratio of the viewport.
2829 pref("devtools.responsive.viewport.pixelRatio", 0);
2830 // Whether or not the viewports are left aligned.
2831 pref("devtools.responsive.leftAlignViewport.enabled", false);
2832 // Whether to reload when touch simulation is toggled
2833 pref("devtools.responsive.reloadConditions.touchSimulation", false);
2834 // Whether to reload when user agent is changed
2835 pref("devtools.responsive.reloadConditions.userAgent", false);
2836 // Whether to show the notification about reloading to apply emulation
2837 pref("devtools.responsive.reloadNotification.enabled", true);
2838 // Whether or not touch simulation is enabled.
2839 pref("devtools.responsive.touchSimulation.enabled", false);
2840 // The user agent of the viewport.
2841 pref("devtools.responsive.userAgent", "");
2842 // Show the custom user agent input by default
2843 pref("devtools.responsive.showUserAgentInput", true);
2845 // Show tab debug targets for This Firefox (on by default for local builds).
2846 #ifdef MOZILLA_OFFICIAL
2847 pref("devtools.aboutdebugging.local-tab-debugging", false);
2849 pref("devtools.aboutdebugging.local-tab-debugging", true);
2852 // Show process debug targets.
2853 pref("devtools.aboutdebugging.process-debugging", true);
2854 // Stringified array of network locations that users can connect to.
2855 pref("devtools.aboutdebugging.network-locations", "[]");
2856 // Debug target pane collapse/expand settings.
2857 pref("devtools.aboutdebugging.collapsibilities.installedExtension", false);
2858 pref("devtools.aboutdebugging.collapsibilities.otherWorker", false);
2859 pref("devtools.aboutdebugging.collapsibilities.serviceWorker", false);
2860 pref("devtools.aboutdebugging.collapsibilities.sharedWorker", false);
2861 pref("devtools.aboutdebugging.collapsibilities.tab", false);
2862 pref("devtools.aboutdebugging.collapsibilities.temporaryExtension", false);
2864 // about:debugging: only show system and hidden extensions in local builds by
2866 #ifdef MOZILLA_OFFICIAL
2867 pref("devtools.aboutdebugging.showHiddenAddons", false);
2869 pref("devtools.aboutdebugging.showHiddenAddons", true);
2872 // Map top-level await expressions in the console
2873 pref("devtools.debugger.features.map-await-expression", true);
2875 // This relies on javascript.options.asyncstack as well or it has no effect.
2876 pref("devtools.debugger.features.async-captured-stacks", true);
2877 pref("devtools.debugger.features.async-live-stacks", false);
2878 pref("devtools.debugger.hide-ignored-sources", false);
2880 // Disable autohide for DevTools popups and tooltips.
2881 // This is currently not exposed by any UI to avoid making
2882 // about:devtools-toolbox tabs unusable by mistake.
2883 pref("devtools.popup.disable_autohide", false);
2885 // FirstStartup service time-out in ms
2886 pref("first-startup.timeout", 30000);
2888 // Enable the default browser agent.
2889 // The agent still runs as scheduled if this pref is disabled,
2890 // but it exits immediately before taking any action.
2892 pref("default-browser-agent.enabled", true);
2895 // Test Prefs that do nothing for testing
2896 #if defined(EARLY_BETA_OR_EARLIER)
2897 pref("app.normandy.test-prefs.bool", false);
2898 pref("app.normandy.test-prefs.integer", 0);
2899 pref("app.normandy.test-prefs.string", "");
2902 // Shows 'View Image Info' item in the image context menu
2903 #ifdef MOZ_DEV_EDITION
2904 pref("browser.menu.showViewImageInfo", true);
2906 pref("browser.menu.showViewImageInfo", false);
2909 // Handing URLs to external apps via the "Share URL" menu item could allow a proxy bypass
2910 #ifdef MOZ_PROXY_BYPASS_PROTECTION
2911 pref("browser.menu.share_url.allow", false);
2914 // Mozilla-controlled domains that are allowed to use non-standard
2915 // context properties for SVG images for use in the browser UI. Please
2916 // keep this list short. This preference (and SVG `context-` keyword support)
2917 // are expected to go away once a standardized alternative becomes
2919 pref("svg.context-properties.content.allowed-domains", "profile.accounts.firefox.com,profile.stage.mozaws.net");
2921 // Preference that allows individual users to disable Firefox Translations.
2922 #ifdef NIGHTLY_BUILD
2923 pref("extensions.translations.disabled", true);
2926 #if defined(XP_MACOSX) || defined(XP_WIN)
2927 pref("browser.firefoxbridge.enabled", false);
2928 pref("browser.firefoxbridge.extensionOrigins",
2929 "chrome-extension://gkcbmfjnnjoambnfmihmnkneakghogca/"
2933 // Turn on interaction measurements
2934 pref("browser.places.interactions.enabled", true);
2936 // If the user has seen the Firefox View feature tour this value reflects
2937 // the id of the last screen they saw and whether they completed the tour
2938 pref("browser.firefox-view.feature-tour", "{\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}");
2939 // Number of times the user visited about:firefoxview
2940 pref("browser.firefox-view.view-count", 0);
2941 // Maximum number of rows to show on the "History" page.
2942 pref("browser.firefox-view.max-history-rows", 300);
2943 // Enables search functionality in Firefox View.
2944 pref("browser.firefox-view.search.enabled", true);
2945 // Enables virtual list functionality in Firefox View.
2946 pref("browser.firefox-view.virtual-list.enabled", true);
2948 // If the user has seen the pdf.js feature tour this value reflects the tour
2949 // message id, the id of the last screen they saw, and whether they completed the tour
2950 pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":false}");
2952 // Enables cookie banner handling in Nightly in Private Browsing Mode. See
2953 // StaticPrefList.yaml for a description of the prefs.
2954 #ifdef NIGHTLY_BUILD
2955 pref("cookiebanners.service.mode.privateBrowsing", 1);
2958 #if defined(EARLY_BETA_OR_EARLIER)
2959 // Enables the cookie banner desktop UI.
2960 pref("cookiebanners.ui.desktop.enabled", true);
2962 pref("cookiebanners.ui.desktop.enabled", false);
2965 // When true, shows a one-time feature callout for cookie banner blocking.
2966 pref("cookiebanners.ui.desktop.showCallout", false);
2968 // Controls which variant of the cookie banner CFR the user is presented with.
2969 pref("cookiebanners.ui.desktop.cfrVariant", 0);
2971 // Parameters for the swipe-to-navigation icon.
2973 // `navigation-icon-{start|end}-position` is the start or the end position of
2974 // the icon movement in response to the user's swipe gesture. `0` means the icon
2975 // positions at the left edge of the browser window. For example on Mac, when
2976 // the user started swipe gesture left to right, the icon appears at a point
2977 // where left side 20px of the icon is outside of the browser window's view.
2979 // `navigation-icon-{min|max}-radius` is the minimum or the maximum radius of
2980 // the icon's outer circle size in response to the user's swipe gesture. `-1`
2981 // means that the circle radius never changes.
2983 pref("browser.swipe.navigation-icon-start-position", -20);
2984 pref("browser.swipe.navigation-icon-end-position", 0);
2985 pref("browser.swipe.navigation-icon-min-radius", -1);
2986 pref("browser.swipe.navigation-icon-max-radius", -1);
2988 pref("browser.swipe.navigation-icon-start-position", -40);
2989 pref("browser.swipe.navigation-icon-end-position", 60);
2990 pref("browser.swipe.navigation-icon-min-radius", 12);
2991 pref("browser.swipe.navigation-icon-max-radius", 20);
2994 // Trigger FOG's Artifact Build support on artifact builds.
2995 #ifdef MOZ_ARTIFACT_BUILDS
2996 pref("telemetry.fog.artifact_build", true);
2999 #ifdef NIGHTLY_BUILD
3000 pref("dom.security.credentialmanagement.identity.enabled", true);
3003 pref("ui.new-webcompat-reporter.enabled", true);
3005 #if defined(EARLY_BETA_OR_EARLIER)
3006 pref("ui.new-webcompat-reporter.send-more-info-link", true);
3008 pref("ui.new-webcompat-reporter.send-more-info-link", false);
3011 # 0 = disabled, 1 = reason optional, 2 = reason required.
3012 pref("ui.new-webcompat-reporter.reason-dropdown", 2);
3014 pref("ui.new-webcompat-reporter.reason-dropdown.randomized", true);
3016 // Reset Private Browsing Session feature
3017 #if defined(NIGHTLY_BUILD)
3018 pref("browser.privatebrowsing.resetPBM.enabled", true);
3020 pref("browser.privatebrowsing.resetPBM.enabled", false);
3022 // Whether the reset private browsing panel should ask for confirmation before
3023 // performing the clear action.
3024 pref("browser.privatebrowsing.resetPBM.showConfirmationDialog", true);
3026 // the preferences related to the Nimbus experiment, to activate and deactivate
3027 // the the entire rollout (see: bug 1864216 - two prompts, 1877500 - set two in one prompt)
3028 pref("browser.mailto.dualPrompt", false);
3029 // When visiting a site which uses registerProtocolHandler: Ask the user to set Firefox as
3030 // default mailto handler.
3031 pref("browser.mailto.prompt.os", true);
3033 pref("browser.backup.enabled", false);
3035 // Pref to enable the new profiles
3036 pref("browser.profiles.enabled", false);
3038 pref("startup.homepage_override_url_nimbus", "");
3039 pref("startup.homepage_override_nimbus_maxVersion", "");