Bug 1885993 - Enable the BackupService initializer on Nightly by default. r=backup...
[gecko.git] / browser / app / profile / firefox.js
blobbf820dce4879c747739e4eee560d8fa99b63c016
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
10 // another file).
12 // Please indent all prefs defined within #ifdef/#ifndef conditions. This
13 // improves readability, particular for conditional blocks that exceed a single
14 // screen.
16 #ifdef XP_UNIX
17   #ifndef XP_MACOSX
18     #define UNIX_BUT_NOT_MAC
19   #endif
20 #endif
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
109 // the failure.
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);
120 #ifdef NIGHTLY_BUILD
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);
130 #endif
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.
142 #ifndef XP_WIN
143   pref("app.update.auto", true);
144 #endif
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);
162 #endif
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);
168 #endif
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).
184   //
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);
193 #endif
195 #ifdef XP_MACOSX
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);
202 #endif
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);
208 #endif
210 // Symmetric (can be overridden by individual extensions) update preferences.
211 // e.g.
212 //  extensions.{GUID}.update.enabled
213 //  extensions.{GUID}.update.url
214 //  .. etc ..
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%&currentAppVersion=%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%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%");
219 pref("extensions.update.interval", 86400);  // Check for updates to Extensions and
220                                             // Themes every day
222 pref("lightweightThemes.getMoreURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes");
224 #if defined(MOZ_WIDEVINE_EME)
225   pref("browser.eme.ui.enabled", true);
226 #else
227   pref("browser.eme.ui.enabled", false);
228 #endif
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);
260 #else
261   pref("general.autoScroll", true);
262 #endif
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);
280 #if defined(XP_WIN)
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);
298 #endif
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);
319 #else
320   pref("browser.startup.blankWindow", false);
321 #endif
323 // Show a skeleton UI window prior to loading libxul. Only visible for windows
324 // users as it is not implemented anywhere else.
325 #if defined(XP_WIN)
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);
332 #endif
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.
342 #if defined(XP_WIN)
343   pref("browser.warnOnQuitShortcut", false);
344 #else
345   pref("browser.warnOnQuitShortcut", true);
346 #endif
348 // TODO bug 1702563: Renable fullscreen autohide by default on macOS.
349 #ifdef XP_MACOSX
350   pref("browser.fullscreen.autohide", false);
351 #else
352   pref("browser.fullscreen.autohide", true);
353 #endif
355 pref("browser.overlink-delay", 80);
357 pref("browser.theme.colorway-closet", true);
359 #ifdef XP_MACOSX
360 #ifdef NIGHTLY_BUILD
361 pref("browser.theme.macos.native-theme", true);
362 #else
363 pref("browser.theme.macos.native-theme", false);
364 #endif
365 #endif
367 // Whether expired built-in colorways themes that are active or retained
368 // should be allowed to check for updates and be updated to an AMO hosted
369 // theme with the same id (as part of preparing to remove from mozilla-central
370 // all the expired built-in colorways themes, after existing users have been
371 // migrated to colorways themes hosted on AMO).
372 pref("browser.theme.colorway-migration", true);
374 // Whether using `ctrl` when hitting return/enter in the URL bar
375 // (or clicking 'go') should prefix 'www.' and suffix
376 // browser.fixup.alternate.suffix to the URL bar value prior to
377 // navigating.
378 pref("browser.urlbar.ctrlCanonizesURLs", true);
380 // Whether we announce to screen readers when tab-to-search results are
381 // inserted.
382 pref("browser.urlbar.accessibility.tabToSearch.announceResults", true);
384 // Control autoFill behavior
385 pref("browser.urlbar.autoFill", true);
387 // Whether enabling adaptive history autofill.
388 pref("browser.urlbar.autoFill.adaptiveHistory.enabled", false);
390 // Minimum char length of the user's search string to enable adaptive history
391 // autofill.
392 pref("browser.urlbar.autoFill.adaptiveHistory.minCharsThreshold", 0);
394 // Whether to warm up network connections for autofill or search results.
395 pref("browser.urlbar.speculativeConnect.enabled", true);
397 // Whether bookmarklets should be filtered out of Address Bar matches.
398 // This is enabled for security reasons, when true it is still possible to
399 // search for bookmarklets typing "javascript: " followed by the actual query.
400 pref("browser.urlbar.filter.javascript", true);
402 // Enable a certain level of urlbar logging to the Browser Console. See
403 // ConsoleInstance.webidl.
404 pref("browser.urlbar.loglevel", "Error");
406 // the maximum number of results to show in autocomplete when doing richResults
407 pref("browser.urlbar.maxRichResults", 10);
409 // The maximum number of historical search results to show.
410 pref("browser.urlbar.maxHistoricalSearchSuggestions", 2);
412 // The default behavior for the urlbar can be configured to use any combination
413 // of the match filters with each additional filter adding more results (union).
414 pref("browser.urlbar.suggest.bookmark",             true);
415 pref("browser.urlbar.suggest.clipboard",            true);
416 pref("browser.urlbar.suggest.history",              true);
417 pref("browser.urlbar.suggest.openpage",             true);
418 pref("browser.urlbar.suggest.remotetab",            true);
419 pref("browser.urlbar.suggest.searches",             true);
420 pref("browser.urlbar.suggest.topsites",             true);
421 pref("browser.urlbar.suggest.engines",              true);
422 pref("browser.urlbar.suggest.calculator",           false);
423 pref("browser.urlbar.suggest.recentsearches",       true);
425 #if defined(EARLY_BETA_OR_EARLIER)
426   // Enable QuickActions and its urlbar search mode button.
427   pref("browser.urlbar.quickactions.enabled", true);
428   pref("browser.urlbar.suggest.quickactions", true);
429   pref("browser.urlbar.shortcuts.quickactions", true);
430   pref("browser.urlbar.quickactions.showPrefs", true);
431 #endif
433 #if defined(EARLY_BETA_OR_EARLIER)
434   // Enable Trending suggestions.
435   pref("browser.urlbar.trending.featureGate", true);
436 #endif
438 // Enable Rich Entities.
439 pref("browser.urlbar.richSuggestions.featureGate", true);
440 pref("browser.search.param.search_rich_suggestions", "fen");
442 // Feature gate pref for weather suggestions in the urlbar.
443 pref("browser.urlbar.weather.featureGate", false);
445 // Enable clipboard suggestions feature, the pref should be removed once stable.
446 pref("browser.urlbar.clipboard.featureGate", true);
448 // When false, the weather suggestion will not be fetched when a VPN is
449 // detected. When true, it will be fetched anyway.
450 pref("browser.urlbar.weather.ignoreVPN", false);
452 // The minimum prefix length of a weather keyword the user must type to trigger
453 // the suggestion. 0 means the min length should be taken from Nimbus or remote
454 // settings.
455 pref("browser.urlbar.weather.minKeywordLength", 0);
457 // If `browser.urlbar.weather.featureGate` is true, this controls whether
458 // weather suggestions are turned on.
459 pref("browser.urlbar.suggest.weather", true);
461 // If `browser.urlbar.trending.featureGate` is true, this controls whether
462 // trending suggestions are turned on.
463 pref("browser.urlbar.suggest.trending", true);
465 // Whether non-sponsored quick suggest results are shown in the urlbar. This
466 // pref is exposed to the user in the UI, and it's sticky so that its
467 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
468 // with their various default-branch values, the user is enrolled in over time.
469 pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false, sticky);
471 // Whether sponsored quick suggest results are shown in the urlbar. This pref is
472 // exposed to the user in the UI, and it's sticky so that its user-branch value
473 // persists regardless of whatever Firefox Suggest scenarios, with their various
474 // default-branch values, the user is enrolled in over time.
475 pref("browser.urlbar.suggest.quicksuggest.sponsored", false, sticky);
477 // Whether data collection is enabled for quick suggest results in the urlbar.
478 // This pref is exposed to the user in the UI, and it's sticky so that its
479 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
480 // with their various default-branch values, the user is enrolled in over time.
481 pref("browser.urlbar.quicksuggest.dataCollection.enabled", false, sticky);
483 // Whether the Firefox Suggest contextual opt-in result is enabled. If true,
484 // this implicitly disables shouldShowOnboardingDialog.
485 pref("browser.urlbar.quicksuggest.contextualOptIn", false);
487 // Controls which variant of the copy is used for the Firefox Suggest
488 // contextual opt-in result.
489 pref("browser.urlbar.quicksuggest.contextualOptIn.sayHello", false);
491 // Controls whether the Firefox Suggest contextual opt-in result appears at
492 // the top of results or at the bottom, after one-off buttons.
493 pref("browser.urlbar.quicksuggest.contextualOptIn.topPosition", true);
495 // Whether the quick suggest feature in the urlbar is enabled.
496 pref("browser.urlbar.quicksuggest.enabled", false);
498 // Whether Firefox Suggest will use the new Rust backend instead of the original
499 // JS backend.
500 pref("browser.urlbar.quicksuggest.rustEnabled", true);
502 // Whether to show the QuickSuggest onboarding dialog.
503 pref("browser.urlbar.quicksuggest.shouldShowOnboardingDialog", true);
505 // Show QuickSuggest onboarding dialog on the nth browser restarts.
506 pref("browser.urlbar.quicksuggest.showOnboardingDialogAfterNRestarts", 0);
508 // The indexes of the sponsored and non-sponsored quick suggest results within
509 // the general results group.
510 pref("browser.urlbar.quicksuggest.sponsoredIndex", -1);
511 pref("browser.urlbar.quicksuggest.nonSponsoredIndex", -1);
513 // Whether quick suggest results can be shown in position specified in the
514 // suggestions.
515 pref("browser.urlbar.quicksuggest.allowPositionInSuggestions", true);
517 // Whether non-sponsored quick suggest results are subject to impression
518 // frequency caps.
519 pref("browser.urlbar.quicksuggest.impressionCaps.nonSponsoredEnabled", false);
521 // Whether sponsored quick suggest results are subject to impression frequency
522 // caps.
523 pref("browser.urlbar.quicksuggest.impressionCaps.sponsoredEnabled", false);
525 // Whether unit conversion is enabled.
526 #ifdef NIGHTLY_BUILD
527 pref("browser.urlbar.unitConversion.enabled", true);
528 #else
529 pref("browser.urlbar.unitConversion.enabled", false);
530 #endif
532 // Whether to show search suggestions before general results like history and
533 // bookmarks.
534 pref("browser.urlbar.showSearchSuggestionsFirst", true);
536 // As a user privacy measure, don't fetch search suggestions if a pasted string
537 // is longer than this.
538 pref("browser.urlbar.maxCharsForSearchSuggestions", 100);
540 pref("browser.urlbar.trimURLs", true);
542 #ifdef NIGHTLY_BUILD
543 pref("browser.urlbar.trimHttps", true);
544 #else
545 pref("browser.urlbar.trimHttps", false);
546 #endif
548 // If changed to true, copying the entire URL from the location bar will put the
549 // human readable (percent-decoded) URL on the clipboard.
550 pref("browser.urlbar.decodeURLsOnCopy", false);
552 // Whether or not to move tabs into the active window when using the "Switch to
553 // Tab" feature of the awesomebar.
554 pref("browser.urlbar.switchTabs.adoptIntoActiveWindow", false);
556 // Controls whether searching for open tabs returns tabs from any container
557 // or only from the current container.
558 pref("browser.urlbar.switchTabs.searchAllContainers", true);
560 // Whether addresses and search results typed into the address bar
561 // should be opened in new tabs by default.
562 pref("browser.urlbar.openintab", false);
564 // Allow the result menu button to be reached with the Tab key.
565 pref("browser.urlbar.resultMenu.keyboardAccessible", true);
567 // If true, we show tail suggestions when available.
568 pref("browser.urlbar.richSuggestions.tail", true);
570 // If true, top sites may include sponsored ones.
571 pref("browser.urlbar.sponsoredTopSites", false);
573 // Global toggle for whether the show search terms feature
574 // can be used at all, and enabled/disabled by the user.
575 #if defined(EARLY_BETA_OR_EARLIER)
576 pref("browser.urlbar.showSearchTerms.featureGate", true);
577 #else
578 pref("browser.urlbar.showSearchTerms.featureGate", false);
579 #endif
581 // If true, show the search term in the Urlbar while on
582 // a default search engine results page.
583 pref("browser.urlbar.showSearchTerms.enabled", true);
585 // Controls the empty search behavior in Search Mode:
586 //  0 - Show nothing
587 //  1 - Show search history
588 //  2 - Show search and browsing history
589 pref("browser.urlbar.update2.emptySearchBehavior", 0);
591 // Whether the urlbar displays one-offs to filter searches to history,
592 // bookmarks, or tabs.
593 pref("browser.urlbar.shortcuts.bookmarks", true);
594 pref("browser.urlbar.shortcuts.tabs", true);
595 pref("browser.urlbar.shortcuts.history", true);
597 // When we send events to Urlbar extensions, we wait this amount of time in
598 // milliseconds for them to respond before timing out.
599 pref("browser.urlbar.extension.timeout", 400);
601 // Controls when to DNS resolve single word search strings, after they were
602 // searched for. If the string is resolved as a valid host, show a
603 // "Did you mean to go to 'host'" prompt.
604 // 0 - never resolve; 1 - use heuristics (default); 2 - always resolve
605 pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
607 // Whether the results panel should be kept open during IME composition.
608 // The default value is false because some IME open a picker panel, and we end
609 // up with two panels on top of each other. Since for now we can't detect that
610 // we leave this choice to the user, hopefully in the future this can be flipped
611 // for everyone.
612 pref("browser.urlbar.keepPanelOpenDuringImeComposition", false);
614 // Whether Firefox Suggest group labels are shown in the urlbar view.
615 pref("browser.urlbar.groupLabels.enabled", true);
617 // The Merino endpoint URL, not including parameters.
618 pref("browser.urlbar.merino.endpointURL", "https://merino.services.mozilla.com/api/v1/suggest");
620 // Timeout for Merino fetches (ms).
621 pref("browser.urlbar.merino.timeoutMs", 200);
623 // Comma-separated list of providers to request from Merino
624 pref("browser.urlbar.merino.providers", "");
626 // Comma-separated list of client variants to send to Merino
627 pref("browser.urlbar.merino.clientVariants", "");
629 // Enable site specific search result.
630 pref("browser.urlbar.contextualSearch.enabled", false);
632 // Feature gate pref for addon suggestions in the urlbar.
633 pref("browser.urlbar.addons.featureGate", true);
635 // If `browser.urlbar.addons.featureGate` is true, this controls whether
636 // addons suggestions are turned on.
637 pref("browser.urlbar.suggest.addons", true);
639 // If `browser.urlbar.mdn.featureGate` is true, this controls whether
640 // mdn suggestions are turned on.
641 pref("browser.urlbar.suggest.mdn", true);
643 // Feature gate pref for Yelp suggestions in the urlbar.
644 pref("browser.urlbar.yelp.featureGate", false);
646 // The minimum prefix length of yelp query the user must type to trigger
647 // the suggestion.
648 pref("browser.urlbar.yelp.minKeywordLength", 5);
650 // Whether Yelp suggestions should be shown as top picks.
651 pref("browser.urlbar.yelp.priority", false);
653 // The group-relative suggestedIndex of Yelp suggestions within the Firefox
654 // Suggest section. Ignored when Yelp suggestions are shown as top picks.
655 pref("browser.urlbar.yelp.suggestedIndex", 0);
657 // If `browser.urlbar.yelp.featureGate` is true, this controls whether
658 // Yelp suggestions are turned on.
659 pref("browser.urlbar.suggest.yelp", true);
661 // The minimum prefix length of addons keyword the user must type to trigger
662 // the suggestion. 0 means the min length should be taken from Nimbus.
663 pref("browser.urlbar.addons.minKeywordLength", 0);
665 // Feature gate pref for Pocket suggestions in the urlbar.
666 pref("browser.urlbar.pocket.featureGate", false);
668 // If `browser.urlbar.pocket.featureGate` is true, this controls whether Pocket
669 // suggestions are turned on.
670 pref("browser.urlbar.suggest.pocket", true);
672 pref("browser.altClickSave", false);
674 // Enable logging downloads operations to the Console.
675 pref("browser.download.loglevel", "Error");
677 // Number of milliseconds to wait for the http headers (and thus
678 // the Content-Disposition filename) before giving up and falling back to
679 // picking a filename without that info in hand so that the user sees some
680 // feedback from their action.
681 pref("browser.download.saveLinkAsFilenameTimeout", 4000);
683 pref("browser.download.useDownloadDir", true);
684 pref("browser.download.folderList", 1);
685 pref("browser.download.manager.addToRecentDocs", true);
686 pref("browser.download.manager.resumeOnWakeDelay", 10000);
688 // This records whether or not the panel has been shown at least once.
689 pref("browser.download.panel.shown", false);
691 // This records whether or not to show the 'Open in system viewer' context menu item when appropriate
692 pref("browser.download.openInSystemViewerContextMenuItem", true);
694 // This records whether or not to show the 'Always open...' context menu item when appropriate
695 pref("browser.download.alwaysOpenInSystemViewerContextMenuItem", true);
697 // Open downloaded file types internally for the given types.
698 // This is a comma-separated list, the empty string ("") means no types are
699 // viewable internally.
700 pref("browser.download.viewableInternally.enabledTypes", "xml,svg,webp,avif,jxl");
703 // This controls whether the button is automatically shown/hidden depending
704 // on whether there are downloads to show.
705 pref("browser.download.autohideButton", true);
707 // Controls whether to open the downloads panel every time a download begins.
708 // The first download ever run in a new profile will still open the panel.
709 pref("browser.download.alwaysOpenPanel", true);
711 // Determines the behavior of the "Delete" item in the downloads context menu.
712 // Valid values are 0, 1, and 2.
713 //   0 - Don't remove the download from session list or history.
714 //   1 - Remove the download from session list, but not history.
715 //   2 - Remove the download from both session list and history.
716 pref("browser.download.clearHistoryOnDelete", 0);
718 #ifndef XP_MACOSX
719   pref("browser.helperApps.deleteTempFileOnExit", true);
720 #endif
722 // This controls the visibility of the radio button in the
723 // Unknown Content Type (Helper App) dialog that will open
724 // the content in the browser for PDF and for other
725 // Viewable Internally types
726 // (see browser.download.viewableInternally.enabledTypes)
727 pref("browser.helperApps.showOpenOptionForPdfJS", true);
728 pref("browser.helperApps.showOpenOptionForViewableInternally", true);
730 // search engines URL
731 pref("browser.search.searchEnginesURL",      "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
733 // search bar results always open in a new tab
734 pref("browser.search.openintab", false);
736 // context menu searches open in the foreground
737 pref("browser.search.context.loadInBackground", false);
739 // Mirrors whether the search-container widget is in the navigation toolbar.
740 pref("browser.search.widget.inNavBar", false);
742 // Enables display of the options for the user using a separate default search
743 // engine in private browsing mode.
744 pref("browser.search.separatePrivateDefault.ui.enabled", false);
745 // The maximum amount of times the private default banner is shown.
746 pref("browser.search.separatePrivateDefault.ui.banner.max", 0);
748 // Enables search SERP telemetry (impressions, engagements and abandonment)
749 pref("browser.search.serpEventTelemetry.enabled", true);
751 // Enables search SERP telemetry page categorization.
752 #ifdef NIGHTLY_BUILD
753 pref("browser.search.serpEventTelemetryCategorization.enabled", true);
754 #else
755 pref("browser.search.serpEventTelemetryCategorization.enabled", false);
756 #endif
758 // Search Bar removal from the toolbar for users who haven’t used it in 120
759 // days
760 pref("browser.search.widget.removeAfterDaysUnused", 120);
762 // Enable new experimental shopping features. This is solely intended as a
763 // rollout/"emergency stop" button - it will go away once the feature has
764 // rolled out. There will be separate controls for user opt-in/opt-out.
765 pref("browser.shopping.experience2023.enabled", false);
767 // Ternary int-valued pref indicating if the user has opted into the new
768 // experimental shopping feature.
769 // 0 means the user has not opted in or out.
770 // 1 means the user has opted in.
771 // 2 means the user has opted out.
772 pref("browser.shopping.experience2023.optedIn", 0);
774 // Activates the new experimental shopping sidebar.
775 // True by default. This is handled by ShoppingUtils.handleAutoActivateOnProduct
776 // to auto-activate the sidebar for non-opted-in users up to 2 times.
777 pref("browser.shopping.experience2023.active", true);
779 // Enables ad exposure telemetry for users opted in to the shopping experience:
780 // when this pref is true, each time a product is analyzed, we record if an ad
781 // was available for that product. This value will be toggled via a nimbus
782 // experiment, so that we can pause collection if the ads server struggles
783 // under load.
784 pref("browser.shopping.experience2023.ads.exposure", false);
786 // Enables the ad / recommended product feature for the shopping sidebar.
787 // If enabled, users can disable the ad card using the separate pref
788 // `browser.shopping.experience2023.ads.userEnabled` and visible toggle
789 // (this is just the feature flag).
790 pref("browser.shopping.experience2023.ads.enabled", false);
792 // Activates the ad card in the shopping sidebar.
793 // Unlike `browser.shopping.experience2023.ads.enabled`, this pref is controlled by users
794 // using the visible toggle.
795 pref("browser.shopping.experience2023.ads.userEnabled", true);
797 // Saves if shopping survey is enabled.
798 pref("browser.shopping.experience2023.survey.enabled", true);
800 // Saves if shopping survey is seen.
801 pref("browser.shopping.experience2023.survey.hasSeen", false);
803 // Number of PDP visits used to display shopping survey
804 pref("browser.shopping.experience2023.survey.pdpVisits", 0);
806 // Enables the auto-open feature for the shopping sidebar,
807 // including new callouts and settings UI changes
808 // (this is just the feature flag).
809 pref("browser.shopping.experience2023.autoOpen.enabled", false);
811 // Opens the shopping sidebar automatically when viewing a PDP.
812 pref("browser.shopping.experience2023.autoOpen.userEnabled", true);
814 // Number of times the sidebar has been closed in a session
815 pref("browser.shopping.experience2023.sidebarClosedCount", 0);
817 // When conditions are met, shows a prompt on the shopping sidebar asking users if they want to disable auto-open behavior
818 pref("browser.shopping.experience2023.showKeepSidebarClosedMessage", true);
820 // Enable display of megalist option in browser sidebar
821 // Keep it hidden from about:config for now.
822 // pref("browser.megalist.enabled", false);
824 // Enables the display of the Mozilla VPN banner in private browsing windows
825 pref("browser.privatebrowsing.vpnpromourl", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-%CHANNEL%-browser&utm_campaign=private-browsing-vpn-link");
827 // Whether the user has opted-in to recommended settings for data features.
828 pref("browser.dataFeatureRecommendations.enabled", false);
830 // Temporary pref to control whether or not Private Browsing windows show up
831 // as separate icons in the Windows taskbar.
832 pref("browser.privateWindowSeparation.enabled", true);
834 // Use dark theme variant for PBM windows. This is only supported if the theme
835 // sets darkTheme data.
836 pref("browser.theme.dark-private-windows", true);
838 // Controls visibility of the privacy segmentation preferences section.
839 pref("browser.privacySegmentation.preferences.show", false);
841 pref("browser.sessionhistory.max_entries", 50);
843 // Built-in default permissions.
844 pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
846 // Set default fallback values for site permissions we want
847 // the user to be able to globally change.
848 pref("permissions.default.camera", 0);
849 pref("permissions.default.microphone", 0);
850 pref("permissions.default.geo", 0);
851 pref("permissions.default.xr", 0);
852 pref("permissions.default.desktop-notification", 0);
853 pref("permissions.default.shortcuts", 0);
855 pref("permissions.desktop-notification.postPrompt.enabled", true);
856 pref("permissions.desktop-notification.notNow.enabled", false);
858 pref("permissions.fullscreen.allowed", false);
860 // Force external link opens into the default user context ID instead of guessing
861 // the most appropriate one based on the URL (https://bugzilla.mozilla.org/show_bug.cgi?id=1874599#c8)
862 pref("browser.link.force_default_user_context_id_for_external_opens", false);
864 // handle links targeting new windows
865 // 1=current window/tab, 2=new window, 3=new tab in most recent window
866 pref("browser.link.open_newwindow", 3);
868 // handle external links (i.e. links opened from a different application)
869 // default: use browser.link.open_newwindow
870 // 1-3: see browser.link.open_newwindow for interpretation
871 pref("browser.link.open_newwindow.override.external", -1);
873 // 0: no restrictions - divert everything
874 // 1: don't divert window.open at all
875 // 2: don't divert window.open with features
876 pref("browser.link.open_newwindow.restriction", 2);
878 // If true, this pref causes windows opened by window.open to be forced into new
879 // tabs (rather than potentially opening separate windows, depending on
880 // window.open arguments) when the browser is in fullscreen mode.
881 // We set this differently on Mac because the fullscreen implementation there is
882 // different.
883 #ifdef XP_MACOSX
884   pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
885 #else
886   pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
887 #endif
889 // Tabbed browser
890 pref("browser.tabs.closeTabByDblclick", false);
891 pref("browser.tabs.closeWindowWithLastTab", true);
892 pref("browser.tabs.allowTabDetach", true);
893 // Open related links to a tab, e.g., link in current tab, at next to the
894 // current tab if |insertRelatedAfterCurrent| is true.  Otherwise, always
895 // append new tab to the end.
896 pref("browser.tabs.insertRelatedAfterCurrent", true);
897 // Open all links, e.g., bookmarks, history items at next to current tab
898 // if |insertAfterCurrent| is true.  Otherwise, append new tab to the end
899 // for non-related links. Note that if this is set to true, it will trump
900 // the value of browser.tabs.insertRelatedAfterCurrent.
901 pref("browser.tabs.insertAfterCurrent", false);
902 pref("browser.tabs.warnOnClose", false);
903 pref("browser.tabs.warnOnCloseOtherTabs", true);
904 pref("browser.tabs.warnOnOpen", true);
905 pref("browser.tabs.maxOpenBeforeWarn", 15);
906 pref("browser.tabs.loadInBackground", true);
907 pref("browser.tabs.opentabfor.middleclick", true);
908 pref("browser.tabs.loadDivertedInBackground", false);
909 pref("browser.tabs.loadBookmarksInBackground", false);
910 pref("browser.tabs.loadBookmarksInTabs", false);
911 pref("browser.tabs.tabClipWidth", 140);
912 pref("browser.tabs.tabMinWidth", 76);
913 // Users running in any of the following language codes will have the
914 // secondary text on tabs hidden due to size constraints and readability
915 // of the text at small font sizes.
916 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");
918 //Control the visibility of Tab Manager Menu.
919 pref("browser.tabs.tabmanager.enabled", true);
921 // When tabs opened by links in other tabs via a combination of
922 // browser.link.open_newwindow being set to 3 and target="_blank" etc are
923 // closed:
924 // true   return to the tab that opened this tab (its owner)
925 // false  return to the adjacent tab (old default)
926 pref("browser.tabs.selectOwnerOnClose", true);
928 // This should match Chromium's audio indicator delay.
929 pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
931 // Pref to control whether we use a separate privileged content process
932 // for about: pages. This pref name did not age well: we will have multiple
933 // types of privileged content processes, each with different privileges.
934 // types of privleged content processes, each with different privleges.
935 pref("browser.tabs.remote.separatePrivilegedContentProcess", true);
937 #if defined(NIGHTLY_BUILD) && !defined(MOZ_ASAN)
938   // This pref will cause assertions when a remoteType triggers a process switch
939   // to a new remoteType it should not be able to trigger.
940   pref("browser.tabs.remote.enforceRemoteTypeRestrictions", true);
941 #endif
943 // Pref to control whether we use a separate privileged content process
944 // for certain mozilla webpages (which are listed in the pref
945 // browser.tabs.remote.separatedMozillaDomains).
946 pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", true);
948 #ifdef NIGHTLY_BUILD
949 pref("browser.tabs.tooltipsShowPidAndActiveness", true);
950 #else
951 pref("browser.tabs.tooltipsShowPidAndActiveness", false);
952 #endif
954 pref("browser.tabs.cardPreview.enabled", false);
955 pref("browser.tabs.cardPreview.showThumbnails", true);
957 pref("browser.tabs.firefox-view", true);
958 pref("browser.tabs.firefox-view-next", true);
959 pref("browser.tabs.firefox-view-newIcon", true);
960 pref("browser.tabs.firefox-view.logLevel", "Warn");
961 pref("browser.tabs.firefox-view.notify-for-tabs", false);
963 // allow_eval_* is enabled on Firefox Desktop only at this
964 // point in time
965 pref("security.allow_eval_with_system_principal", false);
966 pref("security.allow_eval_in_parent_process", false);
968 pref("security.allow_parent_unrestricted_js_loads", false);
970 // Unload tabs when available memory is running low
971 #if defined(XP_MACOSX) || defined(XP_WIN)
972     pref("browser.tabs.unloadOnLowMemory", true);
973 #else
974     pref("browser.tabs.unloadOnLowMemory", false);
975 #endif
977 // Tab Unloader does not unload tabs whose last inactive period is longer than
978 // this value (in milliseconds).
979 pref("browser.tabs.min_inactive_duration_before_unload", 600000);
981 // Does middleclick paste of clipboard to new tab button
982 #ifdef UNIX_BUT_NOT_MAC
983 pref("browser.tabs.searchclipboardfor.middleclick", true);
984 #else
985 pref("browser.tabs.searchclipboardfor.middleclick", false);
986 #endif
988 #if defined(XP_MACOSX)
989   // During low memory periods, poll with this frequency (milliseconds)
990   // until memory is no longer low. Changes to the pref take effect immediately.
991   // Browser restart not required. Chosen to be consistent with the windows
992   // implementation, but otherwise the 10s value is arbitrary.
993   pref("browser.lowMemoryPollingIntervalMS", 10000);
995   // Pref to control the reponse taken on macOS when the OS is under memory
996   // pressure. Changes to the pref take effect immediately. Browser restart not
997   // required. The pref value is a bitmask:
998   // 0x0: No response (other than recording for telemetry, crash reporting)
999   // 0x1: Use the tab unloading feature to reduce memory use. Requires that
1000   //      the above "browser.tabs.unloadOnLowMemory" pref be set to true for tab
1001   //      unloading to occur.
1002   // 0x2: Issue the internal "memory-pressure" notification to reduce memory use
1003   // 0x3: Both 0x1 and 0x2.
1004   #if defined(NIGHTLY_BUILD)
1005   pref("browser.lowMemoryResponseMask", 3);
1006   #else
1007   pref("browser.lowMemoryResponseMask", 0);
1008   #endif
1010   // Controls which macOS memory-pressure level triggers the browser low memory
1011   // response. Changes to the pref take effect immediately. Browser restart not
1012   // required. By default, use the "critical" level as that occurs after "warn"
1013   // and we only want to trigger the low memory reponse when necessary.
1014   // The macOS system memory-pressure level is either none, "warn", or
1015   // "critical". The OS notifies the browser when the level changes. A false
1016   // value for the pref indicates the low memory response should occur when
1017   // reaching the "critical" level. A true value indicates the response should
1018   // occur when reaching the "warn" level.
1019   pref("browser.lowMemoryResponseOnWarn", false);
1020 #endif
1022 pref("browser.ctrlTab.sortByRecentlyUsed", false);
1024 // By default, do not export HTML at shutdown.
1025 // If true, at shutdown the bookmarks in your menu and toolbar will
1026 // be exported as HTML to the bookmarks.html file.
1027 pref("browser.bookmarks.autoExportHTML",          false);
1029 // The maximum number of daily bookmark backups to
1030 // keep in {PROFILEDIR}/bookmarkbackups. Special values:
1031 // -1: unlimited
1032 //  0: no backups created (and deletes all existing backups)
1033 pref("browser.bookmarks.max_backups",             15);
1035 // Whether menu should close after Ctrl-click, middle-click, etc.
1036 pref("browser.bookmarks.openInTabClosesMenu", true);
1038 // Where new bookmarks go by default.
1039 // Use PlacesUIUtils.defaultParentGuid to read this; do NOT read the pref
1040 // directly.
1041 // The value is one of:
1042 // - a bookmarks guid
1043 // - "toolbar", "menu" or "unfiled" for those folders.
1044 // If we use the pref but the value isn't any of these, we'll fall back to
1045 // the bookmarks toolbar as a default.
1046 pref("browser.bookmarks.defaultLocation", "toolbar");
1048 // Scripts & Windows prefs
1049 pref("dom.disable_open_during_load",              true);
1051 // allow JS to move and resize existing windows
1052 pref("dom.disable_window_move_resize",            false);
1053 // prevent JS from monkeying with window focus, etc
1054 pref("dom.disable_window_flip",                   true);
1056 pref("privacy.popups.showBrowserMessage",   true);
1058 pref("privacy.clearOnShutdown.history",     true);
1059 pref("privacy.clearOnShutdown.formdata",    true);
1060 pref("privacy.clearOnShutdown.downloads",   true);
1061 pref("privacy.clearOnShutdown.cookies",     true);
1062 pref("privacy.clearOnShutdown.cache",       true);
1063 pref("privacy.clearOnShutdown.sessions",    true);
1064 pref("privacy.clearOnShutdown.offlineApps", false);
1065 pref("privacy.clearOnShutdown.siteSettings", false);
1066 pref("privacy.clearOnShutdown.openWindows", false);
1067 // Clear on shutdown prefs used in the new dialog
1068 pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
1069 pref("privacy.clearOnShutdown_v2.cookiesAndStorage", true);
1070 pref("privacy.clearOnShutdown_v2.cache", true);
1071 pref("privacy.clearOnShutdown_v2.siteSettings", false);
1073 pref("privacy.cpd.history",                 true);
1074 pref("privacy.cpd.formdata",                true);
1075 pref("privacy.cpd.passwords",               false);
1076 pref("privacy.cpd.downloads",               true);
1077 pref("privacy.cpd.cookies",                 true);
1078 pref("privacy.cpd.cache",                   true);
1079 pref("privacy.cpd.sessions",                true);
1080 pref("privacy.cpd.offlineApps",             false);
1081 pref("privacy.cpd.siteSettings",            false);
1082 pref("privacy.cpd.openWindows",             false);
1084 // clearHistory and clearSiteData pref branches are used to
1085 // remember user pref options based on the two different entry points
1086 pref("privacy.clearHistory.historyFormDataAndDownloads", true);
1087 pref("privacy.clearHistory.cookiesAndStorage", true);
1088 pref("privacy.clearHistory.cache", true);
1089 pref("privacy.clearHistory.siteSettings", false);
1090 pref("privacy.clearSiteData.historyFormDataAndDownloads", false);
1091 pref("privacy.clearSiteData.cookiesAndStorage", true);
1092 pref("privacy.clearSiteData.cache", true);
1093 pref("privacy.clearSiteData.siteSettings", false);
1095 pref("privacy.history.custom",              false);
1097 // What default should we use for the time span in the sanitizer:
1098 // 0 - Clear everything
1099 // 1 - Last Hour
1100 // 2 - Last 2 Hours
1101 // 3 - Last 4 Hours
1102 // 4 - Today
1103 // 5 - Last 5 minutes
1104 // 6 - Last 24 hours
1105 pref("privacy.sanitize.timeSpan", 1);
1107 #if defined(NIGHTLY_BUILD)
1108 pref("privacy.sanitize.useOldClearHistoryDialog", false);
1109 #else
1110 pref("privacy.sanitize.useOldClearHistoryDialog", true);
1111 #endif
1113 pref("privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs", false);
1114 // flag to track migration of clear history dialog prefs, where cpd stands for
1115 // clear private data
1116 pref("privacy.sanitize.cpd.hasMigratedToNewPrefs", false);
1118 pref("privacy.panicButton.enabled",         true);
1120 // Time until temporary permissions expire, in ms
1121 pref("privacy.temporary_permission_expire_time_ms",  3600000);
1123 // Enables protection mechanism against password spoofing for cross domain auth requests
1124 // See bug 791594
1125 pref("privacy.authPromptSpoofingProtection",         true);
1127 // Enable GPC if the user turns it on in about:preferences
1128 pref("privacy.globalprivacycontrol.functionality.enabled",  true);
1130 // Enable GPC in private browsing mode
1131 pref("privacy.globalprivacycontrol.pbmode.enabled", true);
1133 pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
1135 // simple gestures support
1136 pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
1137 pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
1138 pref("browser.gesture.swipe.up", "cmd_scrollTop");
1139 pref("browser.gesture.swipe.down", "cmd_scrollBottom");
1140 pref("browser.gesture.pinch.latched", false);
1141 pref("browser.gesture.pinch.threshold", 25);
1142 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1143   // Enabled for touch input display zoom.
1144   pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
1145   pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
1146   pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
1147   pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
1148 #else
1149   // Disabled by default due to issues with track pad input.
1150   pref("browser.gesture.pinch.out", "");
1151   pref("browser.gesture.pinch.in", "");
1152   pref("browser.gesture.pinch.out.shift", "");
1153   pref("browser.gesture.pinch.in.shift", "");
1154 #endif
1155 pref("browser.gesture.twist.latched", false);
1156 pref("browser.gesture.twist.threshold", 0);
1157 pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
1158 pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
1159 pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
1160 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1161   pref("browser.gesture.tap", "cmd_fullZoomReset");
1162 #else
1163   pref("browser.gesture.tap", "");
1164 #endif
1166 pref("browser.history_swipe_animation.disabled", false);
1168 // 0: Nothing happens
1169 // 1: Scrolling contents
1170 // 2: Go back or go forward, in your history
1171 // 3: Zoom in or out (reflowing zoom).
1172 // 4: Treat vertical wheel as horizontal scroll
1173 // 5: Zoom in or out (pinch zoom).
1174 #ifdef XP_MACOSX
1175   // On macOS, if the wheel has one axis only, shift+wheel comes through as a
1176   // horizontal scroll event. Thus, we can't assign anything other than normal
1177   // scrolling to shift+wheel.
1178   pref("mousewheel.with_shift.action", 1);
1179   pref("mousewheel.with_alt.action", 2);
1180   pref("mousewheel.with_control.action", 1);
1181 #else
1182   // On the other platforms (non-macOS), user may use legacy mouse which
1183   // supports only vertical wheel but want to scroll horizontally.  For such
1184   // users, we should provide horizontal scroll with shift+wheel (same as
1185   // Chrome). However, shift+wheel was used for navigating history.  For users
1186   // who want to keep using this feature, let's enable it with alt+wheel.  This
1187   // is better for consistency with macOS users.
1188   pref("mousewheel.with_shift.action", 4);
1189   pref("mousewheel.with_alt.action", 2);
1190 #endif
1192 pref("mousewheel.with_meta.action", 1);
1194 pref("browser.xul.error_pages.expert_bad_cert", false);
1195 pref("browser.xul.error_pages.show_safe_browsing_details_on_load", false);
1197 // Enable captive portal detection.
1198 pref("network.captive-portal-service.enabled", true);
1200 // If true, network link events will change the value of navigator.onLine
1201 pref("network.manage-offline-status", true);
1203 // We want to make sure mail URLs are handled externally...
1204 pref("network.protocol-handler.external.mailto", true); // for mail
1205 pref("network.protocol-handler.external.news", true);   // for news
1206 pref("network.protocol-handler.external.snews", true);  // for secure news
1207 pref("network.protocol-handler.external.nntp", true);   // also news
1208 #ifdef XP_WIN
1209   pref("network.protocol-handler.external.ms-windows-store", true);
1210 #endif
1212 // ...without warning dialogs
1213 pref("network.protocol-handler.warn-external.mailto", false);
1214 pref("network.protocol-handler.warn-external.news", false);
1215 pref("network.protocol-handler.warn-external.snews", false);
1216 pref("network.protocol-handler.warn-external.nntp", false);
1217 #ifdef XP_WIN
1218   pref("network.protocol-handler.warn-external.ms-windows-store", false);
1219 #endif
1221 // By default, all protocol handlers are exposed.  This means that
1222 // the browser will respond to openURL commands for all URL types.
1223 // It will also try to open link clicks inside the browser before
1224 // failing over to the system handlers.
1225 pref("network.protocol-handler.expose-all", true);
1226 pref("network.protocol-handler.expose.mailto", false);
1227 pref("network.protocol-handler.expose.news", false);
1228 pref("network.protocol-handler.expose.snews", false);
1229 pref("network.protocol-handler.expose.nntp", false);
1231 pref("accessibility.typeaheadfind", false);
1232 pref("accessibility.typeaheadfind.timeout", 5000);
1233 pref("accessibility.typeaheadfind.linksonly", false);
1234 pref("accessibility.typeaheadfind.flashBar", 1);
1236 // Toggling Search bar on and off in about:preferences
1237 pref("browser.preferences.search", true);
1238 #if defined(NIGHTLY_BUILD)
1239 pref("browser.preferences.experimental", true);
1240 #else
1241 pref("browser.preferences.experimental", false);
1242 #endif
1243 pref("browser.preferences.moreFromMozilla", true);
1244 pref("browser.preferences.experimental.hidden", false);
1245 pref("browser.preferences.defaultPerformanceSettings.enabled", true);
1247 pref("browser.proton.toolbar.version", 0);
1249 // Backspace and Shift+Backspace behavior
1250 // 0 goes Back/Forward
1251 // 1 act like PgUp/PgDown
1252 // 2 and other values, nothing
1253 pref("browser.backspace_action", 2);
1255 pref("intl.regional_prefs.use_os_locales", false);
1257 // this will automatically enable inline spellchecking (if it is available) for
1258 // editable elements in HTML
1259 // 0 = spellcheck nothing
1260 // 1 = check multi-line controls [default]
1261 // 2 = check multi/single line controls
1262 pref("layout.spellcheckDefault", 1);
1264 pref("browser.send_pings", false);
1266 pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
1267 pref("browser.xr.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/xr/");
1269 pref("browser.sessionstore.resume_from_crash", true);
1270 pref("browser.sessionstore.resume_session_once", false);
1271 pref("browser.sessionstore.resuming_after_os_restart", false);
1273 // Toggle for the behavior to include closed tabs from all windows in
1274 // recently-closed tab lists & counts, and re-open tabs into the current window
1275 pref("browser.sessionstore.closedTabsFromAllWindows", true);
1276 pref("browser.sessionstore.closedTabsFromClosedWindows", true);
1278 // Minimal interval between two save operations in milliseconds (while the user is idle).
1279 pref("browser.sessionstore.interval.idle", 3600000); // 1h
1281 // Time (seconds) before we assume that the user is idle and that we don't need to
1282 // collect/save the session quite as often.
1283 pref("browser.sessionstore.idleDelay", 180); // 3 minutes
1285 // on which sites to save text data, POSTDATA and cookies
1286 // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
1287 pref("browser.sessionstore.privacy_level", 0);
1288 // how many tabs can be reopened (per window)
1289 pref("browser.sessionstore.max_tabs_undo", 25);
1290 // how many windows will be saved and can be reopened per session - on non-macOS platforms this
1291 // pref may be ignored when dealing with pop-up windows to ensure the user actually gets
1292 // at least one window with a menu bar.
1293 pref("browser.sessionstore.max_windows_undo", 5);
1294 // number of crashes that can occur before the about:sessionrestore page is displayed
1295 // (this pref has no effect if more than 6 hours have passed since the last crash)
1296 pref("browser.sessionstore.max_resumed_crashes", 1);
1297 // number of back button session history entries to restore (-1 = all of them)
1298 pref("browser.sessionstore.max_serialize_back", 10);
1299 // number of forward button session history entries to restore (-1 = all of them)
1300 pref("browser.sessionstore.max_serialize_forward", -1);
1301 // restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
1302 // and restore_hidden_tabs. When true, tabs will not be restored until they are
1303 // focused (also applies to tabs that aren't visible). When false, the values
1304 // for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
1305 // Selected tabs are always restored regardless of this pref.
1306 pref("browser.sessionstore.restore_on_demand", true);
1307 // Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
1308 pref("browser.sessionstore.restore_hidden_tabs", false);
1309 // If restore_on_demand is set, pinned tabs are restored on startup by default.
1310 // When set to true, this pref overrides that behavior, and pinned tabs will only
1311 // be restored when they are focused.
1312 pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
1313 // The version at which we performed the latest upgrade backup
1314 pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
1315 // How many upgrade backups should be kept
1316 pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 3);
1317 // End-users should not run sessionstore in debug mode
1318 pref("browser.sessionstore.debug", false);
1319 // Forget closed windows/tabs after two weeks
1320 pref("browser.sessionstore.cleanup.forget_closed_after", 1209600000);
1322 // temporary pref that will be removed in a future release, see bug 1836952
1323 pref("browser.sessionstore.persist_closed_tabs_between_sessions", true);
1325 // Don't quit the browser when Ctrl + Q is pressed.
1326 pref("browser.quitShortcut.disabled", false);
1328 // allow META refresh by default
1329 pref("accessibility.blockautorefresh", false);
1331 // Whether history is enabled or not.
1332 pref("places.history.enabled", true);
1334 // The default Places log level.
1335 pref("places.loglevel", "Error");
1337 // Whether or not diacritics must match in history text searches.
1338 pref("places.search.matchDiacritics", false);
1340 // the (maximum) number of the recent visits to sample
1341 // when calculating frecency
1342 pref("places.frecency.numVisits", 10);
1344 // buckets (in days) for frecency calculation
1345 pref("places.frecency.firstBucketCutoff", 4);
1346 pref("places.frecency.secondBucketCutoff", 14);
1347 pref("places.frecency.thirdBucketCutoff", 31);
1348 pref("places.frecency.fourthBucketCutoff", 90);
1350 // weights for buckets for frecency calculations
1351 pref("places.frecency.firstBucketWeight", 100);
1352 pref("places.frecency.secondBucketWeight", 70);
1353 pref("places.frecency.thirdBucketWeight", 50);
1354 pref("places.frecency.fourthBucketWeight", 30);
1355 pref("places.frecency.defaultBucketWeight", 10);
1357 // bonus (in percent) for visit transition types for frecency calculations
1358 pref("places.frecency.embedVisitBonus", 0);
1359 pref("places.frecency.framedLinkVisitBonus", 0);
1360 pref("places.frecency.linkVisitBonus", 100);
1361 pref("places.frecency.typedVisitBonus", 2000);
1362 // The bookmarks bonus is always added on top of any other bonus, including
1363 // the redirect source and the typed ones.
1364 pref("places.frecency.bookmarkVisitBonus", 75);
1365 // The redirect source bonus overwrites any transition bonus.
1366 // 0 would hide these pages, instead we want them low ranked.  Thus we use
1367 // linkVisitBonus - bookmarkVisitBonus, so that a bookmarked source is in par
1368 // with a common link.
1369 pref("places.frecency.redirectSourceVisitBonus", 25);
1370 pref("places.frecency.downloadVisitBonus", 0);
1371 // The perm/temp redirects here relate to redirect targets, not sources.
1372 pref("places.frecency.permRedirectVisitBonus", 50);
1373 pref("places.frecency.tempRedirectVisitBonus", 40);
1374 pref("places.frecency.reloadVisitBonus", 0);
1375 pref("places.frecency.defaultVisitBonus", 0);
1377 // bonus (in percent) for place types for frecency calculations
1378 pref("places.frecency.unvisitedBookmarkBonus", 140);
1379 pref("places.frecency.unvisitedTypedBonus", 200);
1381 // Enables alternative frecency calculation for origins.
1382 pref("places.frecency.origins.alternative.featureGate", false);
1384 // Clear data by base domain (including partitioned storage) when the user
1385 // selects "Forget About This Site".
1386 pref("places.forgetThisSite.clearByBaseDomain", true);
1388 // Whether to warm up network connections for places: menus and places: toolbar.
1389 pref("browser.places.speculativeConnect.enabled", true);
1391 // if true, use full page zoom instead of text zoom
1392 pref("browser.zoom.full", true);
1394 // Whether or not to update background tabs to the current zoom level.
1395 pref("browser.zoom.updateBackgroundTabs", true);
1397 // The breakpad report server to link to in about:crashes
1398 pref("breakpad.reportURL", "https://crash-stats.mozilla.org/report/index/");
1400 // URL for "Learn More" for DataCollection
1401 pref("toolkit.datacollection.infoURL",
1402      "https://www.mozilla.org/legal/privacy/firefox.html");
1404 // URL for "Learn More" for Crash Reporter
1405 pref("toolkit.crashreporter.infoURL",
1406      "https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
1408 // base URL for web-based support pages
1409 pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
1411 // base url for web-based feedback pages
1412 pref("app.feedback.baseURL", "https://ideas.mozilla.org/");
1414 pref("security.certerrors.recordEventTelemetry", true);
1415 pref("security.certerrors.permanentOverride", true);
1416 pref("security.certerrors.mitm.priming.enabled", true);
1417 pref("security.certerrors.mitm.priming.endpoint", "https://mitmdetection.services.mozilla.com/");
1418 pref("security.certerrors.mitm.auto_enable_enterprise_roots", true);
1420 // Whether the bookmark panel should be shown when bookmarking a page.
1421 pref("browser.bookmarks.editDialog.showForNewBookmarks", true);
1423 // Don't try to alter this pref, it'll be reset the next time you use the
1424 // bookmarking dialog
1425 pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
1427 // The number of recently selected folders in the edit bookmarks dialog.
1428 pref("browser.bookmarks.editDialog.maxRecentFolders", 7);
1430 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
1431   // This controls the strength of the Windows content process sandbox for
1432   // testing purposes. This will require a restart.
1433   // On windows these levels are:
1434   // See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
1435   // SetSecurityLevelForContentProcess() for what the different settings mean.
1436   pref("security.sandbox.content.level", 6);
1438   // Pref controlling if messages relevant to sandbox violations are logged.
1439   pref("security.sandbox.logging.enabled", false);
1440 #endif
1442 #if defined(XP_MACOSX) && defined(MOZ_SANDBOX)
1443   // This pref is discussed in bug 1083344, the naming is inspired from its
1444   // Windows counterpart, but on Mac it's an integer which means:
1445   // 0 -> "no sandbox" (nightly only)
1446   // 1 -> "preliminary content sandboxing enabled: write access to
1447   //       home directory is prevented"
1448   // 2 -> "preliminary content sandboxing enabled with profile protection:
1449   //       write access to home directory is prevented, read and write access
1450   //       to ~/Library and profile directories are prevented (excluding
1451   //       $PROFILE/{extensions,chrome})"
1452   // 3 -> "no global read/write access, read access permitted to
1453   //       $PROFILE/{extensions,chrome}"
1454   // This setting is read when the content process is started. On Mac the
1455   // content process is killed when all windows are closed, so a change will
1456   // take effect when the 1st window is opened.
1457   pref("security.sandbox.content.level", 3);
1459   // Disconnect content processes from the window server. Depends on
1460   // out-of-process WebGL and non-native theming. i.e., both in-process WebGL
1461   // and native theming depend on content processes having a connection to the
1462   // window server. Window server disconnection is automatically disabled (and
1463   // this pref overridden) if OOP WebGL is disabled. OOP WebGL is disabled
1464   // for some tests.
1465   pref("security.sandbox.content.mac.disconnect-windowserver", true);
1467   // Pref controlling if messages relevant to sandbox violations are logged.
1468   pref("security.sandbox.logging.enabled", false);
1469 #endif
1471 #if defined(XP_LINUX) && defined(MOZ_SANDBOX)
1472   // This pref is introduced as part of bug 742434, the naming is inspired from
1473   // its Windows/Mac counterpart, but on Linux it's an integer which means:
1474   // 0 -> "no sandbox"
1475   // 1 -> no longer used; level will be clamped to 2
1476   // 2 -> "seccomp-bpf + write file broker"
1477   // 3 -> "seccomp-bpf + read/write file brokering"
1478   // 4 -> all of the above + network/socket restrictions + chroot
1479   //
1480   // The purpose of this setting is to allow Linux users or distros to disable
1481   // the sandbox while we fix their problems, or to allow running Firefox with
1482   // exotic configurations we can't reasonably support out of the box.
1483   //
1484   pref("security.sandbox.content.level", 4);
1485   // Introduced as part of bug 1608558.  Linux is currently the only platform
1486   // that uses a sandbox level for the socket process.  There are currently
1487   // only 2 levels:
1488   // 0 -> "no sandbox"
1489   // 1 -> "sandboxed, allows socket operations and reading necessary certs"
1490   pref("security.sandbox.socket.process.level", 1);
1491   pref("security.sandbox.content.write_path_whitelist", "");
1492   pref("security.sandbox.content.read_path_whitelist", "");
1493   pref("security.sandbox.content.syscall_whitelist", "");
1494 #endif
1496 #if defined(XP_OPENBSD) && defined(MOZ_SANDBOX)
1497   pref("security.sandbox.content.level", 1);
1498 #endif
1500 #if defined(MOZ_CONTENT_TEMP_DIR)
1501   // ID (a UUID when set by gecko) that is used to form the name of a
1502   // sandbox-writable temporary directory to be used by content processes
1503   // when a temporary writable file is required.
1504   pref("security.sandbox.content.tempDirSuffix", "");
1505 #endif
1507 #ifdef XP_WIN
1508   pref("browser.taskbar.previews.enable", false);
1509   pref("browser.taskbar.previews.max", 20);
1510   pref("browser.taskbar.previews.cachetime", 5);
1512   pref("browser.taskbar.lists.legacyBackend", false);
1514   pref("browser.taskbar.lists.enabled", true);
1515   pref("browser.taskbar.lists.frequent.enabled", true);
1516   pref("browser.taskbar.lists.recent.enabled", false);
1517   pref("browser.taskbar.lists.maxListItemCount", 7);
1518   pref("browser.taskbar.lists.tasks.enabled", true);
1519   pref("browser.taskbar.lists.refreshInSeconds", 120);
1520 #endif
1522 // Preferences to be synced by default.
1523 // Preferences with the prefix `services.sync.prefs.sync-seen.` should have
1524 // a value of `false`, and means the value of the pref will be synced as soon
1525 // as a value for the pref is "seen", even if it is the default, and should be
1526 // used for prefs we sync but which have different values on different channels,
1527 // platforms or distributions.
1528 pref("services.sync.prefs.sync.accessibility.blockautorefresh", true);
1529 pref("services.sync.prefs.sync.accessibility.browsewithcaret", true);
1530 pref("services.sync.prefs.sync.accessibility.typeaheadfind", true);
1531 pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true);
1532 pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true);
1533 pref("services.sync.prefs.sync.app.shield.optoutstudies.enabled", true);
1534 // The addons prefs related to repository verification are intentionally
1535 // not synced for security reasons. If a system is compromised, a user
1536 // could weaken the pref locally, install an add-on from an untrusted
1537 // source, and this would propagate automatically to other,
1538 // uncompromised Sync-connected devices.
1539 pref("services.sync.prefs.sync.browser.contentblocking.category", true);
1540 pref("services.sync.prefs.sync.browser.contentblocking.features.strict", true);
1541 pref("services.sync.prefs.sync.browser.crashReports.unsubmittedCheck.autoSubmit2", true);
1542 pref("services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed", true);
1543 pref("services.sync.prefs.sync.browser.discovery.enabled", true);
1544 pref("services.sync.prefs.sync.browser.download.useDownloadDir", true);
1545 pref("services.sync.prefs.sync.browser.firefox-view.feature-tour", true);
1546 pref("services.sync.prefs.sync.browser.formfill.enable", true);
1547 pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
1548 pref("services.sync.prefs.sync.browser.menu.showViewImageInfo", true);
1549 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1550 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1551 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSearch", true);
1552 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", true);
1553 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", true);
1554 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.topsites", true);
1555 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.topSitesRows", true);
1556 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", true);
1557 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows", true);
1558 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.highlights", true);
1559 // Some linux distributions disable all highlights by default.
1560 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights", false);
1561 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeVisited", true);
1562 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeBookmarks", true);
1563 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeDownloads", true);
1564 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", true);
1565 // Some linux distributions disable just pocket by default.
1566 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights.includePocket", false);
1567 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.rows", true);
1568 pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
1569 pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
1570 pref("services.sync.prefs.sync.browser.pdfjs.feature-tour", true);
1571 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", true);
1572 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted", true);
1573 pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
1574 pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", true);
1575 pref("services.sync.prefs.sync.browser.search.update", true);
1576 pref("services.sync.prefs.sync.browser.startup.homepage", true);
1577 pref("services.sync.prefs.sync.browser.startup.page", true);
1578 pref("services.sync.prefs.sync.browser.startup.upgradeDialog.enabled", true);
1579 pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
1580 pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
1581 pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
1582 pref("services.sync.prefs.sync.browser.taskbar.previews.enable", true);
1583 pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
1584 pref("services.sync.prefs.sync.browser.urlbar.showSearchSuggestionsFirst", true);
1585 pref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", true);
1586 pref("services.sync.prefs.sync.browser.urlbar.suggest.history", true);
1587 pref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", true);
1588 pref("services.sync.prefs.sync.browser.urlbar.suggest.searches", true);
1589 pref("services.sync.prefs.sync.browser.urlbar.suggest.topsites", true);
1590 pref("services.sync.prefs.sync.browser.urlbar.suggest.engines", true);
1591 pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
1592 pref("services.sync.prefs.sync.dom.disable_window_flip", true);
1593 pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
1594 pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
1595 pref("services.sync.prefs.sync.dom.security.https_only_mode", true);
1596 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled", true);
1597 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled_pbm", true);
1598 pref("services.sync.prefs.sync.dom.security.https_only_mode_pbm", true);
1599 pref("services.sync.prefs.sync.extensions.update.enabled", true);
1600 pref("services.sync.prefs.sync.extensions.activeThemeID", true);
1601 pref("services.sync.prefs.sync.general.autoScroll", true);
1602 // general.autoScroll has a different default on Linux vs elsewhere.
1603 pref("services.sync.prefs.sync-seen.general.autoScroll", false);
1604 pref("services.sync.prefs.sync.general.smoothScroll", true);
1605 pref("services.sync.prefs.sync.intl.accept_languages", true);
1606 pref("services.sync.prefs.sync.intl.regional_prefs.use_os_locales", true);
1607 pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
1608 pref("services.sync.prefs.sync.media.autoplay.default", true);
1609 pref("services.sync.prefs.sync.media.eme.enabled", true);
1610 // Some linux distributions disable eme by default.
1611 pref("services.sync.prefs.sync-seen.media.eme.enabled", false);
1612 pref("services.sync.prefs.sync.media.videocontrols.picture-in-picture.video-toggle.enabled", true);
1613 pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
1614 pref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", true);
1615 pref("services.sync.prefs.sync.permissions.default.image", true);
1616 pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
1617 pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
1618 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
1619 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.cache", true);
1620 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
1621 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.cookiesAndStorage", true);
1622 pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
1623 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.downloads", true);
1624 pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
1625 pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
1626 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
1627 pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
1628 pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
1629 pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
1630 pref("services.sync.prefs.sync.privacy.clearOnShutdown_v2.siteSettings", true);
1631 pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
1632 pref("services.sync.prefs.sync.privacy.globalprivacycontrol.enabled", true);
1633 pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
1634 pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", true);
1635 pref("services.sync.prefs.sync.privacy.trackingprotection.cryptomining.enabled", true);
1636 pref("services.sync.prefs.sync.privacy.trackingprotection.fingerprinting.enabled", true);
1637 pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", true);
1638 // We do not sync `privacy.resistFingerprinting` by default as it's an undocumented,
1639 // not-recommended footgun - see bug 1763278 for more.
1640 pref("services.sync.prefs.sync.privacy.reduceTimerPrecision", true);
1641 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", true);
1642 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", true);
1643 pref("services.sync.prefs.sync.privacy.userContext.enabled", true);
1644 pref("services.sync.prefs.sync.privacy.userContext.newTabContainerOnLeftClick.enabled", true);
1645 pref("services.sync.prefs.sync.security.default_personal_cert", true);
1646 pref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", true);
1647 pref("services.sync.prefs.sync.signon.autofillForms", true);
1648 pref("services.sync.prefs.sync.signon.generation.enabled", true);
1649 pref("services.sync.prefs.sync.signon.management.page.breach-alerts.enabled", true);
1650 pref("services.sync.prefs.sync.signon.rememberSignons", true);
1651 pref("services.sync.prefs.sync.spellchecker.dictionary", true);
1652 pref("services.sync.prefs.sync.ui.osk.enabled", true);
1654 // A preference which, if false, means sync will only apply incoming preference
1655 // changes if there's already a local services.sync.prefs.sync.* control pref.
1656 // If true, all incoming preferences will be applied and the local "control
1657 // pref" updated accordingly.
1658 pref("services.sync.prefs.dangerously_allow_arbitrary", false);
1660 // A preference that controls whether we should show the icon for a remote tab.
1661 // This pref has no UI but exists because some people may be concerned that
1662 // fetching these icons to show remote tabs may leak information about that
1663 // user's tabs and bookmarks. Note this pref is also synced.
1664 pref("services.sync.syncedTabs.showRemoteIcons", true);
1666 // A preference (in milliseconds) controlling if we sync after a tab change and
1667 // how long to delay before we schedule the sync
1668 // Anything <= 0 means disabled
1669 pref("services.sync.syncedTabs.syncDelayAfterTabChange", 5000);
1671 // Whether the character encoding menu is under the main Firefox button. This
1672 // preference is a string so that localizers can alter it.
1673 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
1675 // Whether prompts should be content modal (1) tab modal (2) or window modal(3) by default
1676 // This is a fallback value for when prompt callers do not specify a modalType.
1677 pref("prompts.defaultModalType", 3);
1679 pref("browser.topsites.useRemoteSetting", true);
1680 // Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
1681 pref("browser.topsites.contile.enabled", true);
1682 pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
1684 // Whether to enable the Share-of-Voice feature for Sponsored Topsites via Contile.
1685 pref("browser.topsites.contile.sov.enabled", true);
1687 // The base URL for the Quick Suggest anonymizing proxy. To make a request to
1688 // the proxy, include a campaign ID in the path.
1689 pref("browser.partnerlink.attributionURL", "https://topsites.services.mozilla.com/cid/");
1690 pref("browser.partnerlink.campaign.topsites", "amzn_2020_a1");
1692 // Whether to show window-modal dialogs opened for browser windows
1693 // in a SubDialog inside their parent, instead of an OS level window.
1694 pref("prompts.windowPromptSubDialog", true);
1696 // Activates preloading of the new tab url.
1697 pref("browser.newtab.preload", true);
1699 // Current new tab page background image.
1700 pref("browser.newtabpage.activity-stream.newtabWallpapers.wallpaper", "");
1702 pref("browser.newtabpage.activity-stream.newNewtabExperience.colors", "#0090ED,#FF4F5F,#2AC3A2,#FF7139,#A172FF,#FFA437,#FF2A8A");
1704 // Activity Stream prefs that control to which page to redirect
1705 #ifndef RELEASE_OR_BETA
1706   pref("browser.newtabpage.activity-stream.debug", false);
1707 #endif
1709 // The remote FxA root content URL for the Activity Stream firstrun page.
1710 pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "https://accounts.firefox.com/");
1712 // The pref that controls if the search shortcuts experiment is on
1713 pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts", true);
1715 // ASRouter provider configuration
1716 pref("browser.newtabpage.activity-stream.asrouter.providers.cfr", "{\"id\":\"cfr\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"cfr\",\"updateCycleInMs\":3600000}");
1717 pref("browser.newtabpage.activity-stream.asrouter.providers.message-groups", "{\"id\":\"message-groups\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"message-groups\",\"updateCycleInMs\":3600000}");
1718 pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", "{\"id\":\"messaging-experiments\",\"enabled\":true,\"type\":\"remote-experiments\",\"updateCycleInMs\":3600000}");
1720 // ASRouter user prefs
1721 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1722 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1723 pref("messaging-system.askForFeedback", true);
1725 // The pref that controls if ASRouter uses the remote fluent files.
1726 // It's enabled by default, but could be disabled to force ASRouter to use the local files.
1727 pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", true);
1729 // These prefs control if Discovery Stream is enabled.
1730 pref("browser.newtabpage.activity-stream.discoverystream.enabled", true);
1731 pref("browser.newtabpage.activity-stream.discoverystream.hardcoded-basic-layout", false);
1732 pref("browser.newtabpage.activity-stream.discoverystream.hybridLayout.enabled", false);
1733 pref("browser.newtabpage.activity-stream.discoverystream.hideCardBackground.enabled", false);
1734 pref("browser.newtabpage.activity-stream.discoverystream.fourCardLayout.enabled", false);
1735 pref("browser.newtabpage.activity-stream.discoverystream.newFooterSection.enabled", false);
1736 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCard.enabled", true);
1737 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCardRegions", "");
1738 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptions.enabled", false);
1739 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptionsRegions", "");
1740 pref("browser.newtabpage.activity-stream.discoverystream.compactGrid.enabled", false);
1741 pref("browser.newtabpage.activity-stream.discoverystream.compactImages.enabled", false);
1742 pref("browser.newtabpage.activity-stream.discoverystream.imageGradient.enabled", false);
1743 pref("browser.newtabpage.activity-stream.discoverystream.titleLines", 3);
1744 pref("browser.newtabpage.activity-stream.discoverystream.descLines", 3);
1745 pref("browser.newtabpage.activity-stream.discoverystream.readTime.enabled", true);
1746 pref("browser.newtabpage.activity-stream.discoverystream.newSponsoredLabel.enabled", false);
1747 pref("browser.newtabpage.activity-stream.discoverystream.essentialReadsHeader.enabled", false);
1748 pref("browser.newtabpage.activity-stream.discoverystream.recentSaves.enabled", false);
1749 pref("browser.newtabpage.activity-stream.discoverystream.editorsPicksHeader.enabled", false);
1750 pref("browser.newtabpage.activity-stream.discoverystream.spoc-positions", "1,5,7,11,18,20");
1751 pref("browser.newtabpage.activity-stream.discoverystream.spoc-topsites-positions", "2");
1752 // This is a 0-based index, for consistency with the other position CSVs,
1753 // but Contile positions are a 1-based index, so we end up adding 1 to these before using them.
1754 pref("browser.newtabpage.activity-stream.discoverystream.contile-topsites-positions", "0,1");
1755 pref("browser.newtabpage.activity-stream.discoverystream.widget-positions", "");
1757 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint", "");
1758 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint-query", "");
1759 pref("browser.newtabpage.activity-stream.discoverystream.sponsored-collections.enabled", false);
1761 // Changes the spoc content.
1762 pref("browser.newtabpage.activity-stream.discoverystream.spocAdTypes", "");
1763 pref("browser.newtabpage.activity-stream.discoverystream.spocZoneIds", "");
1764 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesAdTypes", "");
1765 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesZoneIds", "");
1766 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesPlacement.enabled", true);
1767 pref("browser.newtabpage.activity-stream.discoverystream.spocSiteId", "");
1768 pref("browser.newtabpage.activity-stream.discoverystream.ctaButtonSponsors", "");
1769 pref("browser.newtabpage.activity-stream.discoverystream.ctaButtonVariant", "");
1770 pref("browser.newtabpage.activity-stream.discoverystream.spocMessageVariant", "");
1772 pref("browser.newtabpage.activity-stream.discoverystream.sendToPocket.enabled", true);
1774 // List of regions that do not get stories, regardless of locale-list-config.
1775 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-block", "");
1776 // List of locales that get stories, regardless of region-stories-config.
1777 #ifdef NIGHTLY_BUILD
1778   pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "en-US,en-CA,en-GB");
1779 #else
1780   pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "");
1781 #endif
1782 // List of regions that get stories by default.
1783 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1784 // List of regions that support the new recommendations BFF, also requires region-stories-config
1785 pref("browser.newtabpage.activity-stream.discoverystream.region-bff-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1786 // List of regions that get spocs by default.
1787 pref("browser.newtabpage.activity-stream.discoverystream.region-spocs-config", "US,CA,DE,GB,FR,IT,ES");
1788 // List of regions that don't get the 7 row layout.
1789 pref("browser.newtabpage.activity-stream.discoverystream.region-basic-config", "");
1791 // Allows Pocket story collections to be dismissed.
1792 pref("browser.newtabpage.activity-stream.discoverystream.isCollectionDismissible", true);
1793 pref("browser.newtabpage.activity-stream.discoverystream.personalization.enabled", true);
1794 // Configurable keys used by personalization.
1795 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");
1796 // System pref to allow Pocket stories personalization to be turned on/off.
1797 pref("browser.newtabpage.activity-stream.discoverystream.recs.personalized", false);
1798 // System pref to allow Pocket sponsored content personalization to be turned on/off.
1799 pref("browser.newtabpage.activity-stream.discoverystream.spocs.personalized", true);
1801 // Flip this once the user has dismissed the Pocket onboarding experience,
1802 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.dismissed", false);
1803 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.enabled", false);
1805 // User pref to show stories on newtab (feeds.system.topstories has to be set to true as well)
1806 pref("browser.newtabpage.activity-stream.feeds.section.topstories", true);
1808 // The pref controls if search hand-off is enabled for Activity Stream.
1809 pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", true);
1811 pref("browser.newtabpage.activity-stream.logowordmark.alwaysVisible", true);
1813 // URLs from the user's history that contain this search param will be hidden
1814 // from the top sites. The value is a string with one of the following forms:
1815 // - "" (empty) - Disable this feature
1816 // - "key" - Search param named "key" with any or no value
1817 // - "key=" - Search param named "key" with no value
1818 // - "key=value" - Search param named "key" with value "value"
1819 pref("browser.newtabpage.activity-stream.hideTopSitesWithSearchParam", "mfadid=adm");
1821 // Separate about welcome
1822 pref("browser.aboutwelcome.enabled", true);
1823 // Used to set multistage welcome UX
1824 pref("browser.aboutwelcome.screens", "");
1825 // Used to enable window modal onboarding
1826 pref("browser.aboutwelcome.showModal", false);
1828 // Experiment Manager
1829 // See Console.sys.mjs LOG_LEVELS for all possible values
1830 pref("messaging-system.log", "warn");
1831 pref("messaging-system.rsexperimentloader.enabled", true);
1832 pref("messaging-system.rsexperimentloader.collection_id", "nimbus-desktop-experiments");
1833 pref("nimbus.debug", false);
1834 pref("nimbus.validation.enabled", true);
1836 // Nimbus QA prefs. Used to monitor pref-setting test experiments.
1837 pref("nimbus.qa.pref-1", "default");
1838 pref("nimbus.qa.pref-2", "default");
1840 // Startup Crash Tracking
1841 // number of startup crashes that can occur before starting into safe mode automatically
1842 // (this pref has no effect if more than 6 hours have passed since the last crash)
1843 pref("toolkit.startup.max_resumed_crashes", 3);
1845 // Whether to use RegisterApplicationRestart to restart the browser and resume
1846 // the session on next Windows startup
1847 #if defined(XP_WIN)
1848   pref("toolkit.winRegisterApplicationRestart", true);
1849 #endif
1851 // The values of preferredAction and alwaysAskBeforeHandling before pdf.js
1852 // became the default.
1853 pref("pdfjs.previousHandler.preferredAction", 0);
1854 pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
1856 // Try to convert PDFs sent as octet-stream
1857 pref("pdfjs.handleOctetStream", true);
1859 // Is the sidebar positioned ahead of the content browser
1860 pref("sidebar.position_start", true);
1861 pref("sidebar.revamp", false);
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);
1873 #else
1874 pref("security.insecure_connection_text.enabled", false);
1875 pref("security.insecure_connection_text.pbmode.enabled", false);
1876 #endif
1878 // If this turns true, Moz*Gesture events are not called stopPropagation()
1879 // before content.
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);
1934 #else
1935   pref("identity.fxaccounts.migrateToDevEdition", false);
1936 #endif
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
1948 // unsupported.
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);
1958 #else
1959   pref("media.gmp-widevinecdm-l1.visible", false);
1960   pref("media.gmp-widevinecdm-l1.enabled", false);
1961 #endif
1962 #endif
1963 #endif
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
1977 // removed.
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);
2029 #endif
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
2046 //   Fingerprinting:
2047 //     "fp": fingerprinting blocking enabled
2048 //     "-fp": fingerprinting blocking disabled
2049 //   Cryptomining:
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
2085 //   Cookie behavior:
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
2105 // lists enabled.
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);
2189 #else
2190   pref("privacy.userContext.enabled", false);
2191   pref("privacy.userContext.ui.enabled", false);
2192 #endif
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
2229 // leaks.
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
2241 // of tab switches.
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);
2255 #if defined(XP_WIN)
2256   pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", true);
2257 #endif
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);
2280 #else
2281 pref("dom.ipc.processPrelaunch.enabled", true);
2282 #endif
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);
2352 #else
2353 pref("signon.management.page.os-auth.enabled", false);
2354 #endif
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
2380 // those reports.
2381 #ifdef NIGHTLY_BUILD
2382   pref("browser.crashReports.unsubmittedCheck.enabled", true);
2383 #else
2384   pref("browser.crashReports.unsubmittedCheck.enabled", false);
2385 #endif
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);
2411 #else
2412   pref("screenshots.browser.component.enabled", false);
2413 #endif
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);
2433 #else
2434   pref("app.shield.optoutstudies.enabled", false);
2435 #endif
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);
2455 #else
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);
2461 #endif
2463 // Coverage ping is disabled by default.
2464 pref("toolkit.coverage.enabled", false);
2465 pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org");
2467 // Discovery prefs
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 // Toolbox preferences
2514 pref("devtools.toolbox.footer.height", 250);
2515 pref("devtools.toolbox.sidebar.width", 500);
2516 pref("devtools.toolbox.host", "bottom");
2517 pref("devtools.toolbox.previousHost", "right");
2518 pref("devtools.toolbox.selectedTool", "inspector");
2519 pref("devtools.toolbox.zoomValue", "1");
2520 pref("devtools.toolbox.splitconsole.enabled", true);
2521 pref("devtools.toolbox.splitconsole.open", false);
2522 pref("devtools.toolbox.splitconsoleHeight", 100);
2523 pref("devtools.toolbox.tabsOrder", "");
2524 // This is only used for local Web Extension debugging,
2525 // and allows to keep the window on top of all others,
2526 // so that you can debug the Firefox window, while keeping the devtools
2527 // always visible
2528 pref("devtools.toolbox.alwaysOnTop", true);
2530 // When the Multiprocess Browser Toolbox is enabled, you can configure the scope of it:
2531 // - "everything" will enable debugging absolutely everything in the browser
2532 //   All processes, all documents, all workers, all add-ons.
2533 // - "parent-process" will restrict debugging to the parent process
2534 //   All privileged javascript, documents and workers running in the parent process.
2535 pref("devtools.browsertoolbox.scope", "parent-process");
2537 // This preference will enable watching top-level targets from the server side.
2538 pref("devtools.target-switching.server.enabled", true);
2540 // In DevTools, create a target for each frame (i.e. not only for top-level document and
2541 // remote frames).
2542 pref("devtools.every-frame-target.enabled", true);
2544 // Controls the hability to debug popups from the same DevTools
2545 // of the original tab the popups are coming from
2546 pref("devtools.popups.debug", false);
2548 // Toolbox Button preferences
2549 pref("devtools.command-button-pick.enabled", true);
2550 pref("devtools.command-button-frames.enabled", true);
2551 pref("devtools.command-button-responsive.enabled", true);
2552 pref("devtools.command-button-screenshot.enabled", false);
2553 pref("devtools.command-button-rulers.enabled", false);
2554 pref("devtools.command-button-measure.enabled", false);
2555 pref("devtools.command-button-noautohide.enabled", false);
2556 pref("devtools.command-button-errorcount.enabled", true);
2557 #ifndef MOZILLA_OFFICIAL
2558   pref("devtools.command-button-experimental-prefs.enabled", true);
2559 #endif
2561 // Inspector preferences
2562 // Enable the Inspector
2563 pref("devtools.inspector.enabled", true);
2564 // What was the last active sidebar in the inspector
2565 pref("devtools.inspector.selectedSidebar", "layoutview");
2566 pref("devtools.inspector.activeSidebar", "layoutview");
2567 pref("devtools.inspector.remote", false);
2569 // Enable the 3 pane mode in the inspector
2570 pref("devtools.inspector.three-pane-enabled", true);
2571 // Enable the 3 pane mode in the chrome inspector
2572 pref("devtools.inspector.chrome.three-pane-enabled", false);
2573 // Collapse pseudo-elements by default in the rule-view
2574 pref("devtools.inspector.show_pseudo_elements", false);
2575 // The default size for image preview tooltips in the rule-view/computed-view/markup-view
2576 pref("devtools.inspector.imagePreviewTooltipSize", 300);
2577 // Enable user agent style inspection in rule-view
2578 pref("devtools.inspector.showUserAgentStyles", false);
2579 // Show native anonymous content and user agent shadow roots
2580 pref("devtools.inspector.showAllAnonymousContent", false);
2581 // Enable overflow debugging in the inspector.
2582 pref("devtools.overflow.debugging.enabled", true);
2583 // Enable drag to edit properties in the inspector rule view.
2584 pref("devtools.inspector.draggable_properties", true);
2586 // Grid highlighter preferences
2587 pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
2588 pref("devtools.gridinspector.gridOutlineMaxRows", 50);
2589 pref("devtools.gridinspector.showGridAreas", false);
2590 pref("devtools.gridinspector.showGridLineNumbers", false);
2591 pref("devtools.gridinspector.showInfiniteLines", false);
2592 // Max number of grid highlighters that can be displayed
2593 pref("devtools.gridinspector.maxHighlighters", 3);
2595 // Whether or not simplified highlighters should be used when
2596 // prefers-reduced-motion is enabled.
2597 pref("devtools.inspector.simple-highlighters-reduced-motion", false);
2598 // Wheter or not Enter on inplace editor in the Rules view moves focus and activates
2599 // next inplace editor.
2600 pref("devtools.inspector.rule-view.focusNextOnEnter", true);
2602 // Whether or not the box model panel is opened in the layout view
2603 pref("devtools.layout.boxmodel.opened", true);
2604 // Whether or not the flexbox panel is opened in the layout view
2605 pref("devtools.layout.flexbox.opened", true);
2606 // Whether or not the flexbox container panel is opened in the layout view
2607 pref("devtools.layout.flex-container.opened", true);
2608 // Whether or not the flexbox item panel is opened in the layout view
2609 pref("devtools.layout.flex-item.opened", true);
2610 // Whether or not the grid inspector panel is opened in the layout view
2611 pref("devtools.layout.grid.opened", true);
2613 // Enable hovering Box Model values and jumping to their source CSS rule in the
2614 // rule-view.
2615 #if defined(NIGHTLY_BUILD)
2616   pref("devtools.layout.boxmodel.highlightProperty", true);
2617 #else
2618   pref("devtools.layout.boxmodel.highlightProperty", false);
2619 #endif
2621 // By how many times eyedropper will magnify pixels
2622 pref("devtools.eyedropper.zoom", 6);
2624 // Enable to collapse attributes that are too long.
2625 pref("devtools.markup.collapseAttributes", true);
2626 // Length to collapse attributes
2627 pref("devtools.markup.collapseAttributeLength", 120);
2628 // Whether to auto-beautify the HTML on copy.
2629 pref("devtools.markup.beautifyOnCopy", false);
2631 // DevTools default color unit
2632 pref("devtools.defaultColorUnit", "authored");
2634 // Enable the Memory tools
2635 pref("devtools.memory.enabled", true);
2637 pref("devtools.memory.custom-census-displays", "{}");
2638 pref("devtools.memory.custom-label-displays", "{}");
2639 pref("devtools.memory.custom-tree-map-displays", "{}");
2641 pref("devtools.memory.max-individuals", 1000);
2642 pref("devtools.memory.max-retaining-paths", 10);
2644 // Enable the Performance tools
2645 pref("devtools.performance.enabled", true);
2647 // The default cache UI setting
2648 pref("devtools.cache.disabled", false);
2650 // The default service workers UI setting
2651 pref("devtools.serviceWorkers.testing.enabled", false);
2653 // Enable the Network Monitor
2654 pref("devtools.netmonitor.enabled", true);
2656 pref("devtools.netmonitor.features.search", true);
2657 pref("devtools.netmonitor.features.requestBlocking", true);
2659 // Enable the Application panel
2660 pref("devtools.application.enabled", true);
2662 // Enable the custom formatters feature
2663 // This preference represents the user's choice to enable the custom formatters feature.
2664 // While the preference above will be removed once the feature is stable, this one is menat to stay.
2665 pref("devtools.custom-formatters.enabled", false);
2667 // The default Network Monitor UI settings
2668 pref("devtools.netmonitor.panes-network-details-width", 550);
2669 pref("devtools.netmonitor.panes-network-details-height", 450);
2670 pref("devtools.netmonitor.panes-search-width", 550);
2671 pref("devtools.netmonitor.panes-search-height", 450);
2672 pref("devtools.netmonitor.filters", "[\"all\"]");
2673 pref("devtools.netmonitor.visibleColumns",
2674     "[\"status\",\"method\",\"domain\",\"file\",\"initiator\",\"type\",\"transferred\",\"contentSize\",\"waterfall\"]"
2676 pref("devtools.netmonitor.columnsData",
2677   '[{"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}]');
2678 pref("devtools.netmonitor.msg.payload-preview-height", 128);
2679 pref("devtools.netmonitor.msg.visibleColumns",
2680   '["data", "time"]'
2682 pref("devtools.netmonitor.msg.displayed-messages.limit", 500);
2684 pref("devtools.netmonitor.response.ui.limit", 10240);
2686 // Save request/response bodies yes/no.
2687 pref("devtools.netmonitor.saveRequestAndResponseBodies", true);
2689 // The default Network monitor HAR export setting
2690 pref("devtools.netmonitor.har.defaultLogDir", "");
2691 pref("devtools.netmonitor.har.defaultFileName", "%hostname_Archive [%date]");
2692 pref("devtools.netmonitor.har.jsonp", false);
2693 pref("devtools.netmonitor.har.jsonpCallback", "");
2694 pref("devtools.netmonitor.har.includeResponseBodies", true);
2695 pref("devtools.netmonitor.har.compress", false);
2696 pref("devtools.netmonitor.har.forceExport", false);
2697 pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
2698 pref("devtools.netmonitor.har.enableAutoExportToFile", false);
2699 pref("devtools.netmonitor.har.multiple-pages", false);
2701 // netmonitor audit
2702 pref("devtools.netmonitor.audits.slow", 500);
2704 // Enable the new Edit and Resend panel
2705   pref("devtools.netmonitor.features.newEditAndResend", true);
2707 pref("devtools.netmonitor.customRequest", '{}');
2709 // Enable the Storage Inspector
2710 pref("devtools.storage.enabled", true);
2712 // Enable the Style Editor.
2713 pref("devtools.styleeditor.enabled", true);
2714 pref("devtools.styleeditor.autocompletion-enabled", true);
2715 pref("devtools.styleeditor.showAtRulesSidebar", true);
2716 pref("devtools.styleeditor.atRulesSidebarWidth", 238);
2717 pref("devtools.styleeditor.navSidebarWidth", 245);
2718 pref("devtools.styleeditor.transitions", true);
2720 // Screenshot Option Settings.
2721 pref("devtools.screenshot.clipboard.enabled", false);
2722 pref("devtools.screenshot.audio.enabled", true);
2724 // Make sure the DOM panel is hidden by default
2725 pref("devtools.dom.enabled", false);
2727 // Enable the Accessibility panel.
2728 pref("devtools.accessibility.enabled", true);
2730 // Web console filters
2731 pref("devtools.webconsole.filter.error", true);
2732 pref("devtools.webconsole.filter.warn", true);
2733 pref("devtools.webconsole.filter.info", true);
2734 pref("devtools.webconsole.filter.log", true);
2735 pref("devtools.webconsole.filter.debug", true);
2736 pref("devtools.webconsole.filter.css", false);
2737 pref("devtools.webconsole.filter.net", false);
2738 pref("devtools.webconsole.filter.netxhr", false);
2740 // Webconsole autocomplete preference
2741 pref("devtools.webconsole.input.autocomplete",true);
2743 // Show context selector in console input
2744 pref("devtools.webconsole.input.context", true);
2746 // Set to true to eagerly show the results of webconsole terminal evaluations
2747 // when they don't have side effects.
2748 pref("devtools.webconsole.input.eagerEvaluation", true);
2750 // Browser console filters
2751 pref("devtools.browserconsole.filter.error", true);
2752 pref("devtools.browserconsole.filter.warn", true);
2753 pref("devtools.browserconsole.filter.info", true);
2754 pref("devtools.browserconsole.filter.log", true);
2755 pref("devtools.browserconsole.filter.debug", true);
2756 pref("devtools.browserconsole.filter.css", false);
2757 pref("devtools.browserconsole.filter.net", false);
2758 pref("devtools.browserconsole.filter.netxhr", false);
2760 // Max number of inputs to store in web console history.
2761 pref("devtools.webconsole.inputHistoryCount", 300);
2763 // Persistent logging: |true| if you want the relevant tool to keep all of the
2764 // logged messages after reloading the page, |false| if you want the output to
2765 // be cleared each time page navigation happens.
2766 pref("devtools.webconsole.persistlog", false);
2767 pref("devtools.netmonitor.persistlog", false);
2769 // Web Console timestamp: |true| if you want the logs and instructions
2770 // in the Web Console to display a timestamp, or |false| to not display
2771 // any timestamps.
2772 pref("devtools.webconsole.timestampMessages", false);
2774 // Enable the webconsole sidebar toggle in Nightly builds.
2775 #if defined(NIGHTLY_BUILD)
2776   pref("devtools.webconsole.sidebarToggle", true);
2777 #else
2778   pref("devtools.webconsole.sidebarToggle", false);
2779 #endif
2781 // Saved editor mode state in the console.
2782 pref("devtools.webconsole.input.editor", false);
2783 pref("devtools.browserconsole.input.editor", false);
2785 // Editor width for webconsole and browserconsole.
2786 pref("devtools.webconsole.input.editorWidth", 0);
2787 pref("devtools.browserconsole.input.editorWidth", 0);
2789 // Display an onboarding UI for the Editor mode.
2790 pref("devtools.webconsole.input.editorOnboarding", true);
2792 // Enable message grouping in the console, true by default
2793 pref("devtools.webconsole.groupWarningMessages", true);
2795 // Enable network monitoring the browser toolbox console/browser console.
2796 pref("devtools.browserconsole.enableNetworkMonitoring", false);
2798 // Enable client-side mapping service for source maps
2799 pref("devtools.source-map.client-service.enabled", true);
2801 // The number of lines that are displayed in the web console.
2802 pref("devtools.hud.loglimit", 10000);
2804 // The developer tools editor configuration:
2805 // - tabsize: how many spaces to use when a Tab character is displayed.
2806 // - expandtab: expand Tab characters to spaces.
2807 // - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
2808 // - autoclosebrackets: whether to permit automatic bracket/quote closing.
2809 // - detectindentation: whether to detect the indentation from the file
2810 // - enableCodeFolding: Whether to enable code folding or not.
2811 pref("devtools.editor.tabsize", 2);
2812 pref("devtools.editor.expandtab", true);
2813 pref("devtools.editor.keymap", "default");
2814 pref("devtools.editor.autoclosebrackets", true);
2815 pref("devtools.editor.detectindentation", true);
2816 pref("devtools.editor.enableCodeFolding", true);
2817 pref("devtools.editor.autocomplete", true);
2819 // The angle of the viewport.
2820 pref("devtools.responsive.viewport.angle", 0);
2821 // The width of the viewport.
2822 pref("devtools.responsive.viewport.width", 320);
2823 // The height of the viewport.
2824 pref("devtools.responsive.viewport.height", 480);
2825 // The pixel ratio of the viewport.
2826 pref("devtools.responsive.viewport.pixelRatio", 0);
2827 // Whether or not the viewports are left aligned.
2828 pref("devtools.responsive.leftAlignViewport.enabled", false);
2829 // Whether to reload when touch simulation is toggled
2830 pref("devtools.responsive.reloadConditions.touchSimulation", false);
2831 // Whether to reload when user agent is changed
2832 pref("devtools.responsive.reloadConditions.userAgent", false);
2833 // Whether to show the notification about reloading to apply emulation
2834 pref("devtools.responsive.reloadNotification.enabled", true);
2835 // Whether or not touch simulation is enabled.
2836 pref("devtools.responsive.touchSimulation.enabled", false);
2837 // The user agent of the viewport.
2838 pref("devtools.responsive.userAgent", "");
2839 // Show the custom user agent input by default
2840 pref("devtools.responsive.showUserAgentInput", true);
2842 // Show tab debug targets for This Firefox (on by default for local builds).
2843 #ifdef MOZILLA_OFFICIAL
2844   pref("devtools.aboutdebugging.local-tab-debugging", false);
2845 #else
2846   pref("devtools.aboutdebugging.local-tab-debugging", true);
2847 #endif
2849 // Show process debug targets.
2850 pref("devtools.aboutdebugging.process-debugging", true);
2851 // Stringified array of network locations that users can connect to.
2852 pref("devtools.aboutdebugging.network-locations", "[]");
2853 // Debug target pane collapse/expand settings.
2854 pref("devtools.aboutdebugging.collapsibilities.installedExtension", false);
2855 pref("devtools.aboutdebugging.collapsibilities.otherWorker", false);
2856 pref("devtools.aboutdebugging.collapsibilities.serviceWorker", false);
2857 pref("devtools.aboutdebugging.collapsibilities.sharedWorker", false);
2858 pref("devtools.aboutdebugging.collapsibilities.tab", false);
2859 pref("devtools.aboutdebugging.collapsibilities.temporaryExtension", false);
2861 // about:debugging: only show system and hidden extensions in local builds by
2862 // default.
2863 #ifdef MOZILLA_OFFICIAL
2864   pref("devtools.aboutdebugging.showHiddenAddons", false);
2865 #else
2866   pref("devtools.aboutdebugging.showHiddenAddons", true);
2867 #endif
2869 // Map top-level await expressions in the console
2870 pref("devtools.debugger.features.map-await-expression", true);
2872 // This relies on javascript.options.asyncstack as well or it has no effect.
2873 pref("devtools.debugger.features.async-captured-stacks", true);
2874 pref("devtools.debugger.features.async-live-stacks", false);
2875 pref("devtools.debugger.hide-ignored-sources", false);
2877 // Disable autohide for DevTools popups and tooltips.
2878 // This is currently not exposed by any UI to avoid making
2879 // about:devtools-toolbox tabs unusable by mistake.
2880 pref("devtools.popup.disable_autohide", false);
2882 // FirstStartup service time-out in ms
2883 pref("first-startup.timeout", 30000);
2885 // Enable the default browser agent.
2886 // The agent still runs as scheduled if this pref is disabled,
2887 // but it exits immediately before taking any action.
2888 #ifdef XP_WIN
2889   pref("default-browser-agent.enabled", true);
2890 #endif
2892 // Test Prefs that do nothing for testing
2893 #if defined(EARLY_BETA_OR_EARLIER)
2894   pref("app.normandy.test-prefs.bool", false);
2895   pref("app.normandy.test-prefs.integer", 0);
2896   pref("app.normandy.test-prefs.string", "");
2897 #endif
2899 // Shows 'View Image Info' item in the image context menu
2900 #ifdef MOZ_DEV_EDITION
2901   pref("browser.menu.showViewImageInfo", true);
2902 #else
2903   pref("browser.menu.showViewImageInfo", false);
2904 #endif
2906 // Handing URLs to external apps via the "Share URL" menu item could allow a proxy bypass
2907 #ifdef MOZ_PROXY_BYPASS_PROTECTION
2908   pref("browser.menu.share_url.allow", false);
2909 #endif
2911 // Mozilla-controlled domains that are allowed to use non-standard
2912 // context properties for SVG images for use in the browser UI. Please
2913 // keep this list short. This preference (and SVG `context-` keyword support)
2914 // are expected to go away once a standardized alternative becomes
2915 // available.
2916 pref("svg.context-properties.content.allowed-domains", "profile.accounts.firefox.com,profile.stage.mozaws.net");
2918 // Preference that allows individual users to disable Firefox Translations.
2919 #ifdef NIGHTLY_BUILD
2920   pref("extensions.translations.disabled", true);
2921 #endif
2923 #if defined(XP_MACOSX) || defined(XP_WIN)
2924 pref("browser.firefoxbridge.enabled", false);
2925 pref("browser.firefoxbridge.extensionOrigins",
2926     "chrome-extension://gkcbmfjnnjoambnfmihmnkneakghogca/"
2928 #endif
2930 // Turn on interaction measurements
2931 pref("browser.places.interactions.enabled", true);
2933 // If the user has seen the Firefox View feature tour this value reflects
2934 // the id of the last screen they saw and whether they completed the tour
2935 pref("browser.firefox-view.feature-tour", "{\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}");
2936 // Number of times the user visited about:firefoxview
2937 pref("browser.firefox-view.view-count", 0);
2938 // Maximum number of rows to show on the "History" page.
2939 pref("browser.firefox-view.max-history-rows", 300);
2940 // Enables search functionality in Firefox View.
2941 pref("browser.firefox-view.search.enabled", true);
2942 // Enables virtual list functionality in Firefox View.
2943 pref("browser.firefox-view.virtual-list.enabled", true);
2945 // If the user has seen the pdf.js feature tour this value reflects the tour
2946 // message id, the id of the last screen they saw, and whether they completed the tour
2947 pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":false}");
2949 // Enables cookie banner handling in Nightly in Private Browsing Mode. See
2950 // StaticPrefList.yaml for a description of the prefs.
2951 #ifdef NIGHTLY_BUILD
2952   pref("cookiebanners.service.mode.privateBrowsing", 1);
2953 #endif
2955 #if defined(EARLY_BETA_OR_EARLIER)
2956   // Enables the cookie banner desktop UI.
2957   pref("cookiebanners.ui.desktop.enabled", true);
2958 #else
2959   pref("cookiebanners.ui.desktop.enabled", false);
2960 #endif
2962 // When true, shows a one-time feature callout for cookie banner blocking.
2963 pref("cookiebanners.ui.desktop.showCallout", false);
2965 // Controls which variant of the cookie banner CFR the user is presented with.
2966 pref("cookiebanners.ui.desktop.cfrVariant", 0);
2968 // Parameters for the swipe-to-navigation icon.
2970 // `navigation-icon-{start|end}-position` is the start or the end position of
2971 // the icon movement in response to the user's swipe gesture. `0` means the icon
2972 // positions at the left edge of the browser window. For example on Mac, when
2973 // the user started swipe gesture left to right, the icon appears at a point
2974 // where left side 20px of the icon is outside of the browser window's view.
2976 // `navigation-icon-{min|max}-radius` is the minimum or the maximum radius of
2977 // the icon's outer circle size in response to the user's swipe gesture.  `-1`
2978 // means that the circle radius never changes.
2979 #ifdef XP_MACOSX
2980   pref("browser.swipe.navigation-icon-start-position", -20);
2981   pref("browser.swipe.navigation-icon-end-position", 0);
2982   pref("browser.swipe.navigation-icon-min-radius", -1);
2983   pref("browser.swipe.navigation-icon-max-radius", -1);
2984 #else
2985   pref("browser.swipe.navigation-icon-start-position", -40);
2986   pref("browser.swipe.navigation-icon-end-position", 60);
2987   pref("browser.swipe.navigation-icon-min-radius", 12);
2988   pref("browser.swipe.navigation-icon-max-radius", 20);
2989 #endif
2991 // Trigger FOG's Artifact Build support on artifact builds.
2992 #ifdef MOZ_ARTIFACT_BUILDS
2993   pref("telemetry.fog.artifact_build", true);
2994 #endif
2996 #ifdef NIGHTLY_BUILD
2997   pref("dom.security.credentialmanagement.identity.enabled", true);
2998 #endif
3000 pref("ui.new-webcompat-reporter.enabled", true);
3002 #if defined(EARLY_BETA_OR_EARLIER)
3003 pref("ui.new-webcompat-reporter.send-more-info-link", true);
3004 #else
3005 pref("ui.new-webcompat-reporter.send-more-info-link", false);
3006 #endif
3008 # 0 = disabled, 1 = reason optional, 2 = reason required.
3009 pref("ui.new-webcompat-reporter.reason-dropdown", 2);
3011 pref("ui.new-webcompat-reporter.reason-dropdown.randomized", true);
3013 // Reset Private Browsing Session feature
3014 #if defined(NIGHTLY_BUILD)
3015   pref("browser.privatebrowsing.resetPBM.enabled", true);
3016 #else
3017   pref("browser.privatebrowsing.resetPBM.enabled", false);
3018 #endif
3019 // Whether the reset private browsing panel should ask for confirmation before
3020 // performing the clear action.
3021 pref("browser.privatebrowsing.resetPBM.showConfirmationDialog", true);
3023 // the preferences related to the Nimbus experiment, to activate and deactivate
3024 // the the entire rollout (see: bug 1864216 - two prompts, 1877500 - set two in one prompt)
3025 pref("browser.mailto.dualPrompt", false);
3026 // When visiting a site which uses registerProtocolHandler: Ask the user to set Firefox as
3027 // default mailto handler.
3028 pref("browser.mailto.prompt.os", true);
3030 #if defined(NIGHTLY_BUILD)
3031 pref("browser.backup.enabled", true);
3032 #else
3033 pref("browser.backup.enabled", false);
3034 #endif
3036 // Pref to enable the new profiles
3037 pref("browser.profiles.enabled", false);
3039 pref("startup.homepage_override_url_nimbus", "");
3040 pref("startup.homepage_override_nimbus_maxVersion", "");
3042 // Pref to enable the content relevancy feature.
3043 pref("toolkit.contentRelevancy.enabled", false);