Backed out changeset cf62466da741 (bug 1860617) for causing xpc failures on dom/ipc...
[gecko.git] / browser / app / profile / firefox.js
blobe0b6f0e824d54b0c6e4bd33fc69a4e5526cce517
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 // Enables some extra Extension System Logging (can reduce performance)
25 pref("extensions.logging.enabled", false);
27 // Disables strict compatibility, making addons compatible-by-default.
28 pref("extensions.strictCompatibility", false);
30 pref("extensions.webextOptionalPermissionPrompts", true);
31 // If enabled, install origin permission verification happens after addons are downloaded.
32 pref("extensions.postDownloadThirdPartyPrompt", true);
34 // Preferences for AMO integration
35 pref("extensions.getAddons.cache.enabled", true);
36 pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/api/v4/addons/search/?guid=%IDS%&lang=%LOCALE%");
37 pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
38 pref("extensions.getAddons.link.url", "https://addons.mozilla.org/%LOCALE%/firefox/");
39 pref("extensions.getAddons.langpacks.url", "https://services.addons.mozilla.org/api/v4/addons/language-tools/?app=firefox&type=language&appversion=%VERSION%");
40 pref("extensions.getAddons.discovery.api_url", "https://services.addons.mozilla.org/api/v4/discovery/?lang=%LOCALE%&edition=%DISTRIBUTION%");
41 pref("extensions.getAddons.browserMappings.url", "https://services.addons.mozilla.org/api/v5/addons/browser-mappings/?browser=%BROWSER%");
43 // The URL for the privacy policy related to recommended extensions.
44 pref("extensions.recommendations.privacyPolicyUrl", "https://www.mozilla.org/privacy/firefox/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_content=privacy-policy-link#addons");
45 // The URL for Firefox Color, recommended on the theme page in about:addons.
46 pref("extensions.recommendations.themeRecommendationUrl", "https://color.firefox.com/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_content=theme-footer-link");
48 pref("extensions.update.autoUpdateDefault", true);
50 // Check AUS for system add-on updates.
51 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");
52 pref("extensions.systemAddon.update.enabled", true);
54 // Disable add-ons that are not installed by the user in all scopes by default.
55 // See the SCOPE constants in AddonManager.jsm for values to use here.
56 pref("extensions.autoDisableScopes", 15);
57 // Scopes to scan for changes at startup.
58 pref("extensions.startupScanScopes", 0);
60 pref("extensions.geckoProfiler.acceptedExtensionIds", "geckoprofiler@mozilla.com,quantum-foxfooding@mozilla.com,raptor@mozilla.org");
63 pref("extensions.webextensions.remote", true);
65 // Require signed add-ons by default
66 pref("extensions.langpacks.signatures.required", true);
67 pref("xpinstall.signatures.required", true);
69 // Dictionary download preference
70 pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/language-tools/");
72 // At startup, should we check to see if the installation
73 // date is older than some threshold
74 pref("app.update.checkInstallTime", true);
76 // The number of days a binary is permitted to be old without checking is defined in
77 // firefox-branding.js (app.update.checkInstallTime.days)
79 // The minimum delay in seconds for the timer to fire between the notification
80 // of each consumer of the timer manager.
81 // minimum=30 seconds, default=120 seconds, and maximum=300 seconds
82 pref("app.update.timerMinimumDelay", 120);
84 // The minimum delay in milliseconds for the first firing after startup of the timer
85 // to notify consumers of the timer manager.
86 // minimum=10 seconds, default=30 seconds, and maximum=120 seconds
87 pref("app.update.timerFirstInterval", 30000);
89 // App-specific update preferences
91 // The interval to check for updates (app.update.interval) is defined in
92 // firefox-branding.js
94 // Enables some extra Application Update Logging (can reduce performance)
95 pref("app.update.log", false);
96 // Causes Application Update Logging to be sent to a file in the profile
97 // directory. This preference is automatically disabled on application start to
98 // prevent it from being left on accidentally. Turning this pref on enables
99 // logging, even if app.update.log is false.
100 pref("app.update.log.file", false);
102 // The number of general background check failures to allow before notifying the
103 // user of the failure. User initiated update checks always notify the user of
104 // the failure.
105 pref("app.update.backgroundMaxErrors", 10);
107 // How many times we should let downloads fail before prompting the user to
108 // download a fresh installer.
109 pref("app.update.download.maxAttempts", 2);
111 // How many times we should let an elevation prompt fail before prompting the user to
112 // download a fresh installer.
113 pref("app.update.elevate.maxAttempts", 2);
115 #ifdef NIGHTLY_BUILD
116   // Whether to delay popup notifications when an update is available and
117   // suppress them when an update is installed and waiting for user to restart.
118   // If set to true, these notifications will immediately be shown as banners in
119   // the app menu and as badges on the app menu button. Update available
120   // notifications will not create popup prompts until a week has passed without
121   // the user installing the update. Update restart notifications will not
122   // create popup prompts at all. This doesn't affect update notifications
123   // triggered by errors/failures or manual install prompts.
124   pref("app.update.suppressPrompts", false);
125 #endif
127 // If set to true, a message will be displayed in the hamburger menu while
128 // an update is being downloaded.
129 pref("app.update.notifyDuringDownload", false);
131 // If set to true, the Update Service will automatically download updates if the
132 // user can apply updates. This pref is no longer used on Windows, except as the
133 // default value to migrate to the new location that this data is now stored
134 // (which is in a file in the update directory). Because of this, this pref
135 // should no longer be used directly. Instead, getAppUpdateAutoEnabled and
136 // getAppUpdateAutoEnabled from UpdateUtils.sys.mjs should be used.
137 #ifndef XP_WIN
138   pref("app.update.auto", true);
139 #endif
141 // If set to true, the Update Service will apply updates in the background
142 // when it finishes downloading them.
143 pref("app.update.staging.enabled", true);
145 // Update service URL:
146 // app.update.url was removed in Bug 1568994
147 // app.update.url.manual is in branding section
148 // app.update.url.details is in branding section
150 // app.update.badgeWaitTime is in branding section
151 // app.update.interval is in branding section
152 // app.update.promptWaitTime is in branding section
154 // Whether or not to attempt using the service for updates.
155 #ifdef MOZ_MAINTENANCE_SERVICE
156   pref("app.update.service.enabled", true);
157 #endif
159 #ifdef MOZ_BITS_DOWNLOAD
160   // If set to true, the Update Service will attempt to use Windows BITS to
161   // download updates and will fallback to downloading internally if that fails.
162   pref("app.update.BITS.enabled", true);
163 #endif
165 pref("app.update.langpack.enabled", true);
167 #if defined(MOZ_UPDATE_AGENT)
168   pref("app.update.background.loglevel", "error");
169   pref("app.update.background.timeoutSec", 600);
170   // By default, check for updates when the browser is not running every 7 hours.
171   pref("app.update.background.interval", 25200);
172   // By default, snapshot Firefox Messaging System targeting for use by the
173   // background update task every 60 minutes.
174   pref("app.update.background.messaging.targeting.snapshot.intervalSec", 3600);
175   // For historical reasons, the background update process requires the Mozilla
176   // Maintenance Service to be available and enabled via the service registry
177   // key.  When this value is `true`, allow the background update process to
178   // update unelevated installations (that are writeable, etc).
179   //
180   // N.b. This feature impacts the `applications: firefox_desktop` Nimbus
181   // application ID (and not the `firefox_desktop_background_task` application
182   // ID).  However, the pref will be automatically mirrored to the background
183   // update task profile. This means that experiments and enrollment impact the
184   // Firefox Desktop browsing profile that _schedules_ the background update
185   // task, and then the background update task collects telemetry in accordance
186   // with the mirrored pref.
187   pref("app.update.background.allowUpdatesForUnelevatedInstallations", false);
188 #endif
190 #ifdef XP_MACOSX
191   // If set to true, Firefox will automatically restart if it is left running
192   // with no browser windows open.
193   pref("app.update.noWindowAutoRestart.enabled", true);
194   // How long to wait after all browser windows are closed before restarting,
195   // in milliseconds. 5 min = 300000 ms
196   pref("app.update.noWindowAutoRestart.delayMs", 300000);
197 #endif
199 #if defined(MOZ_BACKGROUNDTASKS)
200   // The amount of time, in seconds, before background tasks time out and exit.
201   // Tasks can override this default (10 minutes).
202   pref("toolkit.backgroundtasks.defaultTimeoutSec", 600);
203 #endif
205 // Symmetric (can be overridden by individual extensions) update preferences.
206 // e.g.
207 //  extensions.{GUID}.update.enabled
208 //  extensions.{GUID}.update.url
209 //  .. etc ..
211 pref("extensions.update.enabled", true);
212 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%");
213 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%");
214 pref("extensions.update.interval", 86400);  // Check for updates to Extensions and
215                                             // Themes every day
217 pref("lightweightThemes.getMoreURL", "https://addons.mozilla.org/%LOCALE%/firefox/themes");
219 #if defined(MOZ_WIDEVINE_EME)
220   pref("browser.eme.ui.enabled", true);
221 #else
222   pref("browser.eme.ui.enabled", false);
223 #endif
225 // UI tour experience.
226 pref("browser.uitour.enabled", true);
227 pref("browser.uitour.loglevel", "Error");
228 pref("browser.uitour.requireSecure", true);
229 pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
230 // How long to show a Hearbeat survey (two hours, in seconds)
231 pref("browser.uitour.surveyDuration", 7200);
233 pref("keyword.enabled", true);
235 // Fixup whitelists, the urlbar won't try to search for these words, but will
236 // instead consider them valid TLDs. Don't check these directly, use
237 // Services.uriFixup.isDomainKnown() instead.
238 pref("browser.fixup.domainwhitelist.localhost", true);
239 // https://tools.ietf.org/html/rfc2606
240 pref("browser.fixup.domainsuffixwhitelist.test", true);
241 pref("browser.fixup.domainsuffixwhitelist.example", true);
242 pref("browser.fixup.domainsuffixwhitelist.invalid", true);
243 pref("browser.fixup.domainsuffixwhitelist.localhost", true);
244 // https://tools.ietf.org/html/draft-wkumari-dnsop-internal-00
245 pref("browser.fixup.domainsuffixwhitelist.internal", true);
246 // https://tools.ietf.org/html/rfc6762
247 pref("browser.fixup.domainsuffixwhitelist.local", true);
249 // Whether to always go through the DNS server before sending a single word
250 // search string, that may contain a valid host, to a search engine.
251 pref("browser.fixup.dns_first_for_single_words", false);
253 #ifdef UNIX_BUT_NOT_MAC
254   pref("general.autoScroll", false);
255 #else
256   pref("general.autoScroll", true);
257 #endif
259 // UI density of the browser chrome. This mostly affects toolbarbutton
260 // and urlbar spacing. The possible values are 0=normal, 1=compact, 2=touch.
261 pref("browser.uidensity", 0);
262 // Whether Firefox will automatically override the uidensity to "touch"
263 // while the user is in a touch environment (such as Windows tablet mode).
264 pref("browser.touchmode.auto", true);
265 // Whether Firefox will show the Compact Mode UIDensity option.
266 pref("browser.compactmode.show", false);
268 // At startup, check if we're the default browser and prompt user if not.
269 pref("browser.shell.checkDefaultBrowser", true);
270 pref("browser.shell.shortcutFavicons",true);
271 pref("browser.shell.mostRecentDateSetAsDefault", "");
272 pref("browser.shell.skipDefaultBrowserCheckOnFirstRun", true);
273 pref("browser.shell.didSkipDefaultBrowserCheckOnFirstRun", false);
274 pref("browser.shell.defaultBrowserCheckCount", 0);
275 #if defined(XP_WIN)
276 // Attempt to set the default browser on Windows 10 using the UserChoice registry keys,
277 // before falling back to launching the modern Settings dialog.
278 pref("browser.shell.setDefaultBrowserUserChoice", true);
279 // When setting the default browser on Windows 10 using the UserChoice
280 // registry keys, also try to set Firefox as the default PDF handler.
281 pref("browser.shell.setDefaultPDFHandler", true);
282 // When setting Firefox as the default PDF handler (subject to conditions
283 // above), only set Firefox as the default PDF handler when the existing handler
284 // is a known browser, and not when existing handler is another PDF handler such
285 // as Acrobat Reader or Nitro PDF.
286 pref("browser.shell.setDefaultPDFHandler.onlyReplaceBrowsers", true);
287 // Whether or not to we are allowed to prompt the user to set Firefox as their
288 // default PDF handler.
289 pref("browser.shell.checkDefaultPDF", true);
290 // Will be set to `true` if the user indicates that they don't want to be asked
291 // again about Firefox being their default PDF handler any more.
292 pref("browser.shell.checkDefaultPDF.silencedByUser", false);
293 // URL to navigate to when launching Firefox after accepting the Windows Default
294 // Browser Agent "Set Firefox as default" call to action.
295 pref("browser.shell.defaultBrowserAgent.thanksURL", "https://www.mozilla.org/%LOCALE%/firefox/set-as-default/thanks/");
296 #endif
299 // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
300 // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
301 pref("browser.startup.page",                1);
302 pref("browser.startup.homepage",            "about:home");
303 pref("browser.startup.homepage.abouthome_cache.enabled", true);
304 pref("browser.startup.homepage.abouthome_cache.loglevel", "Warn");
306 // Whether we should skip the homepage when opening the first-run page
307 pref("browser.startup.firstrunSkipsHomepage", true);
309 // Whether we should show the session-restore infobar on startup
310 pref("browser.startup.couldRestoreSession.count", 0);
312 // Show an about:blank window as early as possible for quick startup feedback.
313 // Held to nightly on Linux due to bug 1450626.
314 // Disabled on Mac because the bouncing dock icon already provides feedback.
315 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK) && defined(NIGHTLY_BUILD)
316   pref("browser.startup.blankWindow", true);
317 #else
318   pref("browser.startup.blankWindow", false);
319 #endif
321 // Show a skeleton UI window prior to loading libxul. Only visible for windows
322 // users as it is not implemented anywhere else.
323 #if defined(XP_WIN)
324 pref("browser.startup.preXulSkeletonUI", true);
326 // Whether the checkbox to enable Windows launch on login is shown
327 pref("browser.startup.windowsLaunchOnLogin.enabled", false);
328 // Whether to show the launch on login infobar notification
329 pref("browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt", false);
330 #endif
332 // Show an upgrade dialog on major upgrades.
333 pref("browser.startup.upgradeDialog.enabled", false);
335 pref("browser.chrome.site_icons", true);
336 // browser.warnOnQuit == false will override all other possible prompts when quitting or restarting
337 pref("browser.warnOnQuit", true);
339 // Whether to warn when quitting when using the shortcut key.
340 #if defined(XP_WIN)
341   pref("browser.warnOnQuitShortcut", false);
342 #else
343   pref("browser.warnOnQuitShortcut", true);
344 #endif
346 // TODO bug 1702563: Renable fullscreen autohide by default on macOS.
347 #ifdef XP_MACOSX
348   pref("browser.fullscreen.autohide", false);
349 #else
350   pref("browser.fullscreen.autohide", true);
351 #endif
353 pref("browser.overlink-delay", 80);
355 pref("browser.theme.colorway-closet", true);
357 // Whether expired built-in colorways themes that are active or retained
358 // should be allowed to check for updates and be updated to an AMO hosted
359 // theme with the same id (as part of preparing to remove from mozilla-central
360 // all the expired built-in colorways themes, after existing users have been
361 // migrated to colorways themes hosted on AMO).
362 pref("browser.theme.colorway-migration", true);
364 // Whether using `ctrl` when hitting return/enter in the URL bar
365 // (or clicking 'go') should prefix 'www.' and suffix
366 // browser.fixup.alternate.suffix to the URL bar value prior to
367 // navigating.
368 pref("browser.urlbar.ctrlCanonizesURLs", true);
370 // Whether we announce to screen readers when tab-to-search results are
371 // inserted.
372 pref("browser.urlbar.accessibility.tabToSearch.announceResults", true);
374 // Control autoFill behavior
375 pref("browser.urlbar.autoFill", true);
377 // Whether enabling adaptive history autofill.
378 pref("browser.urlbar.autoFill.adaptiveHistory.enabled", false);
380 // Minimum char length of the user's search string to enable adaptive history
381 // autofill.
382 pref("browser.urlbar.autoFill.adaptiveHistory.minCharsThreshold", 0);
384 // Whether to warm up network connections for autofill or search results.
385 pref("browser.urlbar.speculativeConnect.enabled", true);
387 // Whether bookmarklets should be filtered out of Address Bar matches.
388 // This is enabled for security reasons, when true it is still possible to
389 // search for bookmarklets typing "javascript: " followed by the actual query.
390 pref("browser.urlbar.filter.javascript", true);
392 // Enable a certain level of urlbar logging to the Browser Console. See Log.jsm.
393 pref("browser.urlbar.loglevel", "Error");
395 // the maximum number of results to show in autocomplete when doing richResults
396 pref("browser.urlbar.maxRichResults", 10);
398 // The maximum number of historical search results to show.
399 pref("browser.urlbar.maxHistoricalSearchSuggestions", 2);
401 // The default behavior for the urlbar can be configured to use any combination
402 // of the match filters with each additional filter adding more results (union).
403 pref("browser.urlbar.suggest.bookmark",             true);
404 pref("browser.urlbar.suggest.clipboard",            true);
405 pref("browser.urlbar.suggest.history",              true);
406 pref("browser.urlbar.suggest.openpage",             true);
407 pref("browser.urlbar.suggest.remotetab",            true);
408 pref("browser.urlbar.suggest.searches",             true);
409 pref("browser.urlbar.suggest.topsites",             true);
410 pref("browser.urlbar.suggest.engines",              true);
411 pref("browser.urlbar.suggest.calculator",           false);
412 pref("browser.urlbar.suggest.recentsearches",       true);
414 #if defined(EARLY_BETA_OR_EARLIER)
415   // Enable QuickActions and its urlbar search mode button.
416   pref("browser.urlbar.quickactions.enabled", true);
417   pref("browser.urlbar.suggest.quickactions", true);
418   pref("browser.urlbar.shortcuts.quickactions", true);
419   pref("browser.urlbar.quickactions.showPrefs", true);
420 #endif
422 #if defined(EARLY_BETA_OR_EARLIER)
423   // Enable Trending suggestions.
424   pref("browser.urlbar.trending.featureGate", true);
425 #endif
427 #if defined(NIGHTLY_BUILD)
428   // Enable Rich Entities.
429   pref("browser.urlbar.richSuggestions.featureGate", true);
430   pref("browser.search.param.search_rich_suggestions", "fen");
431 #endif
433 // Feature gate pref for weather suggestions in the urlbar.
434 pref("browser.urlbar.weather.featureGate", false);
436 // Feature gate pref for clipboard suggestions in the urlbar.
437 pref("browser.urlbar.clipboard.featureGate", false);
439 // When false, the weather suggestion will not be fetched when a VPN is
440 // detected. When true, it will be fetched anyway.
441 pref("browser.urlbar.weather.ignoreVPN", false);
443 // The minimum prefix length of a weather keyword the user must type to trigger
444 // the suggestion. 0 means the min length should be taken from Nimbus or remote
445 // settings.
446 pref("browser.urlbar.weather.minKeywordLength", 0);
448 // If `browser.urlbar.weather.featureGate` is true, this controls whether
449 // weather suggestions are turned on.
450 pref("browser.urlbar.suggest.weather", true);
452 // If `browser.urlbar.trending.featureGate` is true, this controls whether
453 // trending suggestions are turned on.
454 pref("browser.urlbar.suggest.trending", true);
456 // Whether non-sponsored quick suggest results are shown in the urlbar. This
457 // pref is exposed to the user in the UI, and it's sticky so that its
458 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
459 // with their various default-branch values, the user is enrolled in over time.
460 pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false, sticky);
462 // Whether sponsored quick suggest results are shown in the urlbar. This pref is
463 // exposed to the user in the UI, and it's sticky so that its user-branch value
464 // persists regardless of whatever Firefox Suggest scenarios, with their various
465 // default-branch values, the user is enrolled in over time.
466 pref("browser.urlbar.suggest.quicksuggest.sponsored", false, sticky);
468 // Whether data collection is enabled for quick suggest results in the urlbar.
469 // This pref is exposed to the user in the UI, and it's sticky so that its
470 // user-branch value persists regardless of whatever Firefox Suggest scenarios,
471 // with their various default-branch values, the user is enrolled in over time.
472 pref("browser.urlbar.quicksuggest.dataCollection.enabled", false, sticky);
474 // Whether the quick suggest feature in the urlbar is enabled.
475 pref("browser.urlbar.quicksuggest.enabled", false);
477 // Whether Firefox Suggest will use the new Rust backend instead of the original
478 // JS backend.
479 pref("browser.urlbar.quicksuggest.rustEnabled", false);
481 // Whether to show the QuickSuggest onboarding dialog.
482 pref("browser.urlbar.quicksuggest.shouldShowOnboardingDialog", true);
484 // Show QuickSuggest onboarding dialog on the nth browser restarts.
485 pref("browser.urlbar.quicksuggest.showOnboardingDialogAfterNRestarts", 0);
487 // The indexes of the sponsored and non-sponsored quick suggest results within
488 // the general results group.
489 pref("browser.urlbar.quicksuggest.sponsoredIndex", -1);
490 pref("browser.urlbar.quicksuggest.nonSponsoredIndex", -1);
492 // Whether quick suggest results can be shown in position specified in the
493 // suggestions.
494 pref("browser.urlbar.quicksuggest.allowPositionInSuggestions", true);
496 // Whether non-sponsored quick suggest results are subject to impression
497 // frequency caps.
498 pref("browser.urlbar.quicksuggest.impressionCaps.nonSponsoredEnabled", false);
500 // Whether sponsored quick suggest results are subject to impression frequency
501 // caps.
502 pref("browser.urlbar.quicksuggest.impressionCaps.sponsoredEnabled", false);
504 // Whether unit conversion is enabled.
505 #ifdef NIGHTLY_BUILD
506 pref("browser.urlbar.unitConversion.enabled", true);
507 #else
508 pref("browser.urlbar.unitConversion.enabled", false);
509 #endif
511 // Whether to show search suggestions before general results like history and
512 // bookmarks.
513 pref("browser.urlbar.showSearchSuggestionsFirst", true);
515 // As a user privacy measure, don't fetch search suggestions if a pasted string
516 // is longer than this.
517 pref("browser.urlbar.maxCharsForSearchSuggestions", 100);
519 pref("browser.urlbar.trimURLs", true);
521 #ifdef NIGHTLY_BUILD
522 pref("browser.urlbar.trimHttps", true);
523 #else
524 pref("browser.urlbar.trimHttps", false);
525 #endif
527 // If changed to true, copying the entire URL from the location bar will put the
528 // human readable (percent-decoded) URL on the clipboard.
529 pref("browser.urlbar.decodeURLsOnCopy", false);
531 // Whether or not to move tabs into the active window when using the "Switch to
532 // Tab" feature of the awesomebar.
533 pref("browser.urlbar.switchTabs.adoptIntoActiveWindow", false);
535 // Controls whether searching for open tabs returns tabs from any container
536 // or only from the current container.
537 pref("browser.urlbar.switchTabs.searchAllContainers", false);
539 // Whether addresses and search results typed into the address bar
540 // should be opened in new tabs by default.
541 pref("browser.urlbar.openintab", false);
543 // Allow the result menu button to be reached with the Tab key.
544 pref("browser.urlbar.resultMenu.keyboardAccessible", true);
546 // If true, we show tail suggestions when available.
547 pref("browser.urlbar.richSuggestions.tail", true);
549 // If true, top sites may include sponsored ones.
550 pref("browser.urlbar.sponsoredTopSites", false);
552 // Global toggle for whether the show search terms feature
553 // can be used at all, and enabled/disabled by the user.
554 #if defined(EARLY_BETA_OR_EARLIER)
555 pref("browser.urlbar.showSearchTerms.featureGate", true);
556 #else
557 pref("browser.urlbar.showSearchTerms.featureGate", false);
558 #endif
560 // If true, show the search term in the Urlbar while on
561 // a default search engine results page.
562 pref("browser.urlbar.showSearchTerms.enabled", true);
564 // Controls the empty search behavior in Search Mode:
565 //  0 - Show nothing
566 //  1 - Show search history
567 //  2 - Show search and browsing history
568 pref("browser.urlbar.update2.emptySearchBehavior", 0);
570 // Whether the urlbar displays one-offs to filter searches to history,
571 // bookmarks, or tabs.
572 pref("browser.urlbar.shortcuts.bookmarks", true);
573 pref("browser.urlbar.shortcuts.tabs", true);
574 pref("browser.urlbar.shortcuts.history", true);
576 // When we send events to Urlbar extensions, we wait this amount of time in
577 // milliseconds for them to respond before timing out.
578 pref("browser.urlbar.extension.timeout", 400);
580 // Controls when to DNS resolve single word search strings, after they were
581 // searched for. If the string is resolved as a valid host, show a
582 // "Did you mean to go to 'host'" prompt.
583 // 0 - never resolve; 1 - use heuristics (default); 2 - always resolve
584 pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
586 // Whether the results panel should be kept open during IME composition.
587 // The default value is false because some IME open a picker panel, and we end
588 // up with two panels on top of each other. Since for now we can't detect that
589 // we leave this choice to the user, hopefully in the future this can be flipped
590 // for everyone.
591 pref("browser.urlbar.keepPanelOpenDuringImeComposition", false);
593 // Whether Firefox Suggest group labels are shown in the urlbar view.
594 pref("browser.urlbar.groupLabels.enabled", true);
596 // The Merino endpoint URL, not including parameters.
597 pref("browser.urlbar.merino.endpointURL", "https://merino.services.mozilla.com/api/v1/suggest");
599 // Timeout for Merino fetches (ms).
600 pref("browser.urlbar.merino.timeoutMs", 200);
602 // Comma-separated list of providers to request from Merino
603 pref("browser.urlbar.merino.providers", "");
605 // Comma-separated list of client variants to send to Merino
606 pref("browser.urlbar.merino.clientVariants", "");
608 // Enable site specific search result.
609 pref("browser.urlbar.contextualSearch.enabled", false);
611 // Feature gate pref for addon suggestions in the urlbar.
612 pref("browser.urlbar.addons.featureGate", true);
614 // If `browser.urlbar.addons.featureGate` is true, this controls whether
615 // addons suggestions are turned on.
616 pref("browser.urlbar.suggest.addons", true);
618 // If `browser.urlbar.mdn.featureGate` is true, this controls whether
619 // mdn suggestions are turned on.
620 pref("browser.urlbar.suggest.mdn", true);
622 // The minimum prefix length of addons keyword the user must type to trigger
623 // the suggestion. 0 means the min length should be taken from Nimbus.
624 pref("browser.urlbar.addons.minKeywordLength", 0);
626 // Feature gate pref for Pocket suggestions in the urlbar.
627 pref("browser.urlbar.pocket.featureGate", false);
629 // If `browser.urlbar.pocket.featureGate` is true, this controls whether Pocket
630 // suggestions are turned on.
631 pref("browser.urlbar.suggest.pocket", true);
633 pref("browser.altClickSave", false);
635 // Enable logging downloads operations to the Console.
636 pref("browser.download.loglevel", "Error");
638 // Number of milliseconds to wait for the http headers (and thus
639 // the Content-Disposition filename) before giving up and falling back to
640 // picking a filename without that info in hand so that the user sees some
641 // feedback from their action.
642 pref("browser.download.saveLinkAsFilenameTimeout", 4000);
644 pref("browser.download.useDownloadDir", true);
645 pref("browser.download.folderList", 1);
646 pref("browser.download.manager.addToRecentDocs", true);
647 pref("browser.download.manager.resumeOnWakeDelay", 10000);
649 // This records whether or not the panel has been shown at least once.
650 pref("browser.download.panel.shown", false);
652 // This records whether or not to show the 'Open in system viewer' context menu item when appropriate
653 pref("browser.download.openInSystemViewerContextMenuItem", true);
655 // This records whether or not to show the 'Always open...' context menu item when appropriate
656 pref("browser.download.alwaysOpenInSystemViewerContextMenuItem", true);
658 // Open downloaded file types internally for the given types.
659 // This is a comma-separated list, the empty string ("") means no types are
660 // viewable internally.
661 pref("browser.download.viewableInternally.enabledTypes", "xml,svg,webp,avif,jxl");
664 // This controls whether the button is automatically shown/hidden depending
665 // on whether there are downloads to show.
666 pref("browser.download.autohideButton", true);
668 // Controls whether to open the downloads panel every time a download begins.
669 // The first download ever run in a new profile will still open the panel.
670 pref("browser.download.alwaysOpenPanel", true);
672 // Determines the behavior of the "Delete" item in the downloads context menu.
673 // Valid values are 0, 1, and 2.
674 //   0 - Don't remove the download from session list or history.
675 //   1 - Remove the download from session list, but not history.
676 //   2 - Remove the download from both session list and history.
677 pref("browser.download.clearHistoryOnDelete", 0);
679 #ifndef XP_MACOSX
680   pref("browser.helperApps.deleteTempFileOnExit", true);
681 #endif
683 // This controls the visibility of the radio button in the
684 // Unknown Content Type (Helper App) dialog that will open
685 // the content in the browser for PDF and for other
686 // Viewable Internally types
687 // (see browser.download.viewableInternally.enabledTypes)
688 pref("browser.helperApps.showOpenOptionForPdfJS", true);
689 pref("browser.helperApps.showOpenOptionForViewableInternally", true);
691 // search engine removal URL
692 pref("browser.search.searchEngineRemoval", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/search-engine-removal");
694 // search engines URL
695 pref("browser.search.searchEnginesURL",      "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
697 // search bar results always open in a new tab
698 pref("browser.search.openintab", false);
700 // context menu searches open in the foreground
701 pref("browser.search.context.loadInBackground", false);
703 // Mirrors whether the search-container widget is in the navigation toolbar.
704 pref("browser.search.widget.inNavBar", false);
706 // Enables display of the options for the user using a separate default search
707 // engine in private browsing mode.
708 pref("browser.search.separatePrivateDefault.ui.enabled", false);
709 // The maximum amount of times the private default banner is shown.
710 pref("browser.search.separatePrivateDefault.ui.banner.max", 0);
712 // Enables search SERP telemetry (impressions, engagements and abandonment)
713 pref("browser.search.serpEventTelemetry.enabled", true);
715 // Enables search SERP telemetry page categorization.
716 pref("browser.search.serpEventTelemetryCategorization.enabled", false);
718 // Enable new experimental shopping features. This is solely intended as a
719 // rollout/"emergency stop" button - it will go away once the feature has
720 // rolled out. There will be separate controls for user opt-in/opt-out.
721 pref("browser.shopping.experience2023.enabled", false);
723 // Ternary int-valued pref indicating if the user has opted into the new
724 // experimental shopping feature.
725 // 0 means the user has not opted in or out.
726 // 1 means the user has opted in.
727 // 2 means the user has opted out.
728 pref("browser.shopping.experience2023.optedIn", 0);
730 // Activates the new experimental shopping sidebar.
731 // True by default. This is handled by ShoppingUtils.handleAutoActivateOnProduct
732 // to auto-activate the sidebar for non-opted-in users up to 2 times.
733 pref("browser.shopping.experience2023.active", true);
735 // Enables the ad / recommended product feature for the shopping sidebar.
736 // If enabled, users can disable the ad card using the separate pref
737 // `browser.shopping.experience2023.ads.userEnabled` and visible toggle
738 // (this is just the feature flag).
739 pref("browser.shopping.experience2023.ads.enabled", false);
741 // Activates the ad card in the shopping sidebar.
742 // Unlike `browser.shopping.experience2023.ads.enabled`, this pref is controlled by users
743 // using the visible toggle.
744 pref("browser.shopping.experience2023.ads.userEnabled", false);
746 // Saves if shopping survey is enabled.
747 pref("browser.shopping.experience2023.survey.enabled", true);
749 // Saves if shopping survey is seen.
750 pref("browser.shopping.experience2023.survey.hasSeen", false);
752 // Number of PDP visits used to display shopping survey
753 pref("browser.shopping.experience2023.survey.pdpVisits", 0);
755 // Enables the display of the Mozilla VPN banner in private browsing windows
756 pref("browser.privatebrowsing.vpnpromourl", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-%CHANNEL%-browser&utm_campaign=private-browsing-vpn-link");
758 // Whether the user has opted-in to recommended settings for data features.
759 pref("browser.dataFeatureRecommendations.enabled", false);
761 // Temporary pref to control whether or not Private Browsing windows show up
762 // as separate icons in the Windows taskbar.
763 pref("browser.privateWindowSeparation.enabled", true);
765 // Use dark theme variant for PBM windows. This is only supported if the theme
766 // sets darkTheme data.
767 pref("browser.theme.dark-private-windows", true);
769 // Controls visibility of the privacy segmentation preferences section.
770 pref("browser.privacySegmentation.preferences.show", false);
772 pref("browser.sessionhistory.max_entries", 50);
774 // Built-in default permissions.
775 pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
777 // Set default fallback values for site permissions we want
778 // the user to be able to globally change.
779 pref("permissions.default.camera", 0);
780 pref("permissions.default.microphone", 0);
781 pref("permissions.default.geo", 0);
782 pref("permissions.default.xr", 0);
783 pref("permissions.default.desktop-notification", 0);
784 pref("permissions.default.shortcuts", 0);
786 pref("permissions.desktop-notification.postPrompt.enabled", true);
787 pref("permissions.desktop-notification.notNow.enabled", false);
789 pref("permissions.fullscreen.allowed", false);
791 // handle links targeting new windows
792 // 1=current window/tab, 2=new window, 3=new tab in most recent window
793 pref("browser.link.open_newwindow", 3);
795 // handle external links (i.e. links opened from a different application)
796 // default: use browser.link.open_newwindow
797 // 1-3: see browser.link.open_newwindow for interpretation
798 pref("browser.link.open_newwindow.override.external", -1);
800 // 0: no restrictions - divert everything
801 // 1: don't divert window.open at all
802 // 2: don't divert window.open with features
803 pref("browser.link.open_newwindow.restriction", 2);
805 // If true, this pref causes windows opened by window.open to be forced into new
806 // tabs (rather than potentially opening separate windows, depending on
807 // window.open arguments) when the browser is in fullscreen mode.
808 // We set this differently on Mac because the fullscreen implementation there is
809 // different.
810 #ifdef XP_MACOSX
811   pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
812 #else
813   pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
814 #endif
816 // Tabbed browser
817 pref("browser.tabs.closeTabByDblclick", false);
818 pref("browser.tabs.closeWindowWithLastTab", true);
819 pref("browser.tabs.allowTabDetach", true);
820 // Open related links to a tab, e.g., link in current tab, at next to the
821 // current tab if |insertRelatedAfterCurrent| is true.  Otherwise, always
822 // append new tab to the end.
823 pref("browser.tabs.insertRelatedAfterCurrent", true);
824 // Open all links, e.g., bookmarks, history items at next to current tab
825 // if |insertAfterCurrent| is true.  Otherwise, append new tab to the end
826 // for non-related links. Note that if this is set to true, it will trump
827 // the value of browser.tabs.insertRelatedAfterCurrent.
828 pref("browser.tabs.insertAfterCurrent", false);
829 pref("browser.tabs.warnOnClose", false);
830 pref("browser.tabs.warnOnCloseOtherTabs", true);
831 pref("browser.tabs.warnOnOpen", true);
832 pref("browser.tabs.maxOpenBeforeWarn", 15);
833 pref("browser.tabs.loadInBackground", true);
834 pref("browser.tabs.opentabfor.middleclick", true);
835 pref("browser.tabs.loadDivertedInBackground", false);
836 pref("browser.tabs.loadBookmarksInBackground", false);
837 pref("browser.tabs.loadBookmarksInTabs", false);
838 pref("browser.tabs.tabClipWidth", 140);
839 pref("browser.tabs.tabMinWidth", 76);
840 // Users running in any of the following language codes will have the
841 // secondary text on tabs hidden due to size constraints and readability
842 // of the text at small font sizes.
843 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");
845 //Control the visibility of Tab Manager Menu.
846 pref("browser.tabs.tabmanager.enabled", true);
848 // When tabs opened by links in other tabs via a combination of
849 // browser.link.open_newwindow being set to 3 and target="_blank" etc are
850 // closed:
851 // true   return to the tab that opened this tab (its owner)
852 // false  return to the adjacent tab (old default)
853 pref("browser.tabs.selectOwnerOnClose", true);
855 // This should match Chromium's audio indicator delay.
856 pref("browser.tabs.delayHidingAudioPlayingIconMS", 3000);
858 // Pref to control whether we use a separate privileged content process
859 // for about: pages. This pref name did not age well: we will have multiple
860 // types of privileged content processes, each with different privileges.
861 // types of privleged content processes, each with different privleges.
862 pref("browser.tabs.remote.separatePrivilegedContentProcess", true);
864 #if defined(NIGHTLY_BUILD) && !defined(MOZ_ASAN)
865   // This pref will cause assertions when a remoteType triggers a process switch
866   // to a new remoteType it should not be able to trigger.
867   pref("browser.tabs.remote.enforceRemoteTypeRestrictions", true);
868 #endif
870 // Pref to control whether we use a separate privileged content process
871 // for certain mozilla webpages (which are listed in the pref
872 // browser.tabs.remote.separatedMozillaDomains).
873 pref("browser.tabs.remote.separatePrivilegedMozillaWebContentProcess", true);
875 #ifdef NIGHTLY_BUILD
876 pref("browser.tabs.tooltipsShowPidAndActiveness", true);
877 #else
878 pref("browser.tabs.tooltipsShowPidAndActiveness", false);
879 #endif
881 pref("browser.tabs.firefox-view", true);
882 pref("browser.tabs.firefox-view-next", true);
883 pref("browser.tabs.firefox-view-newIcon", true);
884 pref("browser.tabs.firefox-view.logLevel", "Warn");
885 pref("browser.tabs.firefox-view.notify-for-tabs", false);
887 // allow_eval_* is enabled on Firefox Desktop only at this
888 // point in time
889 pref("security.allow_eval_with_system_principal", false);
890 pref("security.allow_eval_in_parent_process", false);
892 pref("security.allow_parent_unrestricted_js_loads", false);
894 // Unload tabs when available memory is running low
895 #if defined(XP_MACOSX) || defined(XP_WIN)
896     pref("browser.tabs.unloadOnLowMemory", true);
897 #else
898     pref("browser.tabs.unloadOnLowMemory", false);
899 #endif
901 // Tab Unloader does not unload tabs whose last inactive period is longer than
902 // this value (in milliseconds).
903 pref("browser.tabs.min_inactive_duration_before_unload", 600000);
905 // Does middleclick paste of clipboard to new tab button
906 #ifdef UNIX_BUT_NOT_MAC
907 pref("browser.tabs.searchclipboardfor.middleclick", true);
908 #else
909 pref("browser.tabs.searchclipboardfor.middleclick", false);
910 #endif
912 #if defined(XP_MACOSX)
913   // During low memory periods, poll with this frequency (milliseconds)
914   // until memory is no longer low. Changes to the pref take effect immediately.
915   // Browser restart not required. Chosen to be consistent with the windows
916   // implementation, but otherwise the 10s value is arbitrary.
917   pref("browser.lowMemoryPollingIntervalMS", 10000);
919   // Pref to control the reponse taken on macOS when the OS is under memory
920   // pressure. Changes to the pref take effect immediately. Browser restart not
921   // required. The pref value is a bitmask:
922   // 0x0: No response (other than recording for telemetry, crash reporting)
923   // 0x1: Use the tab unloading feature to reduce memory use. Requires that
924   //      the above "browser.tabs.unloadOnLowMemory" pref be set to true for tab
925   //      unloading to occur.
926   // 0x2: Issue the internal "memory-pressure" notification to reduce memory use
927   // 0x3: Both 0x1 and 0x2.
928   #if defined(NIGHTLY_BUILD)
929   pref("browser.lowMemoryResponseMask", 3);
930   #else
931   pref("browser.lowMemoryResponseMask", 0);
932   #endif
934   // Controls which macOS memory-pressure level triggers the browser low memory
935   // response. Changes to the pref take effect immediately. Browser restart not
936   // required. By default, use the "critical" level as that occurs after "warn"
937   // and we only want to trigger the low memory reponse when necessary.
938   // The macOS system memory-pressure level is either none, "warn", or
939   // "critical". The OS notifies the browser when the level changes. A false
940   // value for the pref indicates the low memory response should occur when
941   // reaching the "critical" level. A true value indicates the response should
942   // occur when reaching the "warn" level.
943   pref("browser.lowMemoryResponseOnWarn", false);
944 #endif
946 pref("browser.ctrlTab.sortByRecentlyUsed", false);
948 // By default, do not export HTML at shutdown.
949 // If true, at shutdown the bookmarks in your menu and toolbar will
950 // be exported as HTML to the bookmarks.html file.
951 pref("browser.bookmarks.autoExportHTML",          false);
953 // The maximum number of daily bookmark backups to
954 // keep in {PROFILEDIR}/bookmarkbackups. Special values:
955 // -1: unlimited
956 //  0: no backups created (and deletes all existing backups)
957 pref("browser.bookmarks.max_backups",             15);
959 // Whether menu should close after Ctrl-click, middle-click, etc.
960 pref("browser.bookmarks.openInTabClosesMenu", true);
962 // Where new bookmarks go by default.
963 // Use PlacesUIUtils.defaultParentGuid to read this; do NOT read the pref
964 // directly.
965 // The value is one of:
966 // - a bookmarks guid
967 // - "toolbar", "menu" or "unfiled" for those folders.
968 // If we use the pref but the value isn't any of these, we'll fall back to
969 // the bookmarks toolbar as a default.
970 pref("browser.bookmarks.defaultLocation", "toolbar");
972 // Scripts & Windows prefs
973 pref("dom.disable_open_during_load",              true);
975 // allow JS to move and resize existing windows
976 pref("dom.disable_window_move_resize",            false);
977 // prevent JS from monkeying with window focus, etc
978 pref("dom.disable_window_flip",                   true);
980 pref("privacy.popups.showBrowserMessage",   true);
982 pref("privacy.clearOnShutdown.history",     true);
983 pref("privacy.clearOnShutdown.formdata",    true);
984 pref("privacy.clearOnShutdown.downloads",   true);
985 pref("privacy.clearOnShutdown.cookies",     true);
986 pref("privacy.clearOnShutdown.cache",       true);
987 pref("privacy.clearOnShutdown.sessions",    true);
988 pref("privacy.clearOnShutdown.offlineApps", false);
989 pref("privacy.clearOnShutdown.siteSettings", false);
990 pref("privacy.clearOnShutdown.openWindows", false);
992 pref("privacy.cpd.history",                 true);
993 pref("privacy.cpd.formdata",                true);
994 pref("privacy.cpd.passwords",               false);
995 pref("privacy.cpd.downloads",               true);
996 pref("privacy.cpd.cookies",                 true);
997 pref("privacy.cpd.cache",                   true);
998 pref("privacy.cpd.sessions",                true);
999 pref("privacy.cpd.offlineApps",             false);
1000 pref("privacy.cpd.siteSettings",            false);
1001 pref("privacy.cpd.openWindows",             false);
1003 pref("privacy.history.custom",              false);
1005 // What default should we use for the time span in the sanitizer:
1006 // 0 - Clear everything
1007 // 1 - Last Hour
1008 // 2 - Last 2 Hours
1009 // 3 - Last 4 Hours
1010 // 4 - Today
1011 // 5 - Last 5 minutes
1012 // 6 - Last 24 hours
1013 pref("privacy.sanitize.timeSpan", 1);
1015 pref("privacy.panicButton.enabled",         true);
1017 // Time until temporary permissions expire, in ms
1018 pref("privacy.temporary_permission_expire_time_ms",  3600000);
1020 // Enables protection mechanism against password spoofing for cross domain auh requests
1021 // See bug 791594
1022 pref("privacy.authPromptSpoofingProtection",         true);
1024 // Enable GPC if the user turns it on in about:preferences
1025 pref("privacy.globalprivacycontrol.functionality.enabled",  true);
1027 // Enable GPC in private browsing mode
1028 pref("privacy.globalprivacycontrol.pbmode.enabled", true);
1030 pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
1032 // simple gestures support
1033 pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
1034 pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
1035 pref("browser.gesture.swipe.up", "cmd_scrollTop");
1036 pref("browser.gesture.swipe.down", "cmd_scrollBottom");
1037 pref("browser.gesture.pinch.latched", false);
1038 pref("browser.gesture.pinch.threshold", 25);
1039 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1040   // Enabled for touch input display zoom.
1041   pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
1042   pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
1043   pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
1044   pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
1045 #else
1046   // Disabled by default due to issues with track pad input.
1047   pref("browser.gesture.pinch.out", "");
1048   pref("browser.gesture.pinch.in", "");
1049   pref("browser.gesture.pinch.out.shift", "");
1050   pref("browser.gesture.pinch.in.shift", "");
1051 #endif
1052 pref("browser.gesture.twist.latched", false);
1053 pref("browser.gesture.twist.threshold", 0);
1054 pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
1055 pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
1056 pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
1057 #if defined(XP_WIN) || defined(MOZ_WIDGET_GTK)
1058   pref("browser.gesture.tap", "cmd_fullZoomReset");
1059 #else
1060   pref("browser.gesture.tap", "");
1061 #endif
1063 pref("browser.history_swipe_animation.disabled", false);
1065 // 0: Nothing happens
1066 // 1: Scrolling contents
1067 // 2: Go back or go forward, in your history
1068 // 3: Zoom in or out (reflowing zoom).
1069 // 4: Treat vertical wheel as horizontal scroll
1070 // 5: Zoom in or out (pinch zoom).
1071 #ifdef XP_MACOSX
1072   // On macOS, if the wheel has one axis only, shift+wheel comes through as a
1073   // horizontal scroll event. Thus, we can't assign anything other than normal
1074   // scrolling to shift+wheel.
1075   pref("mousewheel.with_shift.action", 1);
1076   pref("mousewheel.with_alt.action", 2);
1077   pref("mousewheel.with_control.action", 1);
1078 #else
1079   // On the other platforms (non-macOS), user may use legacy mouse which
1080   // supports only vertical wheel but want to scroll horizontally.  For such
1081   // users, we should provide horizontal scroll with shift+wheel (same as
1082   // Chrome). However, shift+wheel was used for navigating history.  For users
1083   // who want to keep using this feature, let's enable it with alt+wheel.  This
1084   // is better for consistency with macOS users.
1085   pref("mousewheel.with_shift.action", 4);
1086   pref("mousewheel.with_alt.action", 2);
1087 #endif
1089 pref("mousewheel.with_meta.action", 1);
1091 pref("browser.xul.error_pages.expert_bad_cert", false);
1092 pref("browser.xul.error_pages.show_safe_browsing_details_on_load", false);
1094 // Enable captive portal detection.
1095 pref("network.captive-portal-service.enabled", true);
1097 // If true, network link events will change the value of navigator.onLine
1098 pref("network.manage-offline-status", true);
1100 // We want to make sure mail URLs are handled externally...
1101 pref("network.protocol-handler.external.mailto", true); // for mail
1102 pref("network.protocol-handler.external.news", true);   // for news
1103 pref("network.protocol-handler.external.snews", true);  // for secure news
1104 pref("network.protocol-handler.external.nntp", true);   // also news
1105 #ifdef XP_WIN
1106   pref("network.protocol-handler.external.ms-windows-store", true);
1107 #endif
1109 // ...without warning dialogs
1110 pref("network.protocol-handler.warn-external.mailto", false);
1111 pref("network.protocol-handler.warn-external.news", false);
1112 pref("network.protocol-handler.warn-external.snews", false);
1113 pref("network.protocol-handler.warn-external.nntp", false);
1114 #ifdef XP_WIN
1115   pref("network.protocol-handler.warn-external.ms-windows-store", false);
1116 #endif
1118 // By default, all protocol handlers are exposed.  This means that
1119 // the browser will respond to openURL commands for all URL types.
1120 // It will also try to open link clicks inside the browser before
1121 // failing over to the system handlers.
1122 pref("network.protocol-handler.expose-all", true);
1123 pref("network.protocol-handler.expose.mailto", false);
1124 pref("network.protocol-handler.expose.news", false);
1125 pref("network.protocol-handler.expose.snews", false);
1126 pref("network.protocol-handler.expose.nntp", false);
1128 pref("accessibility.typeaheadfind", false);
1129 pref("accessibility.typeaheadfind.timeout", 5000);
1130 pref("accessibility.typeaheadfind.linksonly", false);
1131 pref("accessibility.typeaheadfind.flashBar", 1);
1133 #if defined(_ARM64_) && defined(XP_WIN)
1134   pref("plugin.default.state", 0);
1135 #else
1136   pref("plugin.default.state", 1);
1137 #endif
1139 // Toggling Search bar on and off in about:preferences
1140 pref("browser.preferences.search", true);
1141 #if defined(NIGHTLY_BUILD)
1142 pref("browser.preferences.experimental", true);
1143 #else
1144 pref("browser.preferences.experimental", false);
1145 #endif
1146 pref("browser.preferences.moreFromMozilla", true);
1147 pref("browser.preferences.experimental.hidden", false);
1148 pref("browser.preferences.defaultPerformanceSettings.enabled", true);
1150 pref("browser.proton.toolbar.version", 0);
1152 // Backspace and Shift+Backspace behavior
1153 // 0 goes Back/Forward
1154 // 1 act like PgUp/PgDown
1155 // 2 and other values, nothing
1156 pref("browser.backspace_action", 2);
1158 pref("intl.regional_prefs.use_os_locales", false);
1160 // this will automatically enable inline spellchecking (if it is available) for
1161 // editable elements in HTML
1162 // 0 = spellcheck nothing
1163 // 1 = check multi-line controls [default]
1164 // 2 = check multi/single line controls
1165 pref("layout.spellcheckDefault", 1);
1167 pref("browser.send_pings", false);
1169 pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
1170 pref("browser.xr.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/xr/");
1172 pref("browser.sessionstore.resume_from_crash", true);
1173 pref("browser.sessionstore.resume_session_once", false);
1174 pref("browser.sessionstore.resuming_after_os_restart", false);
1176 // Toggle for the behavior to include closed tabs from all windows in
1177 // recently-closed tab lists & counts, and re-open tabs into the current window
1178 pref("browser.sessionstore.closedTabsFromAllWindows", true);
1179 pref("browser.sessionstore.closedTabsFromClosedWindows", true);
1181 // Minimal interval between two save operations in milliseconds (while the user is idle).
1182 pref("browser.sessionstore.interval.idle", 3600000); // 1h
1184 // Time (seconds) before we assume that the user is idle and that we don't need to
1185 // collect/save the session quite as often.
1186 pref("browser.sessionstore.idleDelay", 180); // 3 minutes
1188 // on which sites to save text data, POSTDATA and cookies
1189 // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
1190 pref("browser.sessionstore.privacy_level", 0);
1191 // how many tabs can be reopened (per window)
1192 pref("browser.sessionstore.max_tabs_undo", 25);
1193 // how many windows can be reopened (per session) - on non-OS X platforms this
1194 // pref may be ignored when dealing with pop-up windows to ensure proper startup
1195 pref("browser.sessionstore.max_windows_undo", 3);
1196 // number of crashes that can occur before the about:sessionrestore page is displayed
1197 // (this pref has no effect if more than 6 hours have passed since the last crash)
1198 pref("browser.sessionstore.max_resumed_crashes", 1);
1199 // number of back button session history entries to restore (-1 = all of them)
1200 pref("browser.sessionstore.max_serialize_back", 10);
1201 // number of forward button session history entries to restore (-1 = all of them)
1202 pref("browser.sessionstore.max_serialize_forward", -1);
1203 // restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
1204 // and restore_hidden_tabs. When true, tabs will not be restored until they are
1205 // focused (also applies to tabs that aren't visible). When false, the values
1206 // for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
1207 // Selected tabs are always restored regardless of this pref.
1208 pref("browser.sessionstore.restore_on_demand", true);
1209 // Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
1210 pref("browser.sessionstore.restore_hidden_tabs", false);
1211 // If restore_on_demand is set, pinned tabs are restored on startup by default.
1212 // When set to true, this pref overrides that behavior, and pinned tabs will only
1213 // be restored when they are focused.
1214 pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
1215 // The version at which we performed the latest upgrade backup
1216 pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
1217 // How many upgrade backups should be kept
1218 pref("browser.sessionstore.upgradeBackup.maxUpgradeBackups", 3);
1219 // End-users should not run sessionstore in debug mode
1220 pref("browser.sessionstore.debug", false);
1221 // Forget closed windows/tabs after two weeks
1222 pref("browser.sessionstore.cleanup.forget_closed_after", 1209600000);
1223 // Platform collects session storage data for session store
1224 pref("browser.sessionstore.collect_session_storage", true);
1226 // temporary pref that will be removed in a future release, see bug 1836952
1227 pref("browser.sessionstore.persist_closed_tabs_between_sessions", true);
1229 // Don't quit the browser when Ctrl + Q is pressed.
1230 pref("browser.quitShortcut.disabled", false);
1232 // allow META refresh by default
1233 pref("accessibility.blockautorefresh", false);
1235 // Whether history is enabled or not.
1236 pref("places.history.enabled", true);
1238 // The default Places log level.
1239 pref("places.loglevel", "Error");
1241 // Whether or not diacritics must match in history text searches.
1242 pref("places.search.matchDiacritics", false);
1244 // the (maximum) number of the recent visits to sample
1245 // when calculating frecency
1246 pref("places.frecency.numVisits", 10);
1248 // buckets (in days) for frecency calculation
1249 pref("places.frecency.firstBucketCutoff", 4);
1250 pref("places.frecency.secondBucketCutoff", 14);
1251 pref("places.frecency.thirdBucketCutoff", 31);
1252 pref("places.frecency.fourthBucketCutoff", 90);
1254 // weights for buckets for frecency calculations
1255 pref("places.frecency.firstBucketWeight", 100);
1256 pref("places.frecency.secondBucketWeight", 70);
1257 pref("places.frecency.thirdBucketWeight", 50);
1258 pref("places.frecency.fourthBucketWeight", 30);
1259 pref("places.frecency.defaultBucketWeight", 10);
1261 // bonus (in percent) for visit transition types for frecency calculations
1262 pref("places.frecency.embedVisitBonus", 0);
1263 pref("places.frecency.framedLinkVisitBonus", 0);
1264 pref("places.frecency.linkVisitBonus", 100);
1265 pref("places.frecency.typedVisitBonus", 2000);
1266 // The bookmarks bonus is always added on top of any other bonus, including
1267 // the redirect source and the typed ones.
1268 pref("places.frecency.bookmarkVisitBonus", 75);
1269 // The redirect source bonus overwrites any transition bonus.
1270 // 0 would hide these pages, instead we want them low ranked.  Thus we use
1271 // linkVisitBonus - bookmarkVisitBonus, so that a bookmarked source is in par
1272 // with a common link.
1273 pref("places.frecency.redirectSourceVisitBonus", 25);
1274 pref("places.frecency.downloadVisitBonus", 0);
1275 // The perm/temp redirects here relate to redirect targets, not sources.
1276 pref("places.frecency.permRedirectVisitBonus", 50);
1277 pref("places.frecency.tempRedirectVisitBonus", 40);
1278 pref("places.frecency.reloadVisitBonus", 0);
1279 pref("places.frecency.defaultVisitBonus", 0);
1281 // bonus (in percent) for place types for frecency calculations
1282 pref("places.frecency.unvisitedBookmarkBonus", 140);
1283 pref("places.frecency.unvisitedTypedBonus", 200);
1285 // Enables alternative frecency calculation for origins.
1286 pref("places.frecency.origins.alternative.featureGate", false);
1288 // Clear data by base domain (including partitioned storage) when the user
1289 // selects "Forget About This Site".
1290 pref("places.forgetThisSite.clearByBaseDomain", true);
1292 // Whether to warm up network connections for places: menus and places: toolbar.
1293 pref("browser.places.speculativeConnect.enabled", true);
1295 // if true, use full page zoom instead of text zoom
1296 pref("browser.zoom.full", true);
1298 // Whether or not to update background tabs to the current zoom level.
1299 pref("browser.zoom.updateBackgroundTabs", true);
1301 // The breakpad report server to link to in about:crashes
1302 pref("breakpad.reportURL", "https://crash-stats.mozilla.org/report/index/");
1304 // URL for "Learn More" for DataCollection
1305 pref("toolkit.datacollection.infoURL",
1306      "https://www.mozilla.org/legal/privacy/firefox.html");
1308 // URL for "Learn More" for Crash Reporter
1309 pref("toolkit.crashreporter.infoURL",
1310      "https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
1312 // base URL for web-based support pages
1313 pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
1315 // base url for web-based feedback pages
1316 pref("app.feedback.baseURL", "https://ideas.mozilla.org/");
1318 pref("security.certerrors.recordEventTelemetry", true);
1319 pref("security.certerrors.permanentOverride", true);
1320 pref("security.certerrors.mitm.priming.enabled", true);
1321 pref("security.certerrors.mitm.priming.endpoint", "https://mitmdetection.services.mozilla.com/");
1322 pref("security.certerrors.mitm.auto_enable_enterprise_roots", true);
1324 // Whether the bookmark panel should be shown when bookmarking a page.
1325 pref("browser.bookmarks.editDialog.showForNewBookmarks", true);
1327 // Don't try to alter this pref, it'll be reset the next time you use the
1328 // bookmarking dialog
1329 pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
1331 // The number of recently selected folders in the edit bookmarks dialog.
1332 pref("browser.bookmarks.editDialog.maxRecentFolders", 7);
1334 #if defined(XP_WIN) && defined(MOZ_SANDBOX)
1335   // This controls the strength of the Windows content process sandbox for
1336   // testing purposes. This will require a restart.
1337   // On windows these levels are:
1338   // See - security/sandbox/win/src/sandboxbroker/sandboxBroker.cpp
1339   // SetSecurityLevelForContentProcess() for what the different settings mean.
1340   pref("security.sandbox.content.level", 6);
1342   // Pref controlling if messages relevant to sandbox violations are logged.
1343   pref("security.sandbox.logging.enabled", false);
1344 #endif
1346 #if defined(XP_MACOSX) && defined(MOZ_SANDBOX)
1347   // This pref is discussed in bug 1083344, the naming is inspired from its
1348   // Windows counterpart, but on Mac it's an integer which means:
1349   // 0 -> "no sandbox" (nightly only)
1350   // 1 -> "preliminary content sandboxing enabled: write access to
1351   //       home directory is prevented"
1352   // 2 -> "preliminary content sandboxing enabled with profile protection:
1353   //       write access to home directory is prevented, read and write access
1354   //       to ~/Library and profile directories are prevented (excluding
1355   //       $PROFILE/{extensions,chrome})"
1356   // 3 -> "no global read/write access, read access permitted to
1357   //       $PROFILE/{extensions,chrome}"
1358   // This setting is read when the content process is started. On Mac the
1359   // content process is killed when all windows are closed, so a change will
1360   // take effect when the 1st window is opened.
1361   pref("security.sandbox.content.level", 3);
1363   // Disconnect content processes from the window server. Depends on
1364   // out-of-process WebGL and non-native theming. i.e., both in-process WebGL
1365   // and native theming depend on content processes having a connection to the
1366   // window server. Window server disconnection is automatically disabled (and
1367   // this pref overridden) if OOP WebGL is disabled. OOP WebGL is disabled
1368   // for some tests.
1369   pref("security.sandbox.content.mac.disconnect-windowserver", true);
1371   // Pref controlling if messages relevant to sandbox violations are logged.
1372   pref("security.sandbox.logging.enabled", false);
1373 #endif
1375 #if defined(XP_LINUX) && defined(MOZ_SANDBOX)
1376   // This pref is introduced as part of bug 742434, the naming is inspired from
1377   // its Windows/Mac counterpart, but on Linux it's an integer which means:
1378   // 0 -> "no sandbox"
1379   // 1 -> no longer used; level will be clamped to 2
1380   // 2 -> "seccomp-bpf + write file broker"
1381   // 3 -> "seccomp-bpf + read/write file brokering"
1382   // 4 -> all of the above + network/socket restrictions + chroot
1383   //
1384   // The purpose of this setting is to allow Linux users or distros to disable
1385   // the sandbox while we fix their problems, or to allow running Firefox with
1386   // exotic configurations we can't reasonably support out of the box.
1387   //
1388   pref("security.sandbox.content.level", 4);
1389   // Introduced as part of bug 1608558.  Linux is currently the only platform
1390   // that uses a sandbox level for the socket process.  There are currently
1391   // only 2 levels:
1392   // 0 -> "no sandbox"
1393   // 1 -> "sandboxed, allows socket operations and reading necessary certs"
1394   pref("security.sandbox.socket.process.level", 1);
1395   pref("security.sandbox.content.write_path_whitelist", "");
1396   pref("security.sandbox.content.read_path_whitelist", "");
1397   pref("security.sandbox.content.syscall_whitelist", "");
1398 #endif
1400 #if defined(XP_OPENBSD) && defined(MOZ_SANDBOX)
1401   pref("security.sandbox.content.level", 1);
1402 #endif
1404 #if defined(MOZ_CONTENT_TEMP_DIR)
1405   // ID (a UUID when set by gecko) that is used to form the name of a
1406   // sandbox-writable temporary directory to be used by content processes
1407   // when a temporary writable file is required.
1408   pref("security.sandbox.content.tempDirSuffix", "");
1409 #endif
1411 #ifdef XP_WIN
1412   pref("browser.taskbar.previews.enable", false);
1413   pref("browser.taskbar.previews.max", 20);
1414   pref("browser.taskbar.previews.cachetime", 5);
1415   pref("browser.taskbar.lists.enabled", true);
1416   pref("browser.taskbar.lists.frequent.enabled", true);
1417   pref("browser.taskbar.lists.recent.enabled", false);
1418   pref("browser.taskbar.lists.maxListItemCount", 7);
1419   pref("browser.taskbar.lists.tasks.enabled", true);
1420   pref("browser.taskbar.lists.refreshInSeconds", 120);
1421 #endif
1423 // Preferences to be synced by default.
1424 // Preferences with the prefix `services.sync.prefs.sync-seen.` should have
1425 // a value of `false`, and means the value of the pref will be synced as soon
1426 // as a value for the pref is "seen", even if it is the default, and should be
1427 // used for prefs we sync but which have different values on different channels,
1428 // platforms or distributions.
1429 pref("services.sync.prefs.sync.accessibility.blockautorefresh", true);
1430 pref("services.sync.prefs.sync.accessibility.browsewithcaret", true);
1431 pref("services.sync.prefs.sync.accessibility.typeaheadfind", true);
1432 pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true);
1433 pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true);
1434 pref("services.sync.prefs.sync.app.shield.optoutstudies.enabled", true);
1435 // The addons prefs related to repository verification are intentionally
1436 // not synced for security reasons. If a system is compromised, a user
1437 // could weaken the pref locally, install an add-on from an untrusted
1438 // source, and this would propagate automatically to other,
1439 // uncompromised Sync-connected devices.
1440 pref("services.sync.prefs.sync.browser.contentblocking.category", true);
1441 pref("services.sync.prefs.sync.browser.contentblocking.features.strict", true);
1442 pref("services.sync.prefs.sync.browser.crashReports.unsubmittedCheck.autoSubmit2", true);
1443 pref("services.sync.prefs.sync.browser.ctrlTab.sortByRecentlyUsed", true);
1444 pref("services.sync.prefs.sync.browser.discovery.enabled", true);
1445 pref("services.sync.prefs.sync.browser.download.useDownloadDir", true);
1446 pref("services.sync.prefs.sync.browser.firefox-view.feature-tour", true);
1447 pref("services.sync.prefs.sync.browser.formfill.enable", true);
1448 pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
1449 pref("services.sync.prefs.sync.browser.menu.showViewImageInfo", true);
1450 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1451 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1452 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSearch", true);
1453 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsored", true);
1454 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.showSponsoredTopSites", true);
1455 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.topsites", true);
1456 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.topSitesRows", true);
1457 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.snippets", true);
1458 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.topstories", true);
1459 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.topstories.rows", true);
1460 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.feeds.section.highlights", true);
1461 // Some linux distributions disable all highlights by default.
1462 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights", false);
1463 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeVisited", true);
1464 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeBookmarks", true);
1465 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includeDownloads", true);
1466 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.includePocket", true);
1467 // Some linux distributions disable just pocket by default.
1468 pref("services.sync.prefs.sync-seen.browser.newtabpage.activity-stream.section.highlights.includePocket", false);
1469 pref("services.sync.prefs.sync.browser.newtabpage.activity-stream.section.highlights.rows", true);
1470 pref("services.sync.prefs.sync.browser.newtabpage.enabled", true);
1471 pref("services.sync.prefs.sync.browser.newtabpage.pinned", true);
1472 pref("services.sync.prefs.sync.browser.pdfjs.feature-tour", true);
1473 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.enabled", true);
1474 pref("services.sync.prefs.sync.browser.safebrowsing.downloads.remote.block_potentially_unwanted", true);
1475 pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
1476 pref("services.sync.prefs.sync.browser.safebrowsing.phishing.enabled", true);
1477 pref("services.sync.prefs.sync.browser.search.update", true);
1478 pref("services.sync.prefs.sync.browser.search.widget.inNavBar", true);
1479 pref("services.sync.prefs.sync.browser.startup.homepage", true);
1480 pref("services.sync.prefs.sync.browser.startup.page", true);
1481 pref("services.sync.prefs.sync.browser.startup.upgradeDialog.enabled", true);
1482 pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
1483 pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
1484 pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
1485 pref("services.sync.prefs.sync.browser.taskbar.previews.enable", true);
1486 pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
1487 pref("services.sync.prefs.sync.browser.urlbar.showSearchSuggestionsFirst", true);
1488 pref("services.sync.prefs.sync.browser.urlbar.suggest.bookmark", true);
1489 pref("services.sync.prefs.sync.browser.urlbar.suggest.history", true);
1490 pref("services.sync.prefs.sync.browser.urlbar.suggest.openpage", true);
1491 pref("services.sync.prefs.sync.browser.urlbar.suggest.searches", true);
1492 pref("services.sync.prefs.sync.browser.urlbar.suggest.topsites", true);
1493 pref("services.sync.prefs.sync.browser.urlbar.suggest.engines", true);
1494 pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
1495 pref("services.sync.prefs.sync.dom.disable_window_flip", true);
1496 pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
1497 pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
1498 pref("services.sync.prefs.sync.dom.security.https_only_mode", true);
1499 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled", true);
1500 pref("services.sync.prefs.sync.dom.security.https_only_mode_ever_enabled_pbm", true);
1501 pref("services.sync.prefs.sync.dom.security.https_only_mode_pbm", true);
1502 pref("services.sync.prefs.sync.extensions.update.enabled", true);
1503 pref("services.sync.prefs.sync.extensions.activeThemeID", true);
1504 pref("services.sync.prefs.sync.general.autoScroll", true);
1505 // general.autoScroll has a different default on Linux vs elsewhere.
1506 pref("services.sync.prefs.sync-seen.general.autoScroll", false);
1507 pref("services.sync.prefs.sync.general.smoothScroll", true);
1508 pref("services.sync.prefs.sync.intl.accept_languages", true);
1509 pref("services.sync.prefs.sync.intl.regional_prefs.use_os_locales", true);
1510 pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
1511 pref("services.sync.prefs.sync.media.autoplay.default", true);
1512 pref("services.sync.prefs.sync.media.eme.enabled", true);
1513 // Some linux distributions disable eme by default.
1514 pref("services.sync.prefs.sync-seen.media.eme.enabled", false);
1515 pref("services.sync.prefs.sync.media.videocontrols.picture-in-picture.video-toggle.enabled", true);
1516 pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
1517 pref("services.sync.prefs.sync.network.cookie.thirdparty.sessionOnly", true);
1518 pref("services.sync.prefs.sync.permissions.default.image", true);
1519 pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
1520 pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
1521 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
1522 pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
1523 pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
1524 pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
1525 pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
1526 pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
1527 pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
1528 pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
1529 pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
1530 pref("services.sync.prefs.sync.privacy.globalprivacycontrol.enabled", true);
1531 pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
1532 pref("services.sync.prefs.sync.privacy.trackingprotection.enabled", true);
1533 pref("services.sync.prefs.sync.privacy.trackingprotection.cryptomining.enabled", true);
1534 pref("services.sync.prefs.sync.privacy.trackingprotection.fingerprinting.enabled", true);
1535 pref("services.sync.prefs.sync.privacy.trackingprotection.pbmode.enabled", true);
1536 // We do not sync `privacy.resistFingerprinting` by default as it's an undocumented,
1537 // not-recommended footgun - see bug 1763278 for more.
1538 pref("services.sync.prefs.sync.privacy.reduceTimerPrecision", true);
1539 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.microseconds", true);
1540 pref("services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter", true);
1541 pref("services.sync.prefs.sync.privacy.userContext.enabled", true);
1542 pref("services.sync.prefs.sync.privacy.userContext.newTabContainerOnLeftClick.enabled", true);
1543 pref("services.sync.prefs.sync.security.default_personal_cert", true);
1544 pref("services.sync.prefs.sync.services.sync.syncedTabs.showRemoteIcons", true);
1545 pref("services.sync.prefs.sync.signon.autofillForms", true);
1546 pref("services.sync.prefs.sync.signon.generation.enabled", true);
1547 pref("services.sync.prefs.sync.signon.management.page.breach-alerts.enabled", true);
1548 pref("services.sync.prefs.sync.signon.rememberSignons", true);
1549 pref("services.sync.prefs.sync.spellchecker.dictionary", true);
1550 pref("services.sync.prefs.sync.ui.osk.enabled", true);
1552 // A preference which, if false, means sync will only apply incoming preference
1553 // changes if there's already a local services.sync.prefs.sync.* control pref.
1554 // If true, all incoming preferences will be applied and the local "control
1555 // pref" updated accordingly.
1556 pref("services.sync.prefs.dangerously_allow_arbitrary", false);
1558 // A preference that controls whether we should show the icon for a remote tab.
1559 // This pref has no UI but exists because some people may be concerned that
1560 // fetching these icons to show remote tabs may leak information about that
1561 // user's tabs and bookmarks. Note this pref is also synced.
1562 pref("services.sync.syncedTabs.showRemoteIcons", true);
1564 // A preference (in milliseconds) controlling if we sync after a tab change and
1565 // how long to delay before we schedule the sync
1566 // Anything <= 0 means disabled
1567 pref("services.sync.syncedTabs.syncDelayAfterTabChange", 5000);
1569 // Whether the character encoding menu is under the main Firefox button. This
1570 // preference is a string so that localizers can alter it.
1571 pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
1573 // Whether prompts should be content modal (1) tab modal (2) or window modal(3) by default
1574 // This is a fallback value for when prompt callers do not specify a modalType.
1575 pref("prompts.defaultModalType", 3);
1577 pref("browser.topsites.useRemoteSetting", true);
1578 // Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
1579 pref("browser.topsites.contile.enabled", true);
1580 pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
1582 // Whether to enable the Share-of-Voice feature for Sponsored Topsites via Contile.
1583 #if defined(EARLY_BETA_OR_EARLIER)
1584   pref("browser.topsites.contile.sov.enabled", true);
1585 #else
1586   pref("browser.topsites.contile.sov.enabled", false);
1587 #endif
1589 // The base URL for the Quick Suggest anonymizing proxy. To make a request to
1590 // the proxy, include a campaign ID in the path.
1591 pref("browser.partnerlink.attributionURL", "https://topsites.services.mozilla.com/cid/");
1592 pref("browser.partnerlink.campaign.topsites", "amzn_2020_a1");
1594 // Whether to show tab level system prompts opened via nsIPrompt(Service) as
1595 // SubDialogs in the TabDialogBox (true) or as TabModalPrompt in the
1596 // TabModalPromptBox (false).
1597 pref("prompts.tabChromePromptSubDialog", true);
1599 // Whether to show the dialogs opened at the content level, such as
1600 // alert() or prompt(), using a SubDialogManager in the TabDialogBox.
1601 pref("prompts.contentPromptSubDialog", true);
1603 // Whether to show window-modal dialogs opened for browser windows
1604 // in a SubDialog inside their parent, instead of an OS level window.
1605 pref("prompts.windowPromptSubDialog", true);
1607 // Activates preloading of the new tab url.
1608 pref("browser.newtab.preload", true);
1610 pref("browser.newtabpage.activity-stream.newNewtabExperience.colors", "#0090ED,#FF4F5F,#2AC3A2,#FF7139,#A172FF,#FFA437,#FF2A8A");
1612 // Activity Stream prefs that control to which page to redirect
1613 #ifndef RELEASE_OR_BETA
1614   pref("browser.newtabpage.activity-stream.debug", false);
1615 #endif
1617 // The remote FxA root content URL for the Activity Stream firstrun page.
1618 pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "https://accounts.firefox.com/");
1620 // The pref that controls if the search shortcuts experiment is on
1621 pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts", true);
1623 // ASRouter provider configuration
1624 pref("browser.newtabpage.activity-stream.asrouter.providers.cfr", "{\"id\":\"cfr\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"cfr\",\"updateCycleInMs\":3600000}");
1625 pref("browser.newtabpage.activity-stream.asrouter.providers.whats-new-panel", "{\"id\":\"whats-new-panel\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"whats-new-panel\",\"updateCycleInMs\":3600000}");
1626 pref("browser.newtabpage.activity-stream.asrouter.providers.message-groups", "{\"id\":\"message-groups\",\"enabled\":true,\"type\":\"remote-settings\",\"collection\":\"message-groups\",\"updateCycleInMs\":3600000}");
1627 // This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
1628 // this page over http opens us up to a man-in-the-middle attack that we'd rather not face. If you are a downstream
1629 // repackager of this code using an alternate snippet url, please keep your users safe
1630 pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "{\"id\":\"snippets\",\"enabled\":false,\"type\":\"remote\",\"url\":\"https://snippets.cdn.mozilla.net/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/\",\"updateCycleInMs\":14400000}");
1631 pref("browser.newtabpage.activity-stream.asrouter.providers.messaging-experiments", "{\"id\":\"messaging-experiments\",\"enabled\":true,\"type\":\"remote-experiments\",\"updateCycleInMs\":3600000}");
1633 // ASRouter user prefs
1634 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", true);
1635 pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", true);
1636 pref("messaging-system.askForFeedback", true);
1638 // The pref that controls if ASRouter uses the remote fluent files.
1639 // It's enabled by default, but could be disabled to force ASRouter to use the local files.
1640 pref("browser.newtabpage.activity-stream.asrouter.useRemoteL10n", true);
1642 // These prefs control if Discovery Stream is enabled.
1643 pref("browser.newtabpage.activity-stream.discoverystream.enabled", true);
1644 pref("browser.newtabpage.activity-stream.discoverystream.hardcoded-basic-layout", false);
1645 pref("browser.newtabpage.activity-stream.discoverystream.hybridLayout.enabled", false);
1646 pref("browser.newtabpage.activity-stream.discoverystream.hideCardBackground.enabled", false);
1647 pref("browser.newtabpage.activity-stream.discoverystream.fourCardLayout.enabled", false);
1648 pref("browser.newtabpage.activity-stream.discoverystream.newFooterSection.enabled", false);
1649 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCard.enabled", true);
1650 pref("browser.newtabpage.activity-stream.discoverystream.saveToPocketCardRegions", "");
1651 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptions.enabled", false);
1652 pref("browser.newtabpage.activity-stream.discoverystream.hideDescriptionsRegions", "");
1653 pref("browser.newtabpage.activity-stream.discoverystream.compactGrid.enabled", false);
1654 pref("browser.newtabpage.activity-stream.discoverystream.compactImages.enabled", false);
1655 pref("browser.newtabpage.activity-stream.discoverystream.imageGradient.enabled", false);
1656 pref("browser.newtabpage.activity-stream.discoverystream.titleLines", 3);
1657 pref("browser.newtabpage.activity-stream.discoverystream.descLines", 3);
1658 pref("browser.newtabpage.activity-stream.discoverystream.readTime.enabled", true);
1659 pref("browser.newtabpage.activity-stream.discoverystream.newSponsoredLabel.enabled", false);
1660 pref("browser.newtabpage.activity-stream.discoverystream.essentialReadsHeader.enabled", false);
1661 pref("browser.newtabpage.activity-stream.discoverystream.recentSaves.enabled", false);
1662 pref("browser.newtabpage.activity-stream.discoverystream.editorsPicksHeader.enabled", false);
1663 pref("browser.newtabpage.activity-stream.discoverystream.spoc-positions", "1,5,7,11,18,20");
1664 pref("browser.newtabpage.activity-stream.discoverystream.spoc-topsites-positions", "2");
1665 pref("browser.newtabpage.activity-stream.discoverystream.widget-positions", "");
1667 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint", "");
1668 pref("browser.newtabpage.activity-stream.discoverystream.spocs-endpoint-query", "");
1669 pref("browser.newtabpage.activity-stream.discoverystream.sponsored-collections.enabled", false);
1671 // Changes the spoc content.
1672 pref("browser.newtabpage.activity-stream.discoverystream.spocAdTypes", "");
1673 pref("browser.newtabpage.activity-stream.discoverystream.spocZoneIds", "");
1674 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesAdTypes", "");
1675 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesZoneIds", "");
1676 pref("browser.newtabpage.activity-stream.discoverystream.spocTopsitesPlacement.enabled", true);
1677 pref("browser.newtabpage.activity-stream.discoverystream.spocSiteId", "");
1679 pref("browser.newtabpage.activity-stream.discoverystream.sendToPocket.enabled", true);
1681 // List of regions that do not get stories, regardless of locale-list-config.
1682 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-block", "");
1683 // List of locales that get stories, regardless of region-stories-config.
1684 #ifdef NIGHTLY_BUILD
1685   pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "en-US,en-CA,en-GB");
1686 #else
1687   pref("browser.newtabpage.activity-stream.discoverystream.locale-list-config", "");
1688 #endif
1689 // List of regions that get stories by default.
1690 pref("browser.newtabpage.activity-stream.discoverystream.region-stories-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1691 // List of regions that support the new recommendations BFF, also requires region-stories-config
1692 pref("browser.newtabpage.activity-stream.discoverystream.region-bff-config", "US,DE,CA,GB,IE,CH,AT,BE,IN,FR,IT,ES");
1693 // List of regions that get spocs by default.
1694 pref("browser.newtabpage.activity-stream.discoverystream.region-spocs-config", "US,CA,DE,GB,FR,IT,ES");
1695 // List of regions that don't get the 7 row layout.
1696 pref("browser.newtabpage.activity-stream.discoverystream.region-basic-config", "");
1698 // Allows Pocket story collections to be dismissed.
1699 pref("browser.newtabpage.activity-stream.discoverystream.isCollectionDismissible", true);
1700 pref("browser.newtabpage.activity-stream.discoverystream.personalization.enabled", true);
1701 // Configurable keys used by personalization.
1702 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");
1703 // System pref to allow Pocket stories personalization to be turned on/off.
1704 pref("browser.newtabpage.activity-stream.discoverystream.recs.personalized", false);
1705 // System pref to allow Pocket sponsored content personalization to be turned on/off.
1706 pref("browser.newtabpage.activity-stream.discoverystream.spocs.personalized", true);
1708 // Flip this once the user has dismissed the Pocket onboarding experience,
1709 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.dismissed", false);
1710 pref("browser.newtabpage.activity-stream.discoverystream.onboardingExperience.enabled", false);
1712 // User pref to show stories on newtab (feeds.system.topstories has to be set to true as well)
1713 pref("browser.newtabpage.activity-stream.feeds.section.topstories", true);
1715 // The pref controls if search hand-off is enabled for Activity Stream.
1716 pref("browser.newtabpage.activity-stream.improvesearch.handoffToAwesomebar", true);
1718 pref("browser.newtabpage.activity-stream.logowordmark.alwaysVisible", true);
1720 // URLs from the user's history that contain this search param will be hidden
1721 // from the top sites. The value is a string with one of the following forms:
1722 // - "" (empty) - Disable this feature
1723 // - "key" - Search param named "key" with any or no value
1724 // - "key=" - Search param named "key" with no value
1725 // - "key=value" - Search param named "key" with value "value"
1726 pref("browser.newtabpage.activity-stream.hideTopSitesWithSearchParam", "mfadid=adm");
1728 // Separate about welcome
1729 pref("browser.aboutwelcome.enabled", true);
1730 // Used to set multistage welcome UX
1731 pref("browser.aboutwelcome.screens", "");
1732 // Used to enable window modal onboarding
1733 pref("browser.aboutwelcome.showModal", false);
1735 // The pref that controls if the What's New panel is enabled.
1736 pref("browser.messaging-system.whatsNewPanel.enabled", true);
1738 // Experiment Manager
1739 // See Console.sys.mjs LOG_LEVELS for all possible values
1740 pref("messaging-system.log", "warn");
1741 pref("messaging-system.rsexperimentloader.enabled", true);
1742 pref("messaging-system.rsexperimentloader.collection_id", "nimbus-desktop-experiments");
1743 pref("nimbus.debug", false);
1744 pref("nimbus.validation.enabled", true);
1746 // Nimbus QA prefs. Used to monitor pref-setting test experiments.
1747 pref("nimbus.qa.pref-1", "default");
1748 pref("nimbus.qa.pref-2", "default");
1750 // Startup Crash Tracking
1751 // number of startup crashes that can occur before starting into safe mode automatically
1752 // (this pref has no effect if more than 6 hours have passed since the last crash)
1753 pref("toolkit.startup.max_resumed_crashes", 3);
1755 // Whether to use RegisterApplicationRestart to restart the browser and resume
1756 // the session on next Windows startup
1757 #if defined(XP_WIN)
1758   pref("toolkit.winRegisterApplicationRestart", true);
1759 #endif
1761 // The values of preferredAction and alwaysAskBeforeHandling before pdf.js
1762 // became the default.
1763 pref("pdfjs.previousHandler.preferredAction", 0);
1764 pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
1766 // Try to convert PDFs sent as octet-stream
1767 pref("pdfjs.handleOctetStream", true);
1769 // Is the sidebar positioned ahead of the content browser
1770 pref("sidebar.position_start", true);
1772 pref("security.protectionspopup.recordEventTelemetry", true);
1773 pref("security.app_menu.recordEventTelemetry", true);
1775 // Block insecure active content on https pages
1776 pref("security.mixed_content.block_active_content", true);
1778 // Show "Not Secure" text for http pages; disabled for now
1779 #ifdef NIGHTLY_BUILD
1780 pref("security.insecure_connection_text.enabled", true);
1781 pref("security.insecure_connection_text.pbmode.enabled", true);
1782 #else
1783 pref("security.insecure_connection_text.enabled", false);
1784 pref("security.insecure_connection_text.pbmode.enabled", false);
1785 #endif
1787 // If this turns true, Moz*Gesture events are not called stopPropagation()
1788 // before content.
1789 pref("dom.debug.propagate_gesture_events_through_content", false);
1791 // CustomizableUI debug logging.
1792 pref("browser.uiCustomization.debug", false);
1794 // CustomizableUI state of the browser's user interface
1795 pref("browser.uiCustomization.state", "");
1797 // If set to false, FxAccounts and Sync will be unavailable.
1798 // A restart is mandatory after flipping that preference.
1799 pref("identity.fxaccounts.enabled", true);
1801 // The remote FxA root content URL. Must use HTTPS.
1802 pref("identity.fxaccounts.remote.root", "https://accounts.firefox.com/");
1804 // The value of the context query parameter passed in fxa requests.
1805 pref("identity.fxaccounts.contextParam", "fx_desktop_v3");
1807 // The remote URL of the FxA Profile Server
1808 pref("identity.fxaccounts.remote.profile.uri", "https://profile.accounts.firefox.com/v1");
1810 // The remote URL of the FxA OAuth Server
1811 pref("identity.fxaccounts.remote.oauth.uri", "https://oauth.accounts.firefox.com/v1");
1813 // Whether FxA pairing using QR codes is enabled.
1814 pref("identity.fxaccounts.pairing.enabled", true);
1816 // The remote URI of the FxA pairing server
1817 pref("identity.fxaccounts.remote.pairing.uri", "wss://channelserver.services.mozilla.com");
1819 // Token server used by the FxA Sync identity.
1820 pref("identity.sync.tokenserver.uri", "https://token.services.mozilla.com/1.0/sync/1.5");
1822 // Auto-config URL for FxA self-hosters, makes an HTTP request to
1823 // [identity.fxaccounts.autoconfig.uri]/.well-known/fxa-client-configuration
1824 // This is now the prefered way of pointing to a custom FxA server, instead
1825 // of making changes to "identity.fxaccounts.*.uri".
1826 pref("identity.fxaccounts.autoconfig.uri", "");
1828 // URL for help link about Send Tab.
1829 pref("identity.sendtabpromo.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/send-tab");
1831 // URLs for promo links to mobile browsers. Note that consumers are expected to
1832 // append a value for utm_campaign.
1833 pref("identity.mobilepromo.android", "https://www.mozilla.org/firefox/android/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
1834 pref("identity.mobilepromo.ios", "https://www.mozilla.org/firefox/ios/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=");
1836 // Migrate any existing Firefox Account data from the default profile to the
1837 // Developer Edition profile.
1838 #ifdef MOZ_DEV_EDITION
1839   pref("identity.fxaccounts.migrateToDevEdition", true);
1840 #else
1841   pref("identity.fxaccounts.migrateToDevEdition", false);
1842 #endif
1844 // How often should we try to fetch missed FxA commands on sync (in seconds).
1845 // Default is 24 hours.
1846 pref("identity.fxaccounts.commands.missed.fetch_interval", 86400);
1848 // Note: when media.gmp-*.visible is true, provided we're running on a
1849 // supported platform/OS version, the corresponding CDM appears in the
1850 // plugins list, Firefox will download the GMP/CDM if enabled, and our
1851 // UI to re-enable EME prompts the user to re-enable EME if it's disabled
1852 // and script requests EME. If *.visible is false, we won't show the UI
1853 // to enable the CDM if its disabled; it's as if the keysystem is completely
1854 // unsupported.
1856 #ifdef MOZ_WIDEVINE_EME
1857   pref("media.gmp-widevinecdm.visible", true);
1858   pref("media.gmp-widevinecdm.enabled", true);
1859 #endif
1861 pref("media.gmp-gmpopenh264.visible", true);
1862 pref("media.gmp-gmpopenh264.enabled", true);
1864 pref("media.videocontrols.picture-in-picture.enabled", true);
1865 pref("media.videocontrols.picture-in-picture.audio-toggle.enabled", true);
1866 pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true);
1867 pref("media.videocontrols.picture-in-picture.video-toggle.visibility-threshold", "1.0");
1868 pref("media.videocontrols.picture-in-picture.keyboard-controls.enabled", true);
1869 pref("media.videocontrols.picture-in-picture.urlbar-button.enabled", true);
1871 // TODO (Bug 1817084) - This pref is used for managing translation preferences
1872 // in the Firefox Translations addon. It should be removed when the addon is
1873 // removed.
1874 pref("browser.translation.neverForLanguages", "");
1876 // Enable Firefox translations powered by the Bergamot translations
1877 // engine https://browser.mt/.
1878 pref("browser.translations.enable", true);
1880 // Telemetry settings.
1881 // Determines if Telemetry pings can be archived locally.
1882 pref("toolkit.telemetry.archive.enabled", true);
1883 // Enables sending the shutdown ping when Firefox shuts down.
1884 pref("toolkit.telemetry.shutdownPingSender.enabled", true);
1885 // Enables using the `pingsender` background task.
1886 pref("toolkit.telemetry.shutdownPingSender.backgroundtask.enabled", false);
1887 // Enables sending the shutdown ping using the pingsender from the first session.
1888 pref("toolkit.telemetry.shutdownPingSender.enabledFirstSession", false);
1889 // Enables sending a duplicate of the first shutdown ping from the first session.
1890 pref("toolkit.telemetry.firstShutdownPing.enabled", true);
1891 // Enables sending the 'new-profile' ping on new profiles.
1892 pref("toolkit.telemetry.newProfilePing.enabled", true);
1893 // Enables sending 'update' pings on Firefox updates.
1894 pref("toolkit.telemetry.updatePing.enabled", true);
1895 // Enables sending 'bhr' pings when the browser hangs.
1896 pref("toolkit.telemetry.bhrPing.enabled", true);
1898 // Ping Centre Telemetry settings.
1899 pref("browser.ping-centre.telemetry", true);
1900 pref("browser.ping-centre.log", false);
1902 // Enable GMP support in the addon manager.
1903 pref("media.gmp-provider.enabled", true);
1905 // Enable Dynamic First-Party Isolation by default.
1906 pref("network.cookie.cookieBehavior", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
1908 // Enable Dynamic First-Party Isolation in the private browsing mode.
1909 pref("network.cookie.cookieBehavior.pbmode", 5 /* BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN */);
1911 // Enable fingerprinting blocking by default for all channels, only on desktop.
1912 pref("privacy.trackingprotection.fingerprinting.enabled", true);
1914 // Enable cryptomining blocking by default for all channels, only on desktop.
1915 pref("privacy.trackingprotection.cryptomining.enabled", true);
1917 pref("browser.contentblocking.database.enabled", true);
1919 pref("dom.storage_access.frame_only", true);
1921 // Enable URL query stripping and strip on share in Nightly.
1922 #ifdef NIGHTLY_BUILD
1923 pref("privacy.query_stripping.enabled", true);
1924 pref("privacy.query_stripping.strip_on_share.enabled", true);
1925 #endif
1927 pref("browser.contentblocking.cryptomining.preferences.ui.enabled", true);
1928 pref("browser.contentblocking.fingerprinting.preferences.ui.enabled", true);
1929 // Enable cookieBehavior = BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN as an option in the custom category ui
1930 pref("browser.contentblocking.reject-and-isolate-cookies.preferences.ui.enabled", true);
1932 // Possible values for browser.contentblocking.features.strict pref:
1933 //   Tracking Protection:
1934 //     "tp": tracking protection enabled
1935 //     "-tp": tracking protection disabled
1936 //   Tracking Protection in private windows:
1937 //     "tpPrivate": tracking protection in private windows enabled
1938 //     "-tpPrivate": tracking protection in private windows disabled
1939 //   Fingerprinting:
1940 //     "fp": fingerprinting blocking enabled
1941 //     "-fp": fingerprinting blocking disabled
1942 //   Cryptomining:
1943 //     "cm": cryptomining blocking enabled
1944 //     "-cm": cryptomining blocking disabled
1945 //   Social Tracking Protection:
1946 //     "stp": social tracking protection enabled
1947 //     "-stp": social tracking protection disabled
1948 //   Email Tracking Protection:
1949 //     "emailTP": email tracking protection enabled
1950 //     "-emailTP": email tracking protection disabled
1951 //   Email Tracking Protection in private windows:
1952 //     "emailTPPrivate": email tracking protection in private windows enabled
1953 //     "-emailTPPrivate": email tracking protection in private windows disabled
1954 //   Level 2 Tracking list in normal windows:
1955 //     "lvl2": Level 2 tracking list enabled
1956 //     "-lvl2": Level 2 tracking list disabled
1957 //   Restrict relaxing default referrer policy:
1958 //     "rp": Restrict relaxing default referrer policy enabled
1959 //     "-rp": Restrict relaxing default referrer policy disabled
1960 //   Restrict relaxing default referrer policy for top navigation:
1961 //     "rpTop": Restrict relaxing default referrer policy enabled
1962 //     "-rpTop": Restrict relaxing default referrer policy disabled
1963 //   OCSP cache partitioning:
1964 //     "ocsp": OCSP cache partitioning enabled
1965 //     "-ocsp": OCSP cache partitioning disabled
1966 //   Query parameter stripping:
1967 //     "qps": Query parameter stripping enabled
1968 //     "-qps": Query parameter stripping disabled
1969 //   Query parameter stripping for private windows:
1970 //     "qpsPBM": Query parameter stripping enabled in private windows
1971 //     "-qpsPBM": Query parameter stripping disabled in private windows
1972 //   Fingerprinting Protection:
1973 //     "fpp": Fingerprinting Protection enabled
1974 //     "-fpp": Fingerprinting Protection disabled
1975 //   Fingerprinting Protection for private windows:
1976 //     "fppPrivate": Fingerprinting Protection enabled in private windows
1977 //     "-fppPrivate": Fingerprinting Protection disabled in private windows
1978 //   Cookie behavior:
1979 //     "cookieBehavior0": cookie behaviour BEHAVIOR_ACCEPT
1980 //     "cookieBehavior1": cookie behaviour BEHAVIOR_REJECT_FOREIGN
1981 //     "cookieBehavior2": cookie behaviour BEHAVIOR_REJECT
1982 //     "cookieBehavior3": cookie behaviour BEHAVIOR_LIMIT_FOREIGN
1983 //     "cookieBehavior4": cookie behaviour BEHAVIOR_REJECT_TRACKER
1984 //     "cookieBehavior5": cookie behaviour BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN
1985 //   Cookie behavior for private windows:
1986 //     "cookieBehaviorPBM0": cookie behaviour BEHAVIOR_ACCEPT
1987 //     "cookieBehaviorPBM1": cookie behaviour BEHAVIOR_REJECT_FOREIGN
1988 //     "cookieBehaviorPBM2": cookie behaviour BEHAVIOR_REJECT
1989 //     "cookieBehaviorPBM3": cookie behaviour BEHAVIOR_LIMIT_FOREIGN
1990 //     "cookieBehaviorPBM4": cookie behaviour BEHAVIOR_REJECT_TRACKER
1991 //     "cookieBehaviorPBM5": cookie behaviour BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN
1992 // One value from each section must be included in the browser.contentblocking.features.strict pref.
1993 pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior5,cookieBehaviorPBM5,cm,fp,stp,emailTP,emailTPPrivate,lvl2,rp,rpTop,ocsp,qps,qpsPBM,fpp,fppPrivate");
1995 // Hide the "Change Block List" link for trackers/tracking content in the custom
1996 // Content Blocking/ETP panel. By default, it will not be visible. There is also
1997 // an UI migration in place to set this pref to true if a user has a custom block
1998 // lists enabled.
1999 pref("browser.contentblocking.customBlockList.preferences.ui.enabled", false);
2001 pref("browser.contentblocking.reportBreakage.url", "https://tracking-protection-issues.herokuapp.com/new");
2003 // Enable Protections report's Lockwise card by default.
2004 pref("browser.contentblocking.report.lockwise.enabled", true);
2006 // Disable rotections report's Monitor card by default. The new Monitor API does
2007 // not support this feature as of now. See Bug 1815751.
2008 pref("browser.contentblocking.report.monitor.enabled", false);
2010 // Disable Protections report's Proxy card by default.
2011 pref("browser.contentblocking.report.proxy.enabled", false);
2013 // Disable the mobile promotion by default.
2014 pref("browser.contentblocking.report.show_mobile_app", true);
2016 // Locales in which Send to Device emails are supported
2017 // The most recent list of supported locales can be found at https://github.com/mozilla/bedrock/blob/6a08c876f65924651554decc57b849c00874b4e7/bedrock/settings/base.py#L963
2018 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");
2020 // Avoid advertising in certain regions. Comma separated string of two letter ISO 3166-1 country codes.
2021 // We're currently blocking all of Ukraine (ua), but would prefer to block just Crimea (ua-43). Currently, the Mozilla Location Service APIs used by Region.sys.mjs only exposes the country, not the subdivision.
2022 pref("browser.vpn_promo.disallowed_regions", "ae,by,cn,cu,iq,ir,kp,om,ru,sd,sy,tm,tr,ua");
2024 // Default to enabling VPN promo messages to be shown when specified and allowed
2025 pref("browser.vpn_promo.enabled", true);
2026 // Only show vpn card to certain regions. Comma separated string of two letter ISO 3166-1 country codes.
2027 // The most recent list of supported countries can be found at https://support.mozilla.org/en-US/kb/mozilla-vpn-countries-available-subscribe
2028 // The full list of supported country codes can also be found at https://github.com/mozilla/bedrock/search?q=VPN_COUNTRY_CODES
2029 pref("browser.contentblocking.report.vpn_regions", "as,at,be,ca,ch,de,es,fi,fr,gb,gg,ie,im,io,it,je,mp,my,nl,nz,pr,se,sg,uk,um,us,vg,vi"
2032 // Avoid advertising Focus in certain regions.  Comma separated string of two letter
2033 // ISO 3166-1 country codes.
2034 pref("browser.promo.focus.disallowed_regions", "cn");
2036 // Default to enabling focus promos to be shown where allowed.
2037 pref("browser.promo.focus.enabled", true);
2039 // Default to enabling pin promos to be shown where allowed.
2040 pref("browser.promo.pin.enabled", true);
2042 // Default to enabling cookie banner reduction promos to be shown where allowed.
2043 // Set to true for Fx113 (see bug 1808611)
2044 pref("browser.promo.cookiebanners.enabled", false);
2046 pref("browser.contentblocking.report.hide_vpn_banner", false);
2047 pref("browser.contentblocking.report.vpn_sub_id", "sub_HrfCZF7VPHzZkA");
2049 pref("browser.contentblocking.report.monitor.url", "https://monitor.firefox.com/?entrypoint=protection_report_monitor&utm_source=about-protections");
2050 pref("browser.contentblocking.report.monitor.how_it_works.url", "https://monitor.firefox.com/about");
2051 pref("browser.contentblocking.report.monitor.sign_in_url", "https://monitor.firefox.com/oauth/init?entrypoint=protection_report_monitor&utm_source=about-protections&email=");
2052 pref("browser.contentblocking.report.monitor.preferences_url", "https://monitor.firefox.com/user/preferences");
2053 pref("browser.contentblocking.report.monitor.home_page_url", "https://monitor.firefox.com/user/dashboard");
2054 pref("browser.contentblocking.report.manage_devices.url", "https://accounts.firefox.com/settings/clients");
2055 pref("browser.contentblocking.report.endpoint_url", "https://monitor.firefox.com/user/breach-stats?includeResolved=true");
2056 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");
2057 pref("browser.contentblocking.report.mobile-ios.url", "https://apps.apple.com/app/firefox-private-safe-browser/id989804926");
2058 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");
2059 pref("browser.contentblocking.report.vpn.url", "https://vpn.mozilla.org/?utm_source=firefox-browser&utm_medium=firefox-browser&utm_campaign=about-protections-card");
2060 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");
2061 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--");
2062 pref("browser.contentblocking.report.vpn-ios.url", "https://apps.apple.com/us/app/firefox-private-network-vpn/id1489407738");
2064 // Protection Report's SUMO urls
2065 pref("browser.contentblocking.report.lockwise.how_it_works.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/password-manager-report");
2066 pref("browser.contentblocking.report.social.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/social-media-tracking-report");
2067 pref("browser.contentblocking.report.cookie.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/cross-site-tracking-report");
2068 pref("browser.contentblocking.report.tracker.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/tracking-content-report");
2069 pref("browser.contentblocking.report.fingerprinter.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/fingerprinters-report");
2070 pref("browser.contentblocking.report.cryptominer.url", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/cryptominers-report");
2072 pref("browser.contentblocking.cfr-milestone.enabled", true);
2073 pref("browser.contentblocking.cfr-milestone.milestone-achieved", 0);
2074 // Milestones should always be in increasing order
2075 pref("browser.contentblocking.cfr-milestone.milestones", "[1000, 5000, 10000, 25000, 50000, 100000, 250000, 314159, 500000, 750000, 1000000, 1250000, 1500000, 1750000, 2000000, 2250000, 2500000, 8675309]");
2077 // Controls the initial state of the protections panel collapsible info message.
2078 pref("browser.protections_panel.infoMessage.seen", false);
2080 // Always enable newtab segregation using containers
2081 pref("privacy.usercontext.about_newtab_segregation.enabled", true);
2082 // Enable Contextual Identity Containers
2083 #ifdef NIGHTLY_BUILD
2084   pref("privacy.userContext.enabled", true);
2085   pref("privacy.userContext.ui.enabled", true);
2086 #else
2087   pref("privacy.userContext.enabled", false);
2088   pref("privacy.userContext.ui.enabled", false);
2089 #endif
2090 pref("privacy.userContext.extension", "");
2091 // allows user to open container menu on a left click instead of a new
2092 // tab in the default container
2093 pref("privacy.userContext.newTabContainerOnLeftClick.enabled", false);
2095 // Set to true to allow the user to silence all notifications when
2096 // sharing the screen.
2097 pref("privacy.webrtc.allowSilencingNotifications", true);
2098 // Set to true to use the legacy WebRTC global indicator
2099 pref("privacy.webrtc.legacyGlobalIndicator", false);
2100 pref("privacy.webrtc.hideGlobalIndicator", false);
2102 // Set to true to add toggles to the WebRTC indicator for globally
2103 // muting the camera and microphone.
2104 pref("privacy.webrtc.globalMuteToggles", false);
2106 // Set to true to enable a warning displayed when attempting
2107 // to switch tabs in a window that's being shared over WebRTC.
2108 pref("privacy.webrtc.sharedTabWarning", false);
2110 // Defines a grace period after camera or microphone use ends, where permission
2111 // is granted (even past navigation) to this tab + origin + device. This avoids
2112 // re-prompting without the user having to persist permission to the site, in a
2113 // common case of a web conference asking them for the camera in a lobby page,
2114 // before navigating to the actual meeting room page. Doesn't survive tab close.
2115 pref("privacy.webrtc.deviceGracePeriodTimeoutMs", 3600000);
2117 // Enable Fingerprinting Protection in private windows..
2118 pref("privacy.fingerprintingProtection.pbmode", true);
2120 // Start the browser in e10s mode
2121 pref("browser.tabs.remote.autostart", true);
2123 // Run media transport in a separate process?
2124 pref("media.peerconnection.mtransport_process", true);
2126 // For speculatively warming up tabs to improve perceived
2127 // performance while using the async tab switcher.
2128 pref("browser.tabs.remote.warmup.enabled", true);
2130 // Caches tab layers to improve perceived performance
2131 // of tab switches.
2132 pref("browser.tabs.remote.tabCacheSize", 0);
2134 pref("browser.tabs.remote.warmup.maxTabs", 3);
2135 pref("browser.tabs.remote.warmup.unloadDelayMs", 2000);
2137 // For the about:tabcrashed page
2138 pref("browser.tabs.crashReporting.sendReport", true);
2139 pref("browser.tabs.crashReporting.includeURL", false);
2141 // If true, unprivileged extensions may use experimental APIs on
2142 // nightly and developer edition.
2143 pref("extensions.experiments.enabled", false);
2145 #if defined(XP_WIN)
2146   pref("dom.ipc.processPriorityManager.backgroundUsesEcoQoS", true);
2147 #endif
2149 // Don't limit how many nodes we care about on desktop:
2150 pref("reader.parse-node-limit", 0);
2152 // On desktop, we want the URLs to be included here for ease of debugging,
2153 // and because (normally) these errors are not persisted anywhere.
2154 pref("reader.errors.includeURLs", true);
2156 pref("view_source.tab", true);
2158 // These are the thumbnail width/height set in about:newtab.
2159 // If you change this, ENSURE IT IS THE SAME SIZE SET
2160 // by about:newtab. These values are in CSS pixels.
2161 pref("toolkit.pageThumbs.minWidth", 280);
2162 pref("toolkit.pageThumbs.minHeight", 190);
2164 pref("browser.esedbreader.loglevel", "Error");
2166 pref("browser.laterrun.enabled", false);
2168 #ifdef FUZZING_SNAPSHOT
2169 pref("dom.ipc.processPrelaunch.enabled", false);
2170 #else
2171 pref("dom.ipc.processPrelaunch.enabled", true);
2172 #endif
2174 pref("browser.migrate.bookmarks-file.enabled", true);
2175 pref("browser.migrate.brave.enabled", true);
2176 pref("browser.migrate.canary.enabled", true);
2178 pref("browser.migrate.chrome.enabled", true);
2179 // See comments in bug 1340115 on how we got to this number.
2180 pref("browser.migrate.chrome.history.limit", 2000);
2181 pref("browser.migrate.chrome.payment_methods.enabled", true);
2182 pref("browser.migrate.chrome.extensions.enabled", true);
2183 pref("browser.migrate.chrome.get_permissions.enabled", true);
2185 pref("browser.migrate.chrome-beta.enabled", true);
2186 pref("browser.migrate.chrome-dev.enabled", true);
2187 pref("browser.migrate.chromium.enabled", true);
2188 pref("browser.migrate.chromium-360se.enabled", true);
2189 pref("browser.migrate.chromium-edge.enabled", true);
2190 pref("browser.migrate.chromium-edge-beta.enabled", true);
2191 pref("browser.migrate.edge.enabled", true);
2192 pref("browser.migrate.firefox.enabled", true);
2193 pref("browser.migrate.ie.enabled", true);
2194 pref("browser.migrate.opera.enabled", true);
2195 pref("browser.migrate.opera-gx.enabled", true);
2196 pref("browser.migrate.safari.enabled", true);
2197 pref("browser.migrate.vivaldi.enabled", true);
2199 pref("browser.migrate.content-modal.import-all.enabled", true);
2201 // Values can be: "default", "autoclose", "standalone", "embedded".
2202 pref("browser.migrate.content-modal.about-welcome-behavior", "embedded");
2204 // The maximum age of history entries we'll import, in days.
2205 pref("browser.migrate.history.maxAgeInDays", 180);
2207 // These following prefs are set to true if the user has at some
2208 // point in the past migrated one of these resource types from
2209 // another browser. We also attempt to transfer these preferences
2210 // across profile resets.
2211 pref("browser.migrate.interactions.bookmarks", false);
2212 pref("browser.migrate.interactions.csvpasswords", false);
2213 pref("browser.migrate.interactions.history", false);
2214 pref("browser.migrate.interactions.passwords", false);
2216 pref("browser.migrate.preferences-entrypoint.enabled", true);
2218 pref("browser.device-migration.help-menu.hidden", false);
2220 pref("extensions.pocket.api", "api.getpocket.com");
2221 pref("extensions.pocket.bffApi", "firefox-api-proxy.cdn.mozilla.net");
2222 pref("extensions.pocket.bffRecentSaves", true);
2223 pref("extensions.pocket.enabled", true);
2224 pref("extensions.pocket.oAuthConsumerKey", "40249-e88c401e1b1f2242d9e441c4");
2225 pref("extensions.pocket.oAuthConsumerKeyBff", "94110-6d5ff7a89d72c869766af0e0");
2226 pref("extensions.pocket.site", "getpocket.com");
2228 // Enable Pocket button home panel for non link pages.
2229 pref("extensions.pocket.showHome", true);
2231 // Control what version of the logged out doorhanger is displayed
2232 // Possibilities are: `control`, `control-one-button`, `variant_a`, `variant_b`, `variant_c`
2233 pref("extensions.pocket.loggedOutVariant", "control");
2235 // Just for the new Pocket panels, enables the email signup button.
2236 pref("extensions.pocket.refresh.emailButton.enabled", false);
2237 // Hides the recently saved section in the home panel.
2238 pref("extensions.pocket.refresh.hideRecentSaves.enabled", false);
2240 pref("signon.management.page.fileImport.enabled", false);
2242 #ifdef NIGHTLY_BUILD
2243 pref("signon.management.page.os-auth.enabled", true);
2244 #else
2245 pref("signon.management.page.os-auth.enabled", false);
2246 #endif
2247 // "available"      - user can see feature offer.
2248 // "offered"        - we have offered feature to user and they have not yet made a decision.
2249 // "enabled"        - user opted in to the feature.
2250 // "disabled"       - user opted out of the feature.
2251 pref("signon.firefoxRelay.feature", "available");
2252 pref("signon.management.page.breach-alerts.enabled", true);
2253 pref("signon.management.page.vulnerable-passwords.enabled", true);
2254 pref("signon.management.page.sort", "name");
2255 // The utm_creative value is appended within the code (specific to the location on
2256 // where it is clicked). Be sure that if these two prefs are updated, that
2257 // the utm_creative param be last.
2258 pref("signon.management.page.breachAlertUrl",
2259      "https://monitor.firefox.com/breach-details/");
2260 pref("signon.passwordEditCapture.enabled", true);
2261 pref("signon.relatedRealms.enabled", false);
2262 pref("signon.showAutoCompleteFooter", true);
2263 pref("signon.showAutoCompleteImport", "import");
2264 pref("signon.suggestImportCount", 3);
2266 // Space separated list of URLS that are allowed to send objects (instead of
2267 // only strings) through webchannels. Bug 1275612 tracks removing this pref and capability.
2268 pref("webchannel.allowObject.urlWhitelist", "https://content.cdn.mozilla.net https://install.mozilla.org");
2270 // Whether or not the browser should scan for unsubmitted
2271 // crash reports, and then show a notification for submitting
2272 // those reports.
2273 #ifdef NIGHTLY_BUILD
2274   pref("browser.crashReports.unsubmittedCheck.enabled", true);
2275 #else
2276   pref("browser.crashReports.unsubmittedCheck.enabled", false);
2277 #endif
2279 // chancesUntilSuppress is how many times we'll show the unsubmitted
2280 // crash report notification across different days and shutdown
2281 // without a user choice before we suppress the notification for
2282 // some number of days.
2283 pref("browser.crashReports.unsubmittedCheck.chancesUntilSuppress", 4);
2284 pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
2286 // Preferences for the form autofill toolkit component.
2287 // Checkbox in sync options for credit card data sync service
2288 pref("services.sync.engine.creditcards.available", true);
2289 // Whether the user enabled the OS re-auth dialog.
2290 pref("extensions.formautofill.reauth.enabled", false);
2292 // Whether or not to restore a session with lazy-browser tabs.
2293 pref("browser.sessionstore.restore_tabs_lazily", true);
2295 pref("browser.suppress_first_window_animation", true);
2297 // Preference that allows individual users to disable Screenshots.
2298 pref("extensions.screenshots.disabled", false);
2300 // Preference that determines whether Screenshots is opened as a dedicated browser component
2301 pref("screenshots.browser.component.enabled", false);
2303 // DoH Rollout: whether to clear the mode value at shutdown.
2304 pref("doh-rollout.clearModeOnShutdown", false);
2306 // Normandy client preferences
2307 pref("app.normandy.api_url", "https://normandy.cdn.mozilla.net/api/v1");
2308 pref("app.normandy.dev_mode", false);
2309 pref("app.normandy.enabled", true);
2310 pref("app.normandy.first_run", true);
2311 pref("app.normandy.logging.level", 50); // Warn
2312 pref("app.normandy.run_interval_seconds", 21600); // 6 hours
2313 pref("app.normandy.shieldLearnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/shield");
2314 pref("app.normandy.last_seen_buildid", "");
2315 pref("app.normandy.onsync_skew_sec", 600);
2316 #ifdef MOZ_DATA_REPORTING
2317   pref("app.shield.optoutstudies.enabled", true);
2318 #else
2319   pref("app.shield.optoutstudies.enabled", false);
2320 #endif
2322 // Multi-lingual preferences:
2323 //  *.enabled - Are langpacks available for the build of Firefox?
2324 //  *.downloadEnabled - Langpacks are allowed to be downloaded from AMO. AMO only serves
2325 //      langpacks for release and beta. Unsupported releases (like Nightly) can be
2326 //      manually tested with the following preference:
2327 //      extensions.getAddons.langpacks.url: https://mock-amo-language-tools.glitch.me/?app=firefox&type=language&appversion=%VERSION%
2328 //  *.liveReload - Switching a langpack will change the language without a restart.
2329 //  *.liveReloadBidirectional - Allows switching when moving between LTR and RTL
2330 //      languages without a full restart.
2331 //  *.aboutWelcome.languageMismatchEnabled - Enables an onboarding menu in about:welcome
2332 //      to allow a user to change their language when there is a language mismatch between
2333 //      the app and browser.
2334 #if defined(RELEASE_OR_BETA) && !defined(MOZ_DEV_EDITION)
2335   pref("intl.multilingual.enabled", true);
2336   pref("intl.multilingual.downloadEnabled", true);
2337   pref("intl.multilingual.liveReload", true);
2338   pref("intl.multilingual.liveReloadBidirectional", false);
2339   pref("intl.multilingual.aboutWelcome.languageMismatchEnabled", true);
2340 #else
2341   pref("intl.multilingual.enabled", false);
2342   pref("intl.multilingual.downloadEnabled", false);
2343   pref("intl.multilingual.liveReload", false);
2344   pref("intl.multilingual.liveReloadBidirectional", false);
2345   pref("intl.multilingual.aboutWelcome.languageMismatchEnabled", false);
2346 #endif
2348 // Coverage ping is disabled by default.
2349 pref("toolkit.coverage.enabled", false);
2350 pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org");
2352 // Discovery prefs
2353 pref("browser.discovery.enabled", true);
2354 pref("browser.discovery.containers.enabled", true);
2355 pref("browser.discovery.sites", "addons.mozilla.org");
2357 pref("browser.engagement.recent_visited_origins.expiry", 86400); // 24 * 60 * 60 (24 hours in seconds)
2358 pref("browser.engagement.downloads-button.has-used", false);
2359 pref("browser.engagement.fxa-toolbar-menu-button.has-used", false);
2360 pref("browser.engagement.home-button.has-used", false);
2361 pref("browser.engagement.sidebar-button.has-used", false);
2362 pref("browser.engagement.library-button.has-used", false);
2363 pref("browser.engagement.ctrlTab.has-used", false);
2365 pref("browser.aboutConfig.showWarning", true);
2367 pref("browser.toolbars.keyboard_navigation", true);
2369 // The visibility of the bookmarks toolbar.
2370 // "newtab": Show on the New Tab Page
2371 // "always": Always show
2372 // "never": Never show
2373 pref("browser.toolbars.bookmarks.visibility", "newtab");
2375 // Visibility of the "Show Other Bookmarks" menuitem in the
2376 // bookmarks toolbar contextmenu.
2377 pref("browser.toolbars.bookmarks.showOtherBookmarks", true);
2380 // Felt Privacy pref to control simplified private browsing UI
2381 pref("browser.privatebrowsing.felt-privacy-v1", false);
2382 // Visiblity of the bookmarks toolbar in PBM (currently only applies if felt-privacy-v1 is true)
2383 pref("browser.toolbars.bookmarks.showInPrivateBrowsing", false);
2385 // Prefs to control the Firefox Account toolbar menu.
2386 // This pref will surface existing Firefox Account information
2387 // as a button next to the hamburger menu. It allows
2388 // quick access to sign-in and manage your Firefox Account.
2389 pref("identity.fxaccounts.toolbar.enabled", true);
2390 pref("identity.fxaccounts.toolbar.accessed", false);
2391 pref("identity.fxaccounts.toolbar.defaultVisible", false);
2393 // Check bundled omni JARs for corruption.
2394 pref("corroborator.enabled", true);
2396 // Toolbox preferences
2397 pref("devtools.toolbox.footer.height", 250);
2398 pref("devtools.toolbox.sidebar.width", 500);
2399 pref("devtools.toolbox.host", "bottom");
2400 pref("devtools.toolbox.previousHost", "right");
2401 pref("devtools.toolbox.selectedTool", "inspector");
2402 pref("devtools.toolbox.zoomValue", "1");
2403 pref("devtools.toolbox.splitconsoleEnabled", false);
2404 pref("devtools.toolbox.splitconsoleHeight", 100);
2405 pref("devtools.toolbox.tabsOrder", "");
2406 // This is only used for local Web Extension debugging,
2407 // and allows to keep the window on top of all others,
2408 // so that you can debug the Firefox window, while keeping the devtools
2409 // always visible
2410 pref("devtools.toolbox.alwaysOnTop", true);
2412 // When the Multiprocess Browser Toolbox is enabled, you can configure the scope of it:
2413 // - "everything" will enable debugging absolutely everything in the browser
2414 //   All processes, all documents, all workers, all add-ons.
2415 // - "parent-process" will restrict debugging to the parent process
2416 //   All privileged javascript, documents and workers running in the parent process.
2417 pref("devtools.browsertoolbox.scope", "parent-process");
2419 // This preference will enable watching top-level targets from the server side.
2420 pref("devtools.target-switching.server.enabled", true);
2422 // In DevTools, create a target for each frame (i.e. not only for top-level document and
2423 // remote frames).
2424 pref("devtools.every-frame-target.enabled", true);
2426 // Controls the hability to debug popups from the same DevTools
2427 // of the original tab the popups are coming from
2428 pref("devtools.popups.debug", false);
2430 // Toolbox Button preferences
2431 pref("devtools.command-button-pick.enabled", true);
2432 pref("devtools.command-button-frames.enabled", true);
2433 pref("devtools.command-button-splitconsole.enabled", true);
2434 pref("devtools.command-button-responsive.enabled", true);
2435 pref("devtools.command-button-screenshot.enabled", false);
2436 pref("devtools.command-button-rulers.enabled", false);
2437 pref("devtools.command-button-measure.enabled", false);
2438 pref("devtools.command-button-noautohide.enabled", false);
2439 pref("devtools.command-button-errorcount.enabled", true);
2440 #ifndef MOZILLA_OFFICIAL
2441   pref("devtools.command-button-experimental-prefs.enabled", true);
2442 #endif
2444 // Inspector preferences
2445 // Enable the Inspector
2446 pref("devtools.inspector.enabled", true);
2447 // What was the last active sidebar in the inspector
2448 pref("devtools.inspector.selectedSidebar", "layoutview");
2449 pref("devtools.inspector.activeSidebar", "layoutview");
2450 pref("devtools.inspector.remote", false);
2452 // Enable the 3 pane mode in the inspector
2453 pref("devtools.inspector.three-pane-enabled", true);
2454 // Enable the 3 pane mode in the chrome inspector
2455 pref("devtools.inspector.chrome.three-pane-enabled", false);
2456 // Collapse pseudo-elements by default in the rule-view
2457 pref("devtools.inspector.show_pseudo_elements", false);
2458 // The default size for image preview tooltips in the rule-view/computed-view/markup-view
2459 pref("devtools.inspector.imagePreviewTooltipSize", 300);
2460 // Enable user agent style inspection in rule-view
2461 pref("devtools.inspector.showUserAgentStyles", false);
2462 // Show native anonymous content and user agent shadow roots
2463 pref("devtools.inspector.showAllAnonymousContent", false);
2464 // Enable the compatibility tool in the inspector.
2465 pref("devtools.inspector.compatibility.enabled", true);
2466 // Enable overflow debugging in the inspector.
2467 pref("devtools.overflow.debugging.enabled", true);
2468 // Enable drag to edit properties in the inspector rule view.
2469 pref("devtools.inspector.draggable_properties", true);
2471 // Grid highlighter preferences
2472 pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
2473 pref("devtools.gridinspector.gridOutlineMaxRows", 50);
2474 pref("devtools.gridinspector.showGridAreas", false);
2475 pref("devtools.gridinspector.showGridLineNumbers", false);
2476 pref("devtools.gridinspector.showInfiniteLines", false);
2477 // Max number of grid highlighters that can be displayed
2478 pref("devtools.gridinspector.maxHighlighters", 3);
2480 // Whether or not simplified highlighters should be used when
2481 // prefers-reduced-motion is enabled.
2482 pref("devtools.inspector.simple-highlighters-reduced-motion", false);
2484 // Whether or not the box model panel is opened in the layout view
2485 pref("devtools.layout.boxmodel.opened", true);
2486 // Whether or not the flexbox panel is opened in the layout view
2487 pref("devtools.layout.flexbox.opened", true);
2488 // Whether or not the flexbox container panel is opened in the layout view
2489 pref("devtools.layout.flex-container.opened", true);
2490 // Whether or not the flexbox item panel is opened in the layout view
2491 pref("devtools.layout.flex-item.opened", true);
2492 // Whether or not the grid inspector panel is opened in the layout view
2493 pref("devtools.layout.grid.opened", true);
2495 // Enable hovering Box Model values and jumping to their source CSS rule in the
2496 // rule-view.
2497 #if defined(NIGHTLY_BUILD)
2498   pref("devtools.layout.boxmodel.highlightProperty", true);
2499 #else
2500   pref("devtools.layout.boxmodel.highlightProperty", false);
2501 #endif
2503 // By how many times eyedropper will magnify pixels
2504 pref("devtools.eyedropper.zoom", 6);
2506 // Enable to collapse attributes that are too long.
2507 pref("devtools.markup.collapseAttributes", true);
2508 // Length to collapse attributes
2509 pref("devtools.markup.collapseAttributeLength", 120);
2510 // Whether to auto-beautify the HTML on copy.
2511 pref("devtools.markup.beautifyOnCopy", false);
2513 // DevTools default color unit
2514 pref("devtools.defaultColorUnit", "authored");
2516 // Enable the Memory tools
2517 pref("devtools.memory.enabled", true);
2519 pref("devtools.memory.custom-census-displays", "{}");
2520 pref("devtools.memory.custom-label-displays", "{}");
2521 pref("devtools.memory.custom-tree-map-displays", "{}");
2523 pref("devtools.memory.max-individuals", 1000);
2524 pref("devtools.memory.max-retaining-paths", 10);
2526 // Enable the Performance tools
2527 pref("devtools.performance.enabled", true);
2529 // The default cache UI setting
2530 pref("devtools.cache.disabled", false);
2532 // The default service workers UI setting
2533 pref("devtools.serviceWorkers.testing.enabled", false);
2535 // Enable the Network Monitor
2536 pref("devtools.netmonitor.enabled", true);
2538 pref("devtools.netmonitor.features.search", true);
2539 pref("devtools.netmonitor.features.requestBlocking", true);
2541 // Enable the Application panel
2542 pref("devtools.application.enabled", true);
2544 // Enable the custom formatters feature
2545 // This preference represents the user's choice to enable the custom formatters feature.
2546 // While the preference above will be removed once the feature is stable, this one is menat to stay.
2547 pref("devtools.custom-formatters.enabled", false);
2549 // The default Network Monitor UI settings
2550 pref("devtools.netmonitor.panes-network-details-width", 550);
2551 pref("devtools.netmonitor.panes-network-details-height", 450);
2552 pref("devtools.netmonitor.panes-search-width", 550);
2553 pref("devtools.netmonitor.panes-search-height", 450);
2554 pref("devtools.netmonitor.filters", "[\"all\"]");
2555 pref("devtools.netmonitor.visibleColumns",
2556     "[\"status\",\"method\",\"domain\",\"file\",\"initiator\",\"type\",\"transferred\",\"contentSize\",\"waterfall\"]"
2558 pref("devtools.netmonitor.columnsData",
2559   '[{"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}]');
2560 pref("devtools.netmonitor.msg.payload-preview-height", 128);
2561 pref("devtools.netmonitor.msg.visibleColumns",
2562   '["data", "time"]'
2564 pref("devtools.netmonitor.msg.displayed-messages.limit", 500);
2566 pref("devtools.netmonitor.response.ui.limit", 10240);
2568 // Save request/response bodies yes/no.
2569 pref("devtools.netmonitor.saveRequestAndResponseBodies", true);
2571 // The default Network monitor HAR export setting
2572 pref("devtools.netmonitor.har.defaultLogDir", "");
2573 pref("devtools.netmonitor.har.defaultFileName", "%hostname_Archive [%date]");
2574 pref("devtools.netmonitor.har.jsonp", false);
2575 pref("devtools.netmonitor.har.jsonpCallback", "");
2576 pref("devtools.netmonitor.har.includeResponseBodies", true);
2577 pref("devtools.netmonitor.har.compress", false);
2578 pref("devtools.netmonitor.har.forceExport", false);
2579 pref("devtools.netmonitor.har.pageLoadedTimeout", 1500);
2580 pref("devtools.netmonitor.har.enableAutoExportToFile", false);
2581 pref("devtools.netmonitor.har.multiple-pages", false);
2583 // netmonitor audit
2584 pref("devtools.netmonitor.audits.slow", 500);
2586 // Enable the new Edit and Resend panel
2587   pref("devtools.netmonitor.features.newEditAndResend", true);
2589 pref("devtools.netmonitor.customRequest", '{}');
2591 // Enable the Storage Inspector
2592 pref("devtools.storage.enabled", true);
2594 // Enable the Style Editor.
2595 pref("devtools.styleeditor.enabled", true);
2596 pref("devtools.styleeditor.autocompletion-enabled", true);
2597 pref("devtools.styleeditor.showAtRulesSidebar", true);
2598 pref("devtools.styleeditor.atRulesSidebarWidth", 238);
2599 pref("devtools.styleeditor.navSidebarWidth", 245);
2600 pref("devtools.styleeditor.transitions", true);
2602 // Screenshot Option Settings.
2603 pref("devtools.screenshot.clipboard.enabled", false);
2604 pref("devtools.screenshot.audio.enabled", true);
2606 // Make sure the DOM panel is hidden by default
2607 pref("devtools.dom.enabled", false);
2609 // Enable the Accessibility panel.
2610 pref("devtools.accessibility.enabled", true);
2612 // Web console filters
2613 pref("devtools.webconsole.filter.error", true);
2614 pref("devtools.webconsole.filter.warn", true);
2615 pref("devtools.webconsole.filter.info", true);
2616 pref("devtools.webconsole.filter.log", true);
2617 pref("devtools.webconsole.filter.debug", true);
2618 pref("devtools.webconsole.filter.css", false);
2619 pref("devtools.webconsole.filter.net", false);
2620 pref("devtools.webconsole.filter.netxhr", false);
2622 // Webconsole autocomplete preference
2623 pref("devtools.webconsole.input.autocomplete",true);
2625 // Show context selector in console input
2626 pref("devtools.webconsole.input.context", true);
2628 // Set to true to eagerly show the results of webconsole terminal evaluations
2629 // when they don't have side effects.
2630 pref("devtools.webconsole.input.eagerEvaluation", true);
2632 // Browser console filters
2633 pref("devtools.browserconsole.filter.error", true);
2634 pref("devtools.browserconsole.filter.warn", true);
2635 pref("devtools.browserconsole.filter.info", true);
2636 pref("devtools.browserconsole.filter.log", true);
2637 pref("devtools.browserconsole.filter.debug", true);
2638 pref("devtools.browserconsole.filter.css", false);
2639 pref("devtools.browserconsole.filter.net", false);
2640 pref("devtools.browserconsole.filter.netxhr", false);
2642 // Max number of inputs to store in web console history.
2643 pref("devtools.webconsole.inputHistoryCount", 300);
2645 // Persistent logging: |true| if you want the relevant tool to keep all of the
2646 // logged messages after reloading the page, |false| if you want the output to
2647 // be cleared each time page navigation happens.
2648 pref("devtools.webconsole.persistlog", false);
2649 pref("devtools.netmonitor.persistlog", false);
2651 // Web Console timestamp: |true| if you want the logs and instructions
2652 // in the Web Console to display a timestamp, or |false| to not display
2653 // any timestamps.
2654 pref("devtools.webconsole.timestampMessages", false);
2656 // Enable the webconsole sidebar toggle in Nightly builds.
2657 #if defined(NIGHTLY_BUILD)
2658   pref("devtools.webconsole.sidebarToggle", true);
2659 #else
2660   pref("devtools.webconsole.sidebarToggle", false);
2661 #endif
2663 // Saved editor mode state in the console.
2664 pref("devtools.webconsole.input.editor", false);
2665 pref("devtools.browserconsole.input.editor", false);
2667 // Editor width for webconsole and browserconsole.
2668 pref("devtools.webconsole.input.editorWidth", 0);
2669 pref("devtools.browserconsole.input.editorWidth", 0);
2671 // Display an onboarding UI for the Editor mode.
2672 pref("devtools.webconsole.input.editorOnboarding", true);
2674 // Enable message grouping in the console, true by default
2675 pref("devtools.webconsole.groupWarningMessages", true);
2677 // Enable network monitoring the browser toolbox console/browser console.
2678 pref("devtools.browserconsole.enableNetworkMonitoring", false);
2680 // Enable client-side mapping service for source maps
2681 pref("devtools.source-map.client-service.enabled", true);
2683 // The number of lines that are displayed in the web console.
2684 pref("devtools.hud.loglimit", 10000);
2686 // The developer tools editor configuration:
2687 // - tabsize: how many spaces to use when a Tab character is displayed.
2688 // - expandtab: expand Tab characters to spaces.
2689 // - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
2690 // - autoclosebrackets: whether to permit automatic bracket/quote closing.
2691 // - detectindentation: whether to detect the indentation from the file
2692 // - enableCodeFolding: Whether to enable code folding or not.
2693 pref("devtools.editor.tabsize", 2);
2694 pref("devtools.editor.expandtab", true);
2695 pref("devtools.editor.keymap", "default");
2696 pref("devtools.editor.autoclosebrackets", true);
2697 pref("devtools.editor.detectindentation", true);
2698 pref("devtools.editor.enableCodeFolding", true);
2699 pref("devtools.editor.autocomplete", true);
2701 // The angle of the viewport.
2702 pref("devtools.responsive.viewport.angle", 0);
2703 // The width of the viewport.
2704 pref("devtools.responsive.viewport.width", 320);
2705 // The height of the viewport.
2706 pref("devtools.responsive.viewport.height", 480);
2707 // The pixel ratio of the viewport.
2708 pref("devtools.responsive.viewport.pixelRatio", 0);
2709 // Whether or not the viewports are left aligned.
2710 pref("devtools.responsive.leftAlignViewport.enabled", false);
2711 // Whether to reload when touch simulation is toggled
2712 pref("devtools.responsive.reloadConditions.touchSimulation", false);
2713 // Whether to reload when user agent is changed
2714 pref("devtools.responsive.reloadConditions.userAgent", false);
2715 // Whether to show the notification about reloading to apply emulation
2716 pref("devtools.responsive.reloadNotification.enabled", true);
2717 // Whether or not touch simulation is enabled.
2718 pref("devtools.responsive.touchSimulation.enabled", false);
2719 // The user agent of the viewport.
2720 pref("devtools.responsive.userAgent", "");
2721 // Show the custom user agent input by default
2722 pref("devtools.responsive.showUserAgentInput", true);
2724 // Show tab debug targets for This Firefox (on by default for local builds).
2725 #ifdef MOZILLA_OFFICIAL
2726   pref("devtools.aboutdebugging.local-tab-debugging", false);
2727 #else
2728   pref("devtools.aboutdebugging.local-tab-debugging", true);
2729 #endif
2731 // Show process debug targets.
2732 pref("devtools.aboutdebugging.process-debugging", true);
2733 // Stringified array of network locations that users can connect to.
2734 pref("devtools.aboutdebugging.network-locations", "[]");
2735 // Debug target pane collapse/expand settings.
2736 pref("devtools.aboutdebugging.collapsibilities.installedExtension", false);
2737 pref("devtools.aboutdebugging.collapsibilities.otherWorker", false);
2738 pref("devtools.aboutdebugging.collapsibilities.serviceWorker", false);
2739 pref("devtools.aboutdebugging.collapsibilities.sharedWorker", false);
2740 pref("devtools.aboutdebugging.collapsibilities.tab", false);
2741 pref("devtools.aboutdebugging.collapsibilities.temporaryExtension", false);
2743 // about:debugging: only show system and hidden extensions in local builds by
2744 // default.
2745 #ifdef MOZILLA_OFFICIAL
2746   pref("devtools.aboutdebugging.showHiddenAddons", false);
2747 #else
2748   pref("devtools.aboutdebugging.showHiddenAddons", true);
2749 #endif
2751 // Map top-level await expressions in the console
2752 pref("devtools.debugger.features.map-await-expression", true);
2754 // This relies on javascript.options.asyncstack as well or it has no effect.
2755 pref("devtools.debugger.features.async-captured-stacks", true);
2756 pref("devtools.debugger.features.async-live-stacks", false);
2757 pref("devtools.debugger.hide-ignored-sources", false);
2759 // Disable autohide for DevTools popups and tooltips.
2760 // This is currently not exposed by any UI to avoid making
2761 // about:devtools-toolbox tabs unusable by mistake.
2762 pref("devtools.popup.disable_autohide", false);
2764 // FirstStartup service time-out in ms
2765 pref("first-startup.timeout", 30000);
2767 // Enable the default browser agent.
2768 // The agent still runs as scheduled if this pref is disabled,
2769 // but it exits immediately before taking any action.
2770 #ifdef XP_WIN
2771   pref("default-browser-agent.enabled", true);
2772 #endif
2774 // Test Prefs that do nothing for testing
2775 #if defined(EARLY_BETA_OR_EARLIER)
2776   pref("app.normandy.test-prefs.bool", false);
2777   pref("app.normandy.test-prefs.integer", 0);
2778   pref("app.normandy.test-prefs.string", "");
2779 #endif
2781 // Shows 'View Image Info' item in the image context menu
2782 #ifdef MOZ_DEV_EDITION
2783   pref("browser.menu.showViewImageInfo", true);
2784 #else
2785   pref("browser.menu.showViewImageInfo", false);
2786 #endif
2788 // Handing URLs to external apps via the "Share URL" menu item could allow a proxy bypass
2789 #ifdef MOZ_PROXY_BYPASS_PROTECTION
2790   pref("browser.menu.share_url.allow", false);
2791 #endif
2793 // Mozilla-controlled domains that are allowed to use non-standard
2794 // context properties for SVG images for use in the browser UI. Please
2795 // keep this list short. This preference (and SVG `context-` keyword support)
2796 // are expected to go away once a standardized alternative becomes
2797 // available.
2798 pref("svg.context-properties.content.allowed-domains", "profile.accounts.firefox.com,profile.stage.mozaws.net");
2800 // Preference that allows individual users to disable Firefox Translations.
2801 #ifdef NIGHTLY_BUILD
2802   pref("extensions.translations.disabled", true);
2803 #endif
2805 // Turn on interaction measurements
2806 pref("browser.places.interactions.enabled", true);
2808 // If the user has seen the Firefox View feature tour this value reflects
2809 // the id of the last screen they saw and whether they completed the tour
2810 pref("browser.firefox-view.feature-tour", "{\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}");
2811 // Number of times the user visited about:firefoxview
2812 pref("browser.firefox-view.view-count", 0);
2813 // Maximum number of rows to show on the "History" page.
2814 pref("browser.firefox-view.max-history-rows", 300);
2816 // If the user has seen the pdf.js feature tour this value reflects the tour
2817 // message id, the id of the last screen they saw, and whether they completed the tour
2818 pref("browser.pdfjs.feature-tour", "{\"screen\":\"\",\"complete\":false}");
2820 // Enables cookie banner handling in Nightly in Private Browsing Mode. See
2821 // StaticPrefList.yaml for a description of the prefs.
2822 #ifdef NIGHTLY_BUILD
2823   pref("cookiebanners.service.mode.privateBrowsing", 1);
2824   pref("cookiebanners.service.enableGlobalRules", true);
2825 #endif
2827 #if defined(EARLY_BETA_OR_EARLIER)
2828   // Enables the cookie banner desktop UI.
2829   pref("cookiebanners.ui.desktop.enabled", true);
2830 #else
2831   pref("cookiebanners.ui.desktop.enabled", false);
2832 #endif
2834 // Controls which variant of the cookie banner CFR the user is presented with.
2835 pref("cookiebanners.ui.desktop.cfrVariant", 0);
2837 // Parameters for the swipe-to-navigation icon.
2839 // `navigation-icon-{start|end}-position` is the start or the end position of
2840 // the icon movement in response to the user's swipe gesture. `0` means the icon
2841 // positions at the left edge of the browser window. For example on Mac, when
2842 // the user started swipe gesture left to right, the icon appears at a point
2843 // where left side 20px of the icon is outside of the browser window's view.
2845 // `navigation-icon-{min|max}-radius` is the minimum or the maximum radius of
2846 // the icon's outer circle size in response to the user's swipe gesture.  `-1`
2847 // means that the circle radius never changes.
2848 #ifdef XP_MACOSX
2849   pref("browser.swipe.navigation-icon-start-position", -20);
2850   pref("browser.swipe.navigation-icon-end-position", 0);
2851   pref("browser.swipe.navigation-icon-min-radius", -1);
2852   pref("browser.swipe.navigation-icon-max-radius", -1);
2853 #else
2854   pref("browser.swipe.navigation-icon-start-position", -40);
2855   pref("browser.swipe.navigation-icon-end-position", 60);
2856   pref("browser.swipe.navigation-icon-min-radius", 12);
2857   pref("browser.swipe.navigation-icon-max-radius", 20);
2858 #endif
2860 // Trigger FOG's Artifact Build support on artifact builds.
2861 #ifdef MOZ_ARTIFACT_BUILDS
2862   pref("telemetry.fog.artifact_build", true);
2863 #endif
2865 #ifdef NIGHTLY_BUILD
2866   pref("dom.security.credentialmanagement.identity.enabled", true);
2867 #endif
2869 // Reset Private Browsing Session feature
2870 #if defined(NIGHTLY_BUILD)
2871   pref("browser.privatebrowsing.resetPBM.enabled", true);
2872 #else
2873   pref("browser.privatebrowsing.resetPBM.enabled", false);
2874 #endif
2875 // Whether the reset private browsing panel should ask for confirmation before
2876 // performing the clear action.
2877 pref("browser.privatebrowsing.resetPBM.showConfirmationDialog", true);
2879 // bug 1858545: Temporary pref to enable a staged rollout of macOS attribution Telemetry
2880 #ifdef XP_MACOSX
2881   pref("browser.attribution.macos.enabled", false);
2882 #endif