michael@0: # -*- Mode: JavaScript; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: // XXX Toolkit-specific preferences should be moved into toolkit.js michael@0: michael@0: #filter substitution michael@0: michael@0: # michael@0: # SYNTAX HINTS: michael@0: # michael@0: # - Dashes are delimiters; use underscores instead. michael@0: # - The first character after a period must be alphabetic. michael@0: # - Computed values (e.g. 50 * 1024) don't work. michael@0: # michael@0: michael@0: #ifdef XP_UNIX michael@0: #ifndef XP_MACOSX michael@0: #define UNIX_BUT_NOT_MAC michael@0: #endif michael@0: #endif michael@0: michael@0: pref("browser.chromeURL","chrome://browser/content/"); michael@0: pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul"); michael@0: michael@0: // Enables some extra Extension System Logging (can reduce performance) michael@0: pref("extensions.logging.enabled", false); michael@0: michael@0: // Disables strict compatibility, making addons compatible-by-default. michael@0: pref("extensions.strictCompatibility", false); michael@0: michael@0: // Specifies a minimum maxVersion an addon needs to say it's compatible with michael@0: // for it to be compatible by default. michael@0: pref("extensions.minCompatibleAppVersion", "4.0"); michael@0: // Temporary preference to forcibly make themes more safe with Australis even if michael@0: // extensions.checkCompatibility=false has been set. michael@0: pref("extensions.checkCompatibility.temporaryThemeOverride_minAppVersion", "29.0a1"); michael@0: michael@0: // Preferences for AMO integration michael@0: pref("extensions.getAddons.cache.enabled", true); michael@0: pref("extensions.getAddons.maxResults", 15); michael@0: pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%"); michael@0: pref("extensions.getAddons.getWithPerformance.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%&tMain=%TIME_MAIN%&tFirstPaint=%TIME_FIRST_PAINT%&tSessionRestored=%TIME_SESSION_RESTORED%"); michael@0: pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%"); michael@0: pref("extensions.getAddons.search.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/%TERMS%/all/%MAX_RESULTS%/%OS%/%VERSION%/%COMPATIBILITY_MODE%?src=firefox"); michael@0: pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%"); michael@0: pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=firefox"); michael@0: michael@0: // Blocklist preferences michael@0: pref("extensions.blocklist.enabled", true); michael@0: pref("extensions.blocklist.interval", 86400); michael@0: // Controls what level the blocklist switches from warning about items to forcibly michael@0: // blocking them. michael@0: pref("extensions.blocklist.level", 2); michael@0: pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/"); michael@0: pref("extensions.blocklist.detailsURL", "https://www.mozilla.org/%LOCALE%/blocklist/"); michael@0: pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%"); michael@0: michael@0: pref("extensions.update.autoUpdateDefault", true); michael@0: michael@0: pref("extensions.hotfix.id", "firefox-hotfix@mozilla.org"); michael@0: pref("extensions.hotfix.cert.checkAttributes", true); michael@0: pref("extensions.hotfix.certs.1.sha1Fingerprint", "91:53:98:0C:C1:86:DF:47:8F:35:22:9E:11:C9:A7:31:04:49:A1:AA"); michael@0: michael@0: // Disable add-ons that are not installed by the user in all scopes by default. michael@0: // See the SCOPE constants in AddonManager.jsm for values to use here. michael@0: pref("extensions.autoDisableScopes", 15); michael@0: michael@0: // Dictionary download preference michael@0: pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/"); michael@0: michael@0: // At startup, should we check to see if the installation michael@0: // date is older than some threshold michael@0: pref("app.update.checkInstallTime", true); michael@0: michael@0: // The number of days a binary is permitted to be old without checking is defined in michael@0: // firefox-branding.js (app.update.checkInstallTime.days) michael@0: michael@0: // The minimum delay in seconds for the timer to fire. michael@0: // default=2 minutes michael@0: pref("app.update.timerMinimumDelay", 120); michael@0: michael@0: // App-specific update preferences michael@0: michael@0: // The interval to check for updates (app.update.interval) is defined in michael@0: // firefox-branding.js michael@0: michael@0: // Alternative windowtype for an application update user interface window. When michael@0: // a window with this windowtype is open the application update service won't michael@0: // open the normal application update user interface window. michael@0: pref("app.update.altwindowtype", "Browser:About"); michael@0: michael@0: // Enables some extra Application Update Logging (can reduce performance) michael@0: pref("app.update.log", false); michael@0: michael@0: // The number of general background check failures to allow before notifying the michael@0: // user of the failure. User initiated update checks always notify the user of michael@0: // the failure. michael@0: pref("app.update.backgroundMaxErrors", 10); michael@0: michael@0: // When |app.update.cert.requireBuiltIn| is true or not specified the michael@0: // final certificate and all certificates the connection is redirected to before michael@0: // the final certificate for the url specified in the |app.update.url| michael@0: // preference must be built-in. michael@0: pref("app.update.cert.requireBuiltIn", true); michael@0: michael@0: // When |app.update.cert.checkAttributes| is true or not specified the michael@0: // certificate attributes specified in the |app.update.certs.| preference branch michael@0: // are checked against the certificate for the url specified by the michael@0: // |app.update.url| preference. michael@0: pref("app.update.cert.checkAttributes", true); michael@0: michael@0: // The number of certificate attribute check failures to allow for background michael@0: // update checks before notifying the user of the failure. User initiated update michael@0: // checks always notify the user of the certificate attribute check failure. michael@0: pref("app.update.cert.maxErrors", 5); michael@0: michael@0: // The |app.update.certs.| preference branch contains branches that are michael@0: // sequentially numbered starting at 1 that contain attribute name / value michael@0: // pairs for the certificate used by the server that hosts the update xml file michael@0: // as specified in the |app.update.url| preference. When these preferences are michael@0: // present the following conditions apply for a successful update check: michael@0: // 1. the uri scheme must be https michael@0: // 2. the preference name must exist as an attribute name on the certificate and michael@0: // the value for the name must be the same as the value for the attribute name michael@0: // on the certificate. michael@0: // If these conditions aren't met it will be treated the same as when there is michael@0: // no update available. This validation will not be performed when the michael@0: // |app.update.url.override| user preference has been set for testing updates or michael@0: // when the |app.update.cert.checkAttributes| preference is set to false. Also, michael@0: // the |app.update.url.override| preference should ONLY be used for testing. michael@0: // IMPORTANT! metro.js should also be updated for updates to certs.X.issuerName michael@0: michael@0: pref("app.update.certs.1.issuerName", "CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US"); michael@0: pref("app.update.certs.1.commonName", "*.torproject.org"); michael@0: michael@0: // Whether or not app updates are enabled michael@0: pref("app.update.enabled", true); michael@0: michael@0: // This preference turns on app.update.mode and allows automatic download and michael@0: // install to take place. We use a separate boolean toggle for this to make michael@0: // the UI easier to construct. michael@0: pref("app.update.auto", true); michael@0: michael@0: // See chart in nsUpdateService.js source for more details michael@0: // incompatibilities are ignored by updates in Metro michael@0: pref("app.update.mode", 1); michael@0: michael@0: #ifdef XP_WIN michael@0: #ifdef MOZ_METRO michael@0: // Enables update checking in the Metro environment. michael@0: // add-on incompatibilities are ignored by updates in Metro. michael@0: pref("app.update.metro.enabled", true); michael@0: #endif michael@0: #endif michael@0: michael@0: // If set to true, the Update Service will present no UI for any event. michael@0: pref("app.update.silent", false); michael@0: michael@0: // If set to true, the Update Service will apply updates in the background michael@0: // when it finishes downloading them. michael@0: pref("app.update.staging.enabled", true); michael@0: michael@0: // Update service URL: michael@0: pref("app.update.url", "https://www.torproject.org/dist/torbrowser/update_2/%CHANNEL%/%BUILD_TARGET%/%VERSION%/%LOCALE%"); michael@0: // app.update.url.manual is in branding section michael@0: // app.update.url.details is in branding section michael@0: michael@0: // User-settable override to app.update.url for testing purposes. michael@0: //pref("app.update.url.override", ""); michael@0: michael@0: // app.update.interval is in branding section michael@0: // app.update.promptWaitTime is in branding section michael@0: michael@0: // Show the Update Checking/Ready UI when the user was idle for x seconds michael@0: pref("app.update.idletime", 60); michael@0: michael@0: // Whether or not we show a dialog box informing the user that the update was michael@0: // successfully applied. This is off in Firefox by default since we show a michael@0: // upgrade start page instead! Other apps may wish to show this UI, and supply michael@0: // a whatsNewURL field in their brand.properties that contains a link to a page michael@0: // which tells users what's new in this new update. michael@0: pref("app.update.showInstalledUI", true); michael@0: michael@0: // 0 = suppress prompting for incompatibilities if there are updates available michael@0: // to newer versions of installed addons that resolve them. michael@0: // 1 = suppress prompting for incompatibilities only if there are VersionInfo michael@0: // updates available to installed addons that resolve them, not newer michael@0: // versions. michael@0: pref("app.update.incompatible.mode", 0); michael@0: michael@0: // Whether or not to attempt using the service for updates. michael@0: #ifdef MOZ_MAINTENANCE_SERVICE michael@0: pref("app.update.service.enabled", true); michael@0: #endif michael@0: michael@0: // Symmetric (can be overridden by individual extensions) update preferences. michael@0: // e.g. michael@0: // extensions.{GUID}.update.enabled michael@0: // extensions.{GUID}.update.url michael@0: // .. etc .. michael@0: // michael@0: pref("extensions.update.enabled", true); michael@0: pref("extensions.update.url", "https://versioncheck.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); michael@0: pref("extensions.update.background.url", "https://versioncheck-bg.addons.mozilla.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%¤tAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%"); michael@0: pref("extensions.update.interval", 86400); // Check for updates to Extensions and michael@0: // Themes every day michael@0: // Non-symmetric (not shared by extensions) extension-specific [update] preferences michael@0: pref("extensions.dss.enabled", false); // Dynamic Skin Switching michael@0: pref("extensions.dss.switchPending", false); // Non-dynamic switch pending after next michael@0: // restart. michael@0: michael@0: pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://browser/locale/browser.properties"); michael@0: pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.description", "chrome://browser/locale/browser.properties"); michael@0: michael@0: pref("xpinstall.whitelist.add", "addons.mozilla.org"); michael@0: pref("xpinstall.whitelist.add.180", "marketplace.firefox.com"); michael@0: michael@0: pref("lightweightThemes.update.enabled", true); michael@0: michael@0: // UI tour experience. michael@0: pref("browser.uitour.enabled", true); michael@0: pref("browser.uitour.requireSecure", true); michael@0: pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/"); michael@0: pref("browser.uitour.pinnedTabUrl", "https://support.mozilla.org/%LOCALE%/kb/pinned-tabs-keep-favorite-websites-open"); michael@0: pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/"); michael@0: pref("browser.uitour.whitelist.add.260", "www.mozilla.org,support.mozilla.org"); michael@0: michael@0: pref("browser.customizemode.tip0.shown", false); michael@0: pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize"); michael@0: michael@0: pref("keyword.enabled", true); michael@0: michael@0: pref("general.useragent.locale", "@AB_CD@"); michael@0: pref("general.skins.selectedSkin", "classic/1.0"); michael@0: michael@0: pref("general.smoothScroll", true); michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("general.autoScroll", false); michael@0: #else michael@0: pref("general.autoScroll", true); michael@0: #endif michael@0: michael@0: // At startup, check if we're the default browser and prompt user if not. michael@0: pref("browser.shell.checkDefaultBrowser", true); michael@0: pref("browser.shell.shortcutFavicons",true); michael@0: michael@0: // 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session michael@0: // The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore michael@0: pref("browser.startup.page", 1); michael@0: pref("browser.startup.homepage", "chrome://branding/locale/browserconfig.properties"); michael@0: michael@0: pref("browser.slowStartup.notificationDisabled", false); michael@0: pref("browser.slowStartup.timeThreshold", 50000); michael@0: pref("browser.slowStartup.maxSamples", 5); michael@0: michael@0: // This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into michael@0: // 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 michael@0: // repackager of this code using an alternate snippet url, please keep your users safe michael@0: pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/"); michael@0: michael@0: pref("browser.enable_automatic_image_resizing", true); michael@0: pref("browser.chrome.site_icons", true); michael@0: pref("browser.chrome.favicons", true); michael@0: // browser.warnOnQuit == false will override all other possible prompts when quitting or restarting michael@0: pref("browser.warnOnQuit", true); michael@0: // browser.showQuitWarning specifically controls the quit warning dialog. We michael@0: // might still show the window closing dialog with showQuitWarning == false. michael@0: pref("browser.showQuitWarning", false); michael@0: pref("browser.fullscreen.autohide", true); michael@0: pref("browser.fullscreen.animateUp", 1); michael@0: pref("browser.overlink-delay", 80); michael@0: michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("browser.urlbar.clickSelectsAll", false); michael@0: #else michael@0: pref("browser.urlbar.clickSelectsAll", true); michael@0: #endif michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("browser.urlbar.doubleClickSelectsAll", true); michael@0: #else michael@0: pref("browser.urlbar.doubleClickSelectsAll", false); michael@0: #endif michael@0: pref("browser.urlbar.autoFill", true); michael@0: pref("browser.urlbar.autoFill.typed", true); michael@0: // 0: Match anywhere (e.g., middle of words) michael@0: // 1: Match on word boundaries and then try matching anywhere michael@0: // 2: Match only on word boundaries (e.g., after / or .) michael@0: // 3: Match at the beginning of the url or title michael@0: pref("browser.urlbar.matchBehavior", 1); michael@0: pref("browser.urlbar.filter.javascript", true); michael@0: michael@0: // the maximum number of results to show in autocomplete when doing richResults michael@0: pref("browser.urlbar.maxRichResults", 12); michael@0: // The amount of time (ms) to wait after the user has stopped typing michael@0: // before starting to perform autocomplete. 50 is the default set in michael@0: // autocomplete.xml. michael@0: pref("browser.urlbar.delay", 50); michael@0: michael@0: // The special characters below can be typed into the urlbar to either restrict michael@0: // the search to visited history, bookmarked, tagged pages; or force a match on michael@0: // just the title text or url. michael@0: pref("browser.urlbar.restrict.history", "^"); michael@0: pref("browser.urlbar.restrict.bookmark", "*"); michael@0: pref("browser.urlbar.restrict.tag", "+"); michael@0: pref("browser.urlbar.restrict.openpage", "%"); michael@0: pref("browser.urlbar.restrict.typed", "~"); michael@0: pref("browser.urlbar.match.title", "#"); michael@0: pref("browser.urlbar.match.url", "@"); michael@0: michael@0: // The default behavior for the urlbar can be configured to use any combination michael@0: // of the restrict or match filters with each additional filter restricting michael@0: // more (intersection). Add the following values to set the behavior as the michael@0: // default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed, michael@0: // 64: javascript, 128: tabs michael@0: // E.g., 0 = show all results (no filtering), 1 = only visited pages in history, michael@0: // 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url michael@0: pref("browser.urlbar.default.behavior", 0); michael@0: michael@0: pref("browser.urlbar.formatting.enabled", true); michael@0: pref("browser.urlbar.trimURLs", true); michael@0: michael@0: pref("browser.altClickSave", false); michael@0: michael@0: // Enable logging downloads operations to the Error Console. michael@0: pref("browser.download.debug", false); michael@0: michael@0: // Number of milliseconds to wait for the http headers (and thus michael@0: // the Content-Disposition filename) before giving up and falling back to michael@0: // picking a filename without that info in hand so that the user sees some michael@0: // feedback from their action. michael@0: pref("browser.download.saveLinkAsFilenameTimeout", 4000); michael@0: michael@0: pref("browser.download.useDownloadDir", true); michael@0: pref("browser.download.folderList", 1); michael@0: pref("browser.download.manager.addToRecentDocs", true); michael@0: pref("browser.download.manager.resumeOnWakeDelay", 10000); michael@0: michael@0: // This allows disabling the animated notifications shown by michael@0: // the Downloads Indicator when a download starts or completes. michael@0: pref("browser.download.animateNotifications", true); michael@0: michael@0: // This records whether or not the panel has been shown at least once. michael@0: pref("browser.download.panel.shown", false); michael@0: michael@0: #ifndef XP_MACOSX michael@0: pref("browser.helperApps.deleteTempFileOnExit", true); michael@0: #endif michael@0: michael@0: // search engines URL michael@0: pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/"); michael@0: michael@0: // pointer to the default engine name michael@0: pref("browser.search.defaultenginename", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // disable logging for the search service by default michael@0: pref("browser.search.log", false); michael@0: michael@0: // Ordering of Search Engines in the Engine list. michael@0: pref("browser.search.order.1", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.search.order.2", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.search.order.3", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // search bar results always open in a new tab michael@0: pref("browser.search.openintab", false); michael@0: michael@0: // context menu searches open in the foreground michael@0: pref("browser.search.context.loadInBackground", false); michael@0: michael@0: // send ping to the server to update michael@0: pref("browser.search.update", true); michael@0: michael@0: // disable logging for the search service update system by default michael@0: pref("browser.search.update.log", false); michael@0: michael@0: // Check whether we need to perform engine updates every 6 hours michael@0: pref("browser.search.update.interval", 21600); michael@0: michael@0: // enable search suggestions by default michael@0: pref("browser.search.suggest.enabled", true); michael@0: michael@0: #ifdef MOZ_OFFICIAL_BRANDING michael@0: // {moz:official} expands to "official" michael@0: pref("browser.search.official", true); michael@0: #endif michael@0: michael@0: pref("browser.sessionhistory.max_entries", 50); michael@0: michael@0: // handle links targeting new windows michael@0: // 1=current window/tab, 2=new window, 3=new tab in most recent window michael@0: pref("browser.link.open_newwindow", 3); michael@0: michael@0: // handle external links (i.e. links opened from a different application) michael@0: // default: use browser.link.open_newwindow michael@0: // 1-3: see browser.link.open_newwindow for interpretation michael@0: pref("browser.link.open_newwindow.override.external", -1); michael@0: michael@0: // 0: no restrictions - divert everything michael@0: // 1: don't divert window.open at all michael@0: // 2: don't divert window.open with features michael@0: pref("browser.link.open_newwindow.restriction", 2); michael@0: michael@0: // If true, this pref causes windows opened by window.open to be forced into new michael@0: // tabs (rather than potentially opening separate windows, depending on michael@0: // window.open arguments) when the browser is in fullscreen mode. michael@0: // We set this differently on Mac because the fullscreen implementation there is michael@0: // different. michael@0: #ifdef XP_MACOSX michael@0: pref("browser.link.open_newwindow.disabled_in_fullscreen", true); michael@0: #else michael@0: pref("browser.link.open_newwindow.disabled_in_fullscreen", false); michael@0: #endif michael@0: michael@0: // Tabbed browser michael@0: pref("browser.tabs.closeWindowWithLastTab", true); michael@0: pref("browser.tabs.insertRelatedAfterCurrent", true); michael@0: pref("browser.tabs.warnOnClose", true); michael@0: pref("browser.tabs.warnOnCloseOtherTabs", true); michael@0: pref("browser.tabs.warnOnOpen", true); michael@0: pref("browser.tabs.maxOpenBeforeWarn", 15); michael@0: pref("browser.tabs.loadInBackground", true); michael@0: pref("browser.tabs.opentabfor.middleclick", true); michael@0: pref("browser.tabs.loadDivertedInBackground", false); michael@0: pref("browser.tabs.loadBookmarksInBackground", false); michael@0: pref("browser.tabs.tabClipWidth", 140); michael@0: pref("browser.tabs.animate", true); michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("browser.tabs.drawInTitlebar", false); michael@0: #else michael@0: pref("browser.tabs.drawInTitlebar", true); michael@0: #endif michael@0: michael@0: // When tabs opened by links in other tabs via a combination of michael@0: // browser.link.open_newwindow being set to 3 and target="_blank" etc are michael@0: // closed: michael@0: // true return to the tab that opened this tab (its owner) michael@0: // false return to the adjacent tab (old default) michael@0: pref("browser.tabs.selectOwnerOnClose", true); michael@0: michael@0: pref("browser.ctrlTab.previews", false); michael@0: michael@0: // By default, do not export HTML at shutdown. michael@0: // If true, at shutdown the bookmarks in your menu and toolbar will michael@0: // be exported as HTML to the bookmarks.html file. michael@0: pref("browser.bookmarks.autoExportHTML", false); michael@0: michael@0: // The maximum number of daily bookmark backups to michael@0: // keep in {PROFILEDIR}/bookmarkbackups. Special values: michael@0: // -1: unlimited michael@0: // 0: no backups created (and deletes all existing backups) michael@0: pref("browser.bookmarks.max_backups", 15); michael@0: michael@0: // Scripts & Windows prefs michael@0: pref("dom.disable_open_during_load", true); michael@0: pref("javascript.options.showInConsole", true); michael@0: #ifdef DEBUG michael@0: pref("general.warnOnAboutConfig", false); michael@0: #endif michael@0: michael@0: // This is the pref to control the location bar, change this to true to michael@0: // force this - this makes the origin of popup windows more obvious to avoid michael@0: // spoofing. We would rather not do it by default because it affects UE for web michael@0: // applications, but without it there isn't a really good way to prevent chrome michael@0: // spoofing, see bug 337344 michael@0: pref("dom.disable_window_open_feature.location", true); michael@0: // prevent JS from setting status messages michael@0: pref("dom.disable_window_status_change", true); michael@0: // allow JS to move and resize existing windows michael@0: pref("dom.disable_window_move_resize", false); michael@0: // prevent JS from monkeying with window focus, etc michael@0: pref("dom.disable_window_flip", true); michael@0: michael@0: // Disable touch events on Desktop Firefox by default until they are properly michael@0: // supported (bug 736048) michael@0: pref("dom.w3c_touch_events.enabled", 0); michael@0: michael@0: // popups.policy 1=allow,2=reject michael@0: pref("privacy.popups.policy", 1); michael@0: pref("privacy.popups.usecustom", true); michael@0: pref("privacy.popups.showBrowserMessage", true); michael@0: michael@0: pref("privacy.item.cookies", false); michael@0: michael@0: pref("privacy.clearOnShutdown.history", true); michael@0: pref("privacy.clearOnShutdown.formdata", true); michael@0: pref("privacy.clearOnShutdown.passwords", false); michael@0: pref("privacy.clearOnShutdown.downloads", true); michael@0: pref("privacy.clearOnShutdown.cookies", true); michael@0: pref("privacy.clearOnShutdown.cache", true); michael@0: pref("privacy.clearOnShutdown.sessions", true); michael@0: pref("privacy.clearOnShutdown.offlineApps", false); michael@0: pref("privacy.clearOnShutdown.siteSettings", false); michael@0: michael@0: pref("privacy.cpd.history", true); michael@0: pref("privacy.cpd.formdata", true); michael@0: pref("privacy.cpd.passwords", false); michael@0: pref("privacy.cpd.downloads", true); michael@0: pref("privacy.cpd.cookies", true); michael@0: pref("privacy.cpd.cache", true); michael@0: pref("privacy.cpd.sessions", true); michael@0: pref("privacy.cpd.offlineApps", false); michael@0: pref("privacy.cpd.siteSettings", false); michael@0: michael@0: // What default should we use for the time span in the sanitizer: michael@0: // 0 - Clear everything michael@0: // 1 - Last Hour michael@0: // 2 - Last 2 Hours michael@0: // 3 - Last 4 Hours michael@0: // 4 - Today michael@0: pref("privacy.sanitize.timeSpan", 1); michael@0: pref("privacy.sanitize.sanitizeOnShutdown", false); michael@0: michael@0: pref("privacy.sanitize.migrateFx3Prefs", false); michael@0: michael@0: pref("network.proxy.share_proxy_settings", false); // use the same proxy settings for all protocols michael@0: michael@0: // The privacy.thirdparty.isolate pref determines whether michael@0: // an isolated DOM Storage map and image cache are michael@0: // maintained for each URL bar domain. michael@0: // 0 - No isolation michael@0: // 1 - Enable isolation in private windows michael@0: // 2 - Enable isolation everywhere michael@0: pref("privacy.thirdparty.isolate", 1); michael@0: michael@0: // simple gestures support michael@0: pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate"); michael@0: pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate"); michael@0: pref("browser.gesture.swipe.up", "cmd_scrollTop"); michael@0: pref("browser.gesture.swipe.down", "cmd_scrollBottom"); michael@0: #ifdef XP_MACOSX michael@0: pref("browser.gesture.pinch.latched", true); michael@0: pref("browser.gesture.pinch.threshold", 150); michael@0: #else michael@0: pref("browser.gesture.pinch.latched", false); michael@0: pref("browser.gesture.pinch.threshold", 25); michael@0: #endif michael@0: #ifdef XP_WIN michael@0: // Enabled for touch input display zoom. michael@0: pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge"); michael@0: pref("browser.gesture.pinch.in", "cmd_fullZoomReduce"); michael@0: pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset"); michael@0: pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset"); michael@0: #else michael@0: // Disabled by default due to issues with track pad input. michael@0: pref("browser.gesture.pinch.out", ""); michael@0: pref("browser.gesture.pinch.in", ""); michael@0: pref("browser.gesture.pinch.out.shift", ""); michael@0: pref("browser.gesture.pinch.in.shift", ""); michael@0: #endif michael@0: pref("browser.gesture.twist.latched", false); michael@0: pref("browser.gesture.twist.threshold", 0); michael@0: pref("browser.gesture.twist.right", "cmd_gestureRotateRight"); michael@0: pref("browser.gesture.twist.left", "cmd_gestureRotateLeft"); michael@0: pref("browser.gesture.twist.end", "cmd_gestureRotateEnd"); michael@0: pref("browser.gesture.tap", "cmd_fullZoomReset"); michael@0: michael@0: pref("browser.snapshots.limit", 0); michael@0: michael@0: // 0: Nothing happens michael@0: // 1: Scrolling contents michael@0: // 2: Go back or go forward, in your history michael@0: // 3: Zoom in or out. michael@0: #ifdef XP_MACOSX michael@0: // On OS X, if the wheel has one axis only, shift+wheel comes through as a michael@0: // horizontal scroll event. Thus, we can't assign anything other than normal michael@0: // scrolling to shift+wheel. michael@0: pref("mousewheel.with_alt.action", 2); michael@0: pref("mousewheel.with_shift.action", 1); michael@0: // On MacOS X, control+wheel is typically handled by system and we don't michael@0: // receive the event. So, command key which is the main modifier key for michael@0: // acceleration is the best modifier for zoom-in/out. However, we should keep michael@0: // the control key setting for backward compatibility. michael@0: pref("mousewheel.with_meta.action", 3); // command key on Mac michael@0: // Disable control-/meta-modified horizontal mousewheel events, since michael@0: // those are used on Mac as part of modified swipe gestures (e.g. michael@0: // Left swipe+Cmd = go back in a new tab). michael@0: pref("mousewheel.with_control.action.override_x", 0); michael@0: pref("mousewheel.with_meta.action.override_x", 0); michael@0: #else michael@0: pref("mousewheel.with_alt.action", 1); michael@0: pref("mousewheel.with_shift.action", 2); michael@0: pref("mousewheel.with_meta.action", 1); // win key on Win, Super/Hyper on Linux michael@0: #endif michael@0: pref("mousewheel.with_control.action",3); michael@0: pref("mousewheel.with_win.action", 1); michael@0: michael@0: pref("browser.xul.error_pages.enabled", true); michael@0: pref("browser.xul.error_pages.expert_bad_cert", false); michael@0: michael@0: // Work Offline is best manually managed by the user. michael@0: pref("network.manage-offline-status", false); michael@0: michael@0: // We want to make sure mail URLs are handled externally... michael@0: pref("network.protocol-handler.external.mailto", true); // for mail michael@0: pref("network.protocol-handler.external.news", true); // for news michael@0: pref("network.protocol-handler.external.snews", true); // for secure news michael@0: pref("network.protocol-handler.external.nntp", true); // also news michael@0: #ifdef XP_WIN michael@0: pref("network.protocol-handler.external.ms-windows-store", true); michael@0: #endif michael@0: michael@0: // ...without warning dialogs michael@0: pref("network.protocol-handler.warn-external.mailto", false); michael@0: pref("network.protocol-handler.warn-external.news", false); michael@0: pref("network.protocol-handler.warn-external.snews", false); michael@0: pref("network.protocol-handler.warn-external.nntp", false); michael@0: #ifdef XP_WIN michael@0: pref("network.protocol-handler.warn-external.ms-windows-store", false); michael@0: #endif michael@0: michael@0: // By default, all protocol handlers are exposed. This means that michael@0: // the browser will respond to openURL commands for all URL types. michael@0: // It will also try to open link clicks inside the browser before michael@0: // failing over to the system handlers. michael@0: pref("network.protocol-handler.expose-all", true); michael@0: pref("network.protocol-handler.expose.mailto", false); michael@0: pref("network.protocol-handler.expose.news", false); michael@0: pref("network.protocol-handler.expose.snews", false); michael@0: pref("network.protocol-handler.expose.nntp", false); michael@0: michael@0: pref("accessibility.typeaheadfind", false); michael@0: pref("accessibility.typeaheadfind.timeout", 5000); michael@0: pref("accessibility.typeaheadfind.linksonly", false); michael@0: pref("accessibility.typeaheadfind.flashBar", 1); michael@0: michael@0: // plugin finder service url michael@0: pref("pfs.datasource.url", "https://pfs.mozilla.org/plugins/PluginFinderService.php?mimetype=%PLUGIN_MIMETYPE%&appID=%APP_ID%&appVersion=%APP_VERSION%&clientOS=%CLIENT_OS%&chromeLocale=%CHROME_LOCALE%&appRelease=%APP_RELEASE%"); michael@0: michael@0: // by default we show an infobar message when pages require plugins that are blocked, or are outdated michael@0: pref("plugins.hide_infobar_for_blocked_plugin", false); michael@0: pref("plugins.hide_infobar_for_outdated_plugin", false); michael@0: michael@0: pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/"); michael@0: pref("plugins.update.notifyUser", false); michael@0: michael@0: pref("plugins.click_to_play", true); michael@0: michael@0: pref("plugins.hideMissingPluginsNotification", false); michael@0: michael@0: pref("plugin.default.state", 1); michael@0: michael@0: // Plugins bundled in XPIs are enabled by default. michael@0: pref("plugin.defaultXpi.state", 2); michael@0: michael@0: // Flash is enabled by default, and Java is click-to-activate by default on michael@0: // all channels. michael@0: pref("plugin.state.flash", 2); michael@0: pref("plugin.state.java", 1); michael@0: michael@0: // Whitelist Requests michael@0: michael@0: // Unity player, bug 979849 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npunity3d", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.unity web player", 2); michael@0: #endif michael@0: michael@0: // Cisco Jabber SDK, bug 980133 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npciscowebcommunicator", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.ciscowebcommunicator", 2); michael@0: #endif michael@0: michael@0: // McAfee Security Scanner detection plugin, bug 980772 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npmcafeemss", 2); michael@0: #endif michael@0: michael@0: // Cisco VGConnect for directv.com, bug 981403 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npplayerplugin", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.playerplugin", 2); michael@0: #endif michael@0: michael@0: // Cisco Jabber Client, bug 981905 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npchip", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.cisco jabber guest plug-in", 2); michael@0: #endif michael@0: michael@0: // Estonian ID-card plugin, bug 982045 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npesteid-firefox-plugin", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.esteidfirefoxplugin", 2); michael@0: #endif michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("plugin.state.npesteid-firefox-plugin", 2); michael@0: #endif michael@0: michael@0: // coupons.com, bug 984441 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npmozcouponprinter", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.couponprinter-firefox_v", 2); michael@0: #endif michael@0: michael@0: // Nexus Personal BankID, bug 987056 michael@0: pref("plugin.state.npbispbrowser", 2); michael@0: michael@0: // Gradecam, bug 988119 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npgcplugin", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.gcplugin", 2); michael@0: #endif michael@0: michael@0: // Smart Card Plugin, bug 988781 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npwebcard", 2); michael@0: #endif michael@0: michael@0: // Cisco WebEx, bug 989096 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npatgpc", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.webex", 2); michael@0: #endif michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("plugin.state.npatgpc", 2); michael@0: #endif michael@0: michael@0: // Skype, bug 990067 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npskypewebplugin", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.skypewebplugin", 2); michael@0: #endif michael@0: michael@0: // Facebook video calling, bug 990068 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npfacebookvideocalling", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.facebookvideocalling", 2); michael@0: #endif michael@0: michael@0: // MS Office Lync plugin, bug 990069 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npmeetingjoinpluginoc", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.lwaplugin", 2); michael@0: #endif michael@0: michael@0: // VidyoWeb, bug 990286 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npvidyoweb", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.npvidyoweb", 2); michael@0: pref("plugin.state.vidyoweb", 2); michael@0: #endif michael@0: michael@0: // McAfee Virtual Technician, bug 981503 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npmvtplugin", 2); michael@0: #endif michael@0: michael@0: // Verimatrix ViewRightWeb, bug 989872 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npviewright", 2); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.viewrightwebplayer", 2); michael@0: #endif michael@0: michael@0: // McAfee SiteAdvisor Enterprise, bug 987057 michael@0: #ifdef XP_WIN michael@0: pref("plugin.state.npmcffplg", 2); michael@0: #endif michael@0: michael@0: // F5 Networks SSLVPN plugin, bug 985640 michael@0: #ifdef XP_MACOSX michael@0: pref("plugin.state.f5 ssl vpn plugin", 2); michael@0: pref("plugin.state.f5 sam inspection host plugin", 2); michael@0: #endif michael@0: michael@0: // display door hanger if flash not installed michael@0: pref("plugins.notifyMissingFlash", true); michael@0: michael@0: #ifdef XP_WIN michael@0: pref("browser.preferences.instantApply", false); michael@0: #else michael@0: pref("browser.preferences.instantApply", true); michael@0: #endif michael@0: #ifdef XP_MACOSX michael@0: pref("browser.preferences.animateFadeIn", true); michael@0: #else michael@0: pref("browser.preferences.animateFadeIn", false); michael@0: #endif michael@0: michael@0: // Toggles between the two Preferences implementations, pop-up window and in-content michael@0: pref("browser.preferences.inContent", false); michael@0: michael@0: pref("browser.download.show_plugins_in_list", true); michael@0: pref("browser.download.hide_plugins_without_extensions", true); michael@0: michael@0: // Backspace and Shift+Backspace behavior michael@0: // 0 goes Back/Forward michael@0: // 1 act like PgUp/PgDown michael@0: // 2 and other values, nothing michael@0: #ifdef UNIX_BUT_NOT_MAC michael@0: pref("browser.backspace_action", 2); michael@0: #else michael@0: pref("browser.backspace_action", 0); michael@0: #endif michael@0: michael@0: // this will automatically enable inline spellchecking (if it is available) for michael@0: // editable elements in HTML michael@0: // 0 = spellcheck nothing michael@0: // 1 = check multi-line controls [default] michael@0: // 2 = check multi/single line controls michael@0: pref("layout.spellcheckDefault", 1); michael@0: michael@0: pref("browser.send_pings", false); michael@0: michael@0: /* initial web feed readers list */ michael@0: pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed"); michael@0: pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed"); michael@0: pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed"); michael@0: pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed"); michael@0: pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed"); michael@0: pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties"); michael@0: pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed"); michael@0: michael@0: pref("browser.feeds.handler", "ask"); michael@0: pref("browser.videoFeeds.handler", "ask"); michael@0: pref("browser.audioFeeds.handler", "ask"); michael@0: michael@0: // At startup, if the handler service notices that the version number in the michael@0: // region.properties file is newer than the version number in the handler michael@0: // service datastore, it will add any new handlers it finds in the prefs (as michael@0: // seeded by this file) to its datastore. michael@0: pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // The default set of web-based protocol handlers shown in the application michael@0: // selection dialog for webcal: ; I've arbitrarily picked 4 default handlers michael@0: // per protocol, but if some locale wants more than that (or defaults for some michael@0: // protocol not currently listed here), we should go ahead and add those. michael@0: michael@0: // webcal michael@0: pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // mailto michael@0: pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // irc michael@0: pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // ircs michael@0: pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties"); michael@0: pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties"); michael@0: michael@0: // By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287 michael@0: pref("gecko.handlerService.allowRegisterFromDifferentHost", false); michael@0: michael@0: #ifdef MOZ_SAFE_BROWSING michael@0: pref("browser.safebrowsing.enabled", true); michael@0: pref("browser.safebrowsing.malware.enabled", true); michael@0: pref("browser.safebrowsing.debug", false); michael@0: michael@0: pref("browser.safebrowsing.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2&key=%GOOGLE_API_KEY%"); michael@0: pref("browser.safebrowsing.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2"); michael@0: pref("browser.safebrowsing.reportURL", "https://safebrowsing.google.com/safebrowsing/report?"); michael@0: pref("browser.safebrowsing.reportGenericURL", "http://%LOCALE%.phish-generic.mozilla.com/?hl=%LOCALE%"); michael@0: pref("browser.safebrowsing.reportErrorURL", "http://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%"); michael@0: pref("browser.safebrowsing.reportPhishURL", "http://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%"); michael@0: pref("browser.safebrowsing.reportMalwareURL", "http://%LOCALE%.malware-report.mozilla.com/?hl=%LOCALE%"); michael@0: pref("browser.safebrowsing.reportMalwareErrorURL", "http://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%"); michael@0: michael@0: pref("browser.safebrowsing.malware.reportURL", "https://safebrowsing.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); michael@0: pref("browser.safebrowsing.appRepURL", "https://sb-ssl.google.com/safebrowsing/clientreport/download?key=%GOOGLE_API_KEY%"); michael@0: michael@0: #ifdef MOZILLA_OFFICIAL michael@0: // Normally the "client ID" sent in updates is appinfo.name, but for michael@0: // official Firefox releases from Mozilla we use a special identifier. michael@0: pref("browser.safebrowsing.id", "navclient-auto-ffox"); michael@0: #endif michael@0: michael@0: // Name of the about: page contributed by safebrowsing to handle display of error michael@0: // pages on phishing/malware hits. (bug 399233) michael@0: pref("urlclassifier.alternate_error_page", "blocked"); michael@0: michael@0: // The number of random entries to send with a gethash request. michael@0: pref("urlclassifier.gethashnoise", 4); michael@0: michael@0: // If an urlclassifier table has not been updated in this number of seconds, michael@0: // a gethash request will be forced to check that the result is still in michael@0: // the database. michael@0: pref("urlclassifier.max-complete-age", 2700); michael@0: // Tables for application reputation. michael@0: pref("urlclassifier.downloadBlockTable", "goog-badbinurl-shavar"); michael@0: #ifdef XP_WIN michael@0: // Only download the whitelist on Windows, since the whitelist is michael@0: // only useful for suppressing remote lookups for signed binaries which we can michael@0: // only verify on Windows (Bug 974579). michael@0: pref("urlclassifier.downloadAllowTable", "goog-downloadwhite-digest256"); michael@0: #endif michael@0: #endif michael@0: michael@0: pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/"); michael@0: michael@0: pref("browser.EULA.version", 3); michael@0: pref("browser.rights.version", 3); michael@0: pref("browser.rights.3.shown", false); michael@0: michael@0: #ifdef DEBUG michael@0: // Don't show the about:rights notification in debug builds. michael@0: pref("browser.rights.override", true); michael@0: #endif michael@0: michael@0: pref("browser.sessionstore.resume_from_crash", true); michael@0: pref("browser.sessionstore.resume_session_once", false); michael@0: michael@0: // minimal interval between two save operations in milliseconds michael@0: pref("browser.sessionstore.interval", 15000); michael@0: // on which sites to save text data, POSTDATA and cookies michael@0: // 0 = everywhere, 1 = unencrypted sites, 2 = nowhere michael@0: pref("browser.sessionstore.privacy_level", 0); michael@0: // the same as browser.sessionstore.privacy_level, but for saving deferred session data michael@0: pref("browser.sessionstore.privacy_level_deferred", 1); michael@0: // how many tabs can be reopened (per window) michael@0: pref("browser.sessionstore.max_tabs_undo", 10); michael@0: // how many windows can be reopened (per session) - on non-OS X platforms this michael@0: // pref may be ignored when dealing with pop-up windows to ensure proper startup michael@0: pref("browser.sessionstore.max_windows_undo", 3); michael@0: // number of crashes that can occur before the about:sessionrestore page is displayed michael@0: // (this pref has no effect if more than 6 hours have passed since the last crash) michael@0: pref("browser.sessionstore.max_resumed_crashes", 1); michael@0: // number of back button session history entries to restore (-1 = all of them) michael@0: pref("browser.sessionstore.max_serialize_back", 10); michael@0: // number of forward button session history entries to restore (-1 = all of them) michael@0: pref("browser.sessionstore.max_serialize_forward", -1); michael@0: // restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant) michael@0: // and restore_hidden_tabs. When true, tabs will not be restored until they are michael@0: // focused (also applies to tabs that aren't visible). When false, the values michael@0: // for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected. michael@0: // Selected tabs are always restored regardless of this pref. michael@0: pref("browser.sessionstore.restore_on_demand", true); michael@0: // Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not michael@0: pref("browser.sessionstore.restore_hidden_tabs", false); michael@0: // If restore_on_demand is set, pinned tabs are restored on startup by default. michael@0: // When set to true, this pref overrides that behavior, and pinned tabs will only michael@0: // be restored when they are focused. michael@0: pref("browser.sessionstore.restore_pinned_tabs_on_demand", false); michael@0: // The version at which we performed the latest upgrade backup michael@0: pref("browser.sessionstore.upgradeBackup.latestBuildID", ""); michael@0: // End-users should not run sessionstore in debug mode michael@0: pref("browser.sessionstore.debug", false); michael@0: michael@0: // allow META refresh by default michael@0: pref("accessibility.blockautorefresh", false); michael@0: michael@0: // Whether history is enabled or not. michael@0: pref("places.history.enabled", true); michael@0: michael@0: // the (maximum) number of the recent visits to sample michael@0: // when calculating frecency michael@0: pref("places.frecency.numVisits", 10); michael@0: michael@0: // buckets (in days) for frecency calculation michael@0: pref("places.frecency.firstBucketCutoff", 4); michael@0: pref("places.frecency.secondBucketCutoff", 14); michael@0: pref("places.frecency.thirdBucketCutoff", 31); michael@0: pref("places.frecency.fourthBucketCutoff", 90); michael@0: michael@0: // weights for buckets for frecency calculations michael@0: pref("places.frecency.firstBucketWeight", 100); michael@0: pref("places.frecency.secondBucketWeight", 70); michael@0: pref("places.frecency.thirdBucketWeight", 50); michael@0: pref("places.frecency.fourthBucketWeight", 30); michael@0: pref("places.frecency.defaultBucketWeight", 10); michael@0: michael@0: // bonus (in percent) for visit transition types for frecency calculations michael@0: pref("places.frecency.embedVisitBonus", 0); michael@0: pref("places.frecency.framedLinkVisitBonus", 0); michael@0: pref("places.frecency.linkVisitBonus", 100); michael@0: pref("places.frecency.typedVisitBonus", 2000); michael@0: pref("places.frecency.bookmarkVisitBonus", 75); michael@0: pref("places.frecency.downloadVisitBonus", 0); michael@0: pref("places.frecency.permRedirectVisitBonus", 0); michael@0: pref("places.frecency.tempRedirectVisitBonus", 0); michael@0: pref("places.frecency.defaultVisitBonus", 0); michael@0: michael@0: // bonus (in percent) for place types for frecency calculations michael@0: pref("places.frecency.unvisitedBookmarkBonus", 140); michael@0: pref("places.frecency.unvisitedTypedBonus", 200); michael@0: michael@0: // Controls behavior of the "Add Exception" dialog launched from SSL error pages michael@0: // 0 - don't pre-populate anything michael@0: // 1 - pre-populate site URL, but don't fetch certificate michael@0: // 2 - pre-populate site URL and pre-fetch certificate michael@0: pref("browser.ssl_override_behavior", 2); michael@0: michael@0: // True if the user should be prompted when a web application supports michael@0: // offline apps. michael@0: pref("browser.offline-apps.notify", true); michael@0: michael@0: // if true, use full page zoom instead of text zoom michael@0: pref("browser.zoom.full", true); michael@0: michael@0: // Whether or not to save and restore zoom levels on a per-site basis. michael@0: pref("browser.zoom.siteSpecific", true); michael@0: michael@0: // Whether or not to update background tabs to the current zoom level. michael@0: pref("browser.zoom.updateBackgroundTabs", true); michael@0: michael@0: // The breakpad report server to link to in about:crashes michael@0: pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/"); michael@0: michael@0: #ifndef RELEASE_BUILD michael@0: // Override submission of plugin hang reports to a different processing server michael@0: // for the smaller-volume nightly/aurora populations. michael@0: pref("toolkit.crashreporter.pluginHangSubmitURL", michael@0: "https://hang-reports.mozilla.org/submit"); michael@0: #endif michael@0: michael@0: // URL for "Learn More" for Crash Reporter michael@0: pref("toolkit.crashreporter.infoURL", michael@0: "https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter"); michael@0: michael@0: // base URL for web-based support pages michael@0: pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/"); michael@0: michael@0: // base url for web-based feedback pages michael@0: pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/%APP%/%VERSION%/"); michael@0: michael@0: // Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror) michael@0: pref("security.alternate_certificate_error_page", "certerror"); michael@0: michael@0: // Whether to start the private browsing mode at application startup michael@0: pref("browser.privatebrowsing.autostart", false); michael@0: michael@0: // Don't try to alter this pref, it'll be reset the next time you use the michael@0: // bookmarking dialog michael@0: pref("browser.bookmarks.editDialog.firstEditField", "namePicker"); michael@0: michael@0: // Whether to use a panel that looks like an OS X sheet for customization michael@0: #ifdef XP_MACOSX michael@0: pref("toolbar.customization.usesheet", true); michael@0: #else michael@0: pref("toolbar.customization.usesheet", false); michael@0: #endif michael@0: michael@0: #ifdef XP_MACOSX michael@0: // On mac, the default pref is per-architecture michael@0: pref("dom.ipc.plugins.enabled.i386", true); michael@0: pref("dom.ipc.plugins.enabled.x86_64", true); michael@0: #else michael@0: pref("dom.ipc.plugins.enabled", true); michael@0: #endif michael@0: michael@0: #if defined(NIGHTLY_BUILD) michael@0: // browser.tabs.remote is enabled on nightly. However, users won't michael@0: // actually get remote tabs unless they enable michael@0: // browser.tabs.remote.autostart or they use the "New OOP Window" menu michael@0: // option. michael@0: pref("browser.tabs.remote", true); michael@0: #else michael@0: pref("browser.tabs.remote", false); michael@0: #endif michael@0: pref("browser.tabs.remote.autostart", false); michael@0: michael@0: // This pref governs whether we attempt to work around problems caused by michael@0: // plugins using OS calls to manipulate the cursor while running out-of- michael@0: // process. These workarounds all involve intercepting (hooking) certain michael@0: // OS calls in the plugin process, then arranging to make certain OS calls michael@0: // in the browser process. Eventually plugins will be required to use the michael@0: // NPAPI to manipulate the cursor, and these workarounds will be removed. michael@0: // See bug 621117. michael@0: #ifdef XP_MACOSX michael@0: pref("dom.ipc.plugins.nativeCursorSupport", true); michael@0: #endif michael@0: michael@0: #ifdef XP_WIN michael@0: pref("browser.taskbar.previews.enable", false); michael@0: pref("browser.taskbar.previews.max", 20); michael@0: pref("browser.taskbar.previews.cachetime", 5); michael@0: pref("browser.taskbar.lists.enabled", true); michael@0: pref("browser.taskbar.lists.frequent.enabled", true); michael@0: pref("browser.taskbar.lists.recent.enabled", false); michael@0: pref("browser.taskbar.lists.maxListItemCount", 7); michael@0: pref("browser.taskbar.lists.tasks.enabled", true); michael@0: pref("browser.taskbar.lists.refreshInSeconds", 120); michael@0: #endif michael@0: michael@0: #ifdef MOZ_SERVICES_SYNC michael@0: // The sync engines to use. michael@0: pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons"); michael@0: // Preferences to be synced by default michael@0: pref("services.sync.prefs.sync.accessibility.blockautorefresh", true); michael@0: pref("services.sync.prefs.sync.accessibility.browsewithcaret", true); michael@0: pref("services.sync.prefs.sync.accessibility.typeaheadfind", true); michael@0: pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true); michael@0: pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true); michael@0: // The addons prefs related to repository verification are intentionally michael@0: // not synced for security reasons. If a system is compromised, a user michael@0: // could weaken the pref locally, install an add-on from an untrusted michael@0: // source, and this would propagate automatically to other, michael@0: // uncompromised Sync-connected devices. michael@0: pref("services.sync.prefs.sync.app.update.mode", true); michael@0: pref("services.sync.prefs.sync.browser.formfill.enable", true); michael@0: pref("services.sync.prefs.sync.browser.link.open_newwindow", true); michael@0: pref("services.sync.prefs.sync.browser.offline-apps.notify", true); michael@0: pref("services.sync.prefs.sync.browser.safebrowsing.enabled", true); michael@0: pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true); michael@0: pref("services.sync.prefs.sync.browser.search.selectedEngine", true); michael@0: pref("services.sync.prefs.sync.browser.search.update", true); michael@0: pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true); michael@0: pref("services.sync.prefs.sync.browser.startup.homepage", true); michael@0: pref("services.sync.prefs.sync.browser.startup.page", true); michael@0: pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true); michael@0: pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true); michael@0: pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true); michael@0: pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", true); michael@0: pref("services.sync.prefs.sync.browser.urlbar.default.behavior", true); michael@0: pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true); michael@0: pref("services.sync.prefs.sync.dom.disable_open_during_load", true); michael@0: pref("services.sync.prefs.sync.dom.disable_window_flip", true); michael@0: pref("services.sync.prefs.sync.dom.disable_window_move_resize", true); michael@0: pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true); michael@0: pref("services.sync.prefs.sync.extensions.personas.current", true); michael@0: pref("services.sync.prefs.sync.extensions.update.enabled", true); michael@0: pref("services.sync.prefs.sync.intl.accept_languages", true); michael@0: pref("services.sync.prefs.sync.javascript.enabled", true); michael@0: pref("services.sync.prefs.sync.layout.spellcheckDefault", true); michael@0: pref("services.sync.prefs.sync.lightweightThemes.isThemeSelected", true); michael@0: pref("services.sync.prefs.sync.lightweightThemes.usedThemes", true); michael@0: pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true); michael@0: pref("services.sync.prefs.sync.network.cookie.lifetimePolicy", true); michael@0: pref("services.sync.prefs.sync.permissions.default.image", true); michael@0: pref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", true); michael@0: pref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", true); michael@0: pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true); michael@0: pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.passwords", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true); michael@0: pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true); michael@0: pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true); michael@0: pref("services.sync.prefs.sync.privacy.donottrackheader.value", true); michael@0: pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true); michael@0: pref("services.sync.prefs.sync.security.OCSP.enabled", true); michael@0: pref("services.sync.prefs.sync.security.OCSP.require", true); michael@0: pref("services.sync.prefs.sync.security.default_personal_cert", true); michael@0: pref("services.sync.prefs.sync.security.tls.version.min", true); michael@0: pref("services.sync.prefs.sync.security.tls.version.max", true); michael@0: pref("services.sync.prefs.sync.signon.rememberSignons", true); michael@0: pref("services.sync.prefs.sync.spellchecker.dictionary", true); michael@0: pref("services.sync.prefs.sync.xpinstall.whitelist.required", true); michael@0: #endif michael@0: michael@0: // Disable the error console michael@0: pref("devtools.errorconsole.enabled", false); michael@0: michael@0: // Developer toolbar and GCLI preferences michael@0: pref("devtools.toolbar.enabled", true); michael@0: pref("devtools.toolbar.visible", false); michael@0: pref("devtools.commands.dir", ""); michael@0: michael@0: // Enable the app manager michael@0: pref("devtools.appmanager.enabled", true); michael@0: pref("devtools.appmanager.lastTab", "help"); michael@0: pref("devtools.appmanager.manifestEditor.enabled", true); michael@0: michael@0: // Toolbox preferences michael@0: pref("devtools.toolbox.footer.height", 250); michael@0: pref("devtools.toolbox.sidebar.width", 500); michael@0: pref("devtools.toolbox.host", "bottom"); michael@0: pref("devtools.toolbox.selectedTool", "webconsole"); michael@0: pref("devtools.toolbox.toolbarSpec", '["splitconsole", "paintflashing toggle","tilt toggle","scratchpad","resize toggle","eyedropper"]'); michael@0: pref("devtools.toolbox.sideEnabled", true); michael@0: pref("devtools.toolbox.zoomValue", "1"); michael@0: michael@0: // Toolbox Button preferences michael@0: pref("devtools.command-button-pick.enabled", true); michael@0: pref("devtools.command-button-splitconsole.enabled", true); michael@0: pref("devtools.command-button-paintflashing.enabled", false); michael@0: pref("devtools.command-button-tilt.enabled", false); michael@0: pref("devtools.command-button-scratchpad.enabled", false); michael@0: pref("devtools.command-button-responsive.enabled", true); michael@0: pref("devtools.command-button-eyedropper.enabled", false); michael@0: michael@0: // Inspector preferences michael@0: // Enable the Inspector michael@0: pref("devtools.inspector.enabled", true); michael@0: // What was the last active sidebar in the inspector michael@0: pref("devtools.inspector.activeSidebar", "ruleview"); michael@0: // Enable the markup preview michael@0: pref("devtools.inspector.markupPreview", false); michael@0: pref("devtools.inspector.remote", false); michael@0: // Expand pseudo-elements by default in the rule-view michael@0: pref("devtools.inspector.show_pseudo_elements", true); michael@0: // The default size for image preview tooltips in the rule-view/computed-view/markup-view michael@0: pref("devtools.inspector.imagePreviewTooltipSize", 300); michael@0: michael@0: // DevTools default color unit michael@0: pref("devtools.defaultColorUnit", "hex"); michael@0: michael@0: // Enable the Responsive UI tool michael@0: pref("devtools.responsiveUI.no-reload-notification", false); michael@0: michael@0: // Enable the Debugger michael@0: pref("devtools.debugger.enabled", true); michael@0: pref("devtools.debugger.chrome-enabled", true); michael@0: pref("devtools.debugger.chrome-debugging-host", "localhost"); michael@0: pref("devtools.debugger.chrome-debugging-port", 6080); michael@0: pref("devtools.debugger.remote-host", "localhost"); michael@0: pref("devtools.debugger.remote-timeout", 20000); michael@0: pref("devtools.debugger.pause-on-exceptions", false); michael@0: pref("devtools.debugger.ignore-caught-exceptions", true); michael@0: pref("devtools.debugger.source-maps-enabled", true); michael@0: pref("devtools.debugger.pretty-print-enabled", true); michael@0: pref("devtools.debugger.auto-pretty-print", false); michael@0: pref("devtools.debugger.tracer", false); michael@0: michael@0: // The default Debugger UI settings michael@0: pref("devtools.debugger.ui.panes-sources-width", 200); michael@0: pref("devtools.debugger.ui.panes-instruments-width", 300); michael@0: pref("devtools.debugger.ui.panes-visible-on-startup", false); michael@0: pref("devtools.debugger.ui.variables-sorting-enabled", true); michael@0: pref("devtools.debugger.ui.variables-only-enum-visible", false); michael@0: pref("devtools.debugger.ui.variables-searchbox-visible", false); michael@0: michael@0: // Enable the Profiler michael@0: pref("devtools.profiler.enabled", true); michael@0: michael@0: // The default Profiler UI settings michael@0: pref("devtools.profiler.ui.show-platform-data", false); michael@0: michael@0: // Enable the Network Monitor michael@0: pref("devtools.netmonitor.enabled", true); michael@0: michael@0: // The default Network Monitor UI settings michael@0: pref("devtools.netmonitor.panes-network-details-width", 550); michael@0: pref("devtools.netmonitor.panes-network-details-height", 450); michael@0: pref("devtools.netmonitor.statistics", true); michael@0: pref("devtools.netmonitor.filters", "[\"all\"]"); michael@0: michael@0: // Enable the Tilt inspector michael@0: pref("devtools.tilt.enabled", true); michael@0: pref("devtools.tilt.intro_transition", true); michael@0: pref("devtools.tilt.outro_transition", true); michael@0: michael@0: // Scratchpad settings michael@0: // - recentFileMax: The maximum number of recently-opened files michael@0: // stored. Setting this preference to 0 will not michael@0: // clear any recent files, but rather hide the michael@0: // 'Open Recent'-menu. michael@0: // - showTrailingSpace: Whether to highlight trailing space or not. michael@0: // - enableCodeFolding: Whether to enable code folding or not. michael@0: pref("devtools.scratchpad.recentFilesMax", 10); michael@0: pref("devtools.scratchpad.showTrailingSpace", false); michael@0: pref("devtools.scratchpad.enableCodeFolding", true); michael@0: michael@0: // Enable the Style Editor. michael@0: pref("devtools.styleeditor.enabled", true); michael@0: pref("devtools.styleeditor.source-maps-enabled", false); michael@0: pref("devtools.styleeditor.autocompletion-enabled", true); michael@0: michael@0: // Enable the Shader Editor. michael@0: pref("devtools.shadereditor.enabled", false); michael@0: michael@0: // Enable the Canvas Debugger. michael@0: pref("devtools.canvasdebugger.enabled", false); michael@0: michael@0: // Enable the Web Audio Editor michael@0: pref("devtools.webaudioeditor.enabled", false); michael@0: michael@0: // Default theme ("dark" or "light") michael@0: pref("devtools.theme", "light"); michael@0: michael@0: // Display the introductory text michael@0: pref("devtools.gcli.hideIntro", false); michael@0: michael@0: // How eager are we to show help: never=1, sometimes=2, always=3 michael@0: pref("devtools.gcli.eagerHelper", 2); michael@0: michael@0: // Remember the Web Console filters michael@0: pref("devtools.webconsole.filter.network", true); michael@0: pref("devtools.webconsole.filter.networkinfo", false); michael@0: pref("devtools.webconsole.filter.netwarn", true); michael@0: pref("devtools.webconsole.filter.csserror", true); michael@0: pref("devtools.webconsole.filter.cssparser", false); michael@0: pref("devtools.webconsole.filter.csslog", false); michael@0: pref("devtools.webconsole.filter.exception", true); michael@0: pref("devtools.webconsole.filter.jswarn", true); michael@0: pref("devtools.webconsole.filter.jslog", false); michael@0: pref("devtools.webconsole.filter.error", true); michael@0: pref("devtools.webconsole.filter.warn", true); michael@0: pref("devtools.webconsole.filter.info", true); michael@0: pref("devtools.webconsole.filter.log", true); michael@0: pref("devtools.webconsole.filter.secerror", true); michael@0: pref("devtools.webconsole.filter.secwarn", true); michael@0: michael@0: // Remember the Browser Console filters michael@0: pref("devtools.browserconsole.filter.network", true); michael@0: pref("devtools.browserconsole.filter.networkinfo", false); michael@0: pref("devtools.browserconsole.filter.netwarn", true); michael@0: pref("devtools.browserconsole.filter.csserror", true); michael@0: pref("devtools.browserconsole.filter.cssparser", false); michael@0: pref("devtools.browserconsole.filter.csslog", false); michael@0: pref("devtools.browserconsole.filter.exception", true); michael@0: pref("devtools.browserconsole.filter.jswarn", true); michael@0: pref("devtools.browserconsole.filter.jslog", true); michael@0: pref("devtools.browserconsole.filter.error", true); michael@0: pref("devtools.browserconsole.filter.warn", true); michael@0: pref("devtools.browserconsole.filter.info", true); michael@0: pref("devtools.browserconsole.filter.log", true); michael@0: pref("devtools.browserconsole.filter.secerror", true); michael@0: pref("devtools.browserconsole.filter.secwarn", true); michael@0: michael@0: // Text size in the Web Console. Use 0 for the system default size. michael@0: pref("devtools.webconsole.fontSize", 0); michael@0: michael@0: // Persistent logging: |true| if you want the Web Console to keep all of the michael@0: // logged messages after reloading the page, |false| if you want the output to michael@0: // be cleared each time page navigation happens. michael@0: pref("devtools.webconsole.persistlog", false); michael@0: michael@0: // Web Console timestamp: |true| if you want the logs and instructions michael@0: // in the Web Console to display a timestamp, or |false| to not display michael@0: // any timestamps. michael@0: pref("devtools.webconsole.timestampMessages", false); michael@0: michael@0: // The number of lines that are displayed in the web console for the Net, michael@0: // CSS, JS and Web Developer categories. michael@0: pref("devtools.hud.loglimit.network", 200); michael@0: pref("devtools.hud.loglimit.cssparser", 200); michael@0: pref("devtools.hud.loglimit.exception", 200); michael@0: pref("devtools.hud.loglimit.console", 200); michael@0: michael@0: // By how many times eyedropper will magnify pixels michael@0: pref("devtools.eyedropper.zoom", 6); michael@0: michael@0: // The developer tools editor configuration: michael@0: // - tabsize: how many spaces to use when a Tab character is displayed. michael@0: // - expandtab: expand Tab characters to spaces. michael@0: // - keymap: which keymap to use (can be 'default', 'emacs' or 'vim') michael@0: // - autoclosebrackets: whether to permit automatic bracket/quote closing. michael@0: // - detectindentation: whether to detect the indentation from the file michael@0: pref("devtools.editor.tabsize", 2); michael@0: pref("devtools.editor.expandtab", true); michael@0: pref("devtools.editor.keymap", "default"); michael@0: pref("devtools.editor.autoclosebrackets", true); michael@0: pref("devtools.editor.detectindentation", true); michael@0: michael@0: // Enable the Font Inspector michael@0: pref("devtools.fontinspector.enabled", true); michael@0: michael@0: // Pref to store the browser version at the time of a telemetry ping for an michael@0: // opened developer tool. This allows us to ping telemetry just once per browser michael@0: // version for each user. michael@0: pref("devtools.telemetry.tools.opened.version", "{}"); michael@0: michael@0: // Whether the character encoding menu is under the main Firefox button. This michael@0: // preference is a string so that localizers can alter it. michael@0: pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties"); michael@0: michael@0: // Allow using tab-modal prompts when possible. michael@0: pref("prompts.tab_modal.enabled", true); michael@0: // Whether the Panorama should animate going in/out of tabs michael@0: pref("browser.panorama.animate_zoom", true); michael@0: michael@0: // Defines the url to be used for new tabs. michael@0: pref("browser.newtab.url", "about:newtab"); michael@0: // Activates preloading of the new tab url. michael@0: pref("browser.newtab.preload", true); michael@0: michael@0: // Toggles the content of 'about:newtab'. Shows the grid when enabled. michael@0: pref("browser.newtabpage.enabled", true); michael@0: michael@0: // number of rows of newtab grid michael@0: pref("browser.newtabpage.rows", 3); michael@0: michael@0: // number of columns of newtab grid michael@0: pref("browser.newtabpage.columns", 3); michael@0: michael@0: pref("browser.newtabpage.directorySource", "data:application/json,{}"); michael@0: michael@0: // Enable the DOM fullscreen API. michael@0: pref("full-screen-api.enabled", true); michael@0: michael@0: // True if the fullscreen API requires approval upon a domain entering fullscreen. michael@0: // Domains that have already had fullscreen permission granted won't re-request michael@0: // approval. michael@0: pref("full-screen-api.approval-required", true); michael@0: michael@0: // Startup Crash Tracking michael@0: // number of startup crashes that can occur before starting into safe mode automatically michael@0: // (this pref has no effect if more than 6 hours have passed since the last crash) michael@0: pref("toolkit.startup.max_resumed_crashes", 3); michael@0: michael@0: // Completely disable pdf.js as an option to preview pdfs within firefox. michael@0: // Note: if this is not disabled it does not necessarily mean pdf.js is the pdf michael@0: // handler just that it is an option. michael@0: pref("pdfjs.disabled", false); michael@0: // Used by pdf.js to know the first time firefox is run with it installed so it michael@0: // can become the default pdf viewer. michael@0: pref("pdfjs.firstRun", true); michael@0: // The values of preferredAction and alwaysAskBeforeHandling before pdf.js michael@0: // became the default. michael@0: pref("pdfjs.previousHandler.preferredAction", 0); michael@0: pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false); michael@0: michael@0: #ifdef NIGHTLY_BUILD michael@0: // Shumway component (SWF player) is disabled by default. Also see bug 904346. michael@0: pref("shumway.disabled", true); michael@0: #endif michael@0: michael@0: // The maximum amount of decoded image data we'll willingly keep around (we michael@0: // might keep around more than this, but we'll try to get down to this value). michael@0: // (This is intentionally on the high side; see bug 746055.) michael@0: pref("image.mem.max_decoded_image_kb", 256000); michael@0: michael@0: // Default social providers michael@0: pref("social.manifest.facebook", "{\"origin\":\"https://www.facebook.com\",\"name\":\"Facebook Share\",\"shareURL\":\"https://www.facebook.com/sharer/sharer.php?u=%{url}\",\"iconURL\":\"data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAAX0lEQVQ4jWP4%2F%2F8%2FAyUYTFhHzjgDxP9JxGeQDSBVMxgTbUBCxer%2Fr999%2BQ8DJBuArJksA9A10s8AXIBoA0B%2BR%2FY%2FjD%2BEwoBoA1yT5v3PbdmCE8MAshhID%2FUMoDgzUYIBj0Cgi7ar4coAAAAASUVORK5CYII%3D\",\"icon32URL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAADbklEQVRYCc1Xv08UQRj99tctexAuCEFjRE0kGBEtLDSGqIWNxkYKbTAxNlY2JhaGWltNtNFeKgsKKxITK43/gCYW+IsoRhA4D47bH7fn9+bcvdm5JR7sefolC3Ozu9978+bNN7PayUv3HN3umdY0Y6IWBtSJ0HSTarXqTOiuTep6Lj+tdxAcA8RAgSmwdd2aCDs0clldYALb/FvgYVhjmfliVA2XpjEgWo0Attn42Z6WH1RFor5ehwo9XQIUZMoVn4qlCoVMSo62EvD8Kh0b3U2Xz43R2PBO6mUCGDlAf65V6MadZzT/rUimoccc2kYA4BfPHqJb105RzjJigKhRq9kEJUBIjgYVuXeL7SAI6eD+Abp5dTwVHOmEHxT50d8WBYJqSOdPj5BjW8gZR8UNqFR2xagx/65XFYaMH+BGWwiYpi4UkBPPLxTp9v1Z+lHc4DWvCQXWmIy6EjITgKowVd5Jjv7N3Hd6y5esigoOwpkJIAmMpZpLJGdiaaC4F0UmAj6bD84GCEwmB/qxMmRilmnwb/mpjAocHh4UEoNAt5NLZB7oy9OJo0PxqkAtePdhiSqunyC1LQUwWMPQaOr6GRre258Ajn4cP7KHcEXhsxpXbj+lT19X2TMNGTLVAcjcalS8gDwsQ2UOMhH4k8FkcrEn5E5ub2sKohxLK2VR77Hl9RUcsrgeRIEiVOT6z+tDbIeLy+vk+kGTCbXxycet6xhl//3f6bJEkdHYhA+mLtDIvoH4ieev5+juoxdk5+pjhALYEdXIpEB5w+NlSKSzqVQ/+H7IO6BLtl3fngGMiqhGJgIwlM6qpyUGFjySdk8m0Zg0ubeD7X9OIDEFajltRQgUJaUKx69tdgaQa0FMADuahZPMFtcEwNPm2hA7ZI5sK4aoE2NvYI+o8hkCIe7CwTv68zS0q9Dk5vpbm/8FXxitSzmMFHpsGj0wyLUheTwD2Y9fVgh1Ae0EPUgD9241ZEnld+v5kgnVZ/8fE0brVh5BK+1oCqKKF72Dk7HwBsssB/pklU1dfChy3S659H5+uelgIb+8WRv1/uGTV9Sdb5wJFlfW6fPCalMhwhSU1j2xKwKbP838GcOwJja4TqO0bjdmXxYTy1EYjFdCWoCEYZhseH/GDL3yJPHnuW6YmT7P1SlIA4768Hke4vOcsX8BE346lLHhDUQAAAAASUVORK5CYII=\", \"icon64URL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAACNNJREFUeNrtm3tw1NUVxz/399hHHkgCaCBGEFEEREVFYFQcSoOKdkZay4z+4dDpYIsjHWx1WoTMhFi1gzBSpVgVGbU4U1sHfPESKODwEEnRYDFAICEIeZIQshs2u/v73ds/drMsyW7YLEkl2Z6Z32yy+9v7u+fc7znne8+5KzgvAjDunzlv0M13PjDZ6c4cARj0WhEoaZ1tOn3yq9XLf/tNU0O1D5Ad7wq/OpxpaXOL1j5uZAwuaGlVgwNBhULRm0XXBG6HZrlNa9uRrzfM+3DlgjIgGMsA7rl/XDdHOnNf9vosTfVuvTsaQhdkZ4iykh2rHtqydvkxwI58BhjTfv7MmP55E9/1nLNdfU15ACkVvoAaMCRvRPa+re9+DgTaPjMAx+DrJv3M67Mz+6LybWLb4NfTHhxzx31DDhZvOtqGAgNwWbjGICV9XQJB0e/KobcOP1i8qTzaAEYgaDtNU/V5A9hSaUFLuQEt2gVQSgml+j4CUAIppYgK/m0GkCjZ9xGAUNAu0LUhgJRAAAIVzwBSqVRQH4hlAClRKZAFhOgEASoFECBR8QwgUyQGdJT/B8HzCEiBNKhUJzEgBYIgQsTJAkohe9oFZHgHKvQoHtZ9K3tewfiixXABLdoFeuSSEmkF+PH4QTz7+M3o+ENptzvGtS36uSwmjMpAYF10XCllHCYoe84FlLS555Zs5jx6J6ahY+iCl98pJiDNS1hwSZop+cm91zJmxEBefGsPlu1AxKC67V3gf5oGlZSMuz6Dp2fdhWnoAEwaN5T5hsYLb+4hKB1dcgelFDpB8ifk8thDt3DO5+fZxRvxBV0IjQR0EB3KfD1GhJS0GZnnYuGcKTgdF9ZWx4/No/BJjUUrdtJqm4iL+K5SCmSAiWMHMevhcQzNzaa6ron5SzfQ7HeiaSKx+au4m6HupcJKSYZdZVI4dypuV2yo3zoql0VP3cOiFV/Q4jdiGkGhQFqMGpbJL346kbE3DEYIQWNTC39Ysp4Gr4HQtZDyiRhA0NlmSHZbRM7pr1H0m6lckeHqdGXG3jCYoqfupeC17bT49fNRXIFSNrkDTGbNGM9dtw1D10M1DI/Xx3NLP6OqETRdDy1eglPT4rqA7K56gCIrXfHCvHwGZqUnBMtR113FS/N+xHPLtuJpDa1mVobg0emjmX7vqEjsUErhaw1Q8Mo6yk4F0A1HeOW7kIlFx/u7jworRabLpmhuPjmD+iG7YNDrrhnIS09P5cW/buOeO67lkftvJt3tDE06PE7Qsnh++QYOHPOim86wcVUS0+whJug0ghTMmcK1V2eH8m2UHP++nrwhAyIwjiXDcrN5vXAGhqGhFBeMYUvJ0re2sPfgGTTDGUZrEogVopMgmGQWUCgMEWTBE5MZPSLngnGqas/w9j92s31fJfmThvPM7HyMMKRj+qgmOiBHSsnr73/B5r1V6A53KD4k3bFS8dNgckFQoWPxu1kTGDc6N7JqzR4ff/+smE+2H8FSLkx3FluLawhaG3n2iXwcppGoV/Hemt18tK0c3UwLIfUS2nVafBeQJNUXkAF+/dht3H37cKSUBC2bTTv+w98++YazPg1dT0NoIUhruoMd+2sJrtjI7381rQM3iCVrN33N++tL0c30xFNdp0GQeFRYQhcRIO0gv5xxE/fdfSO2bfNVSTmrPtxLZW0A3XSh6VporaLG1XQHu0pOU/TaOhY8+QAuZ3w6vHnnQd74536EkZ50wOsSE0zcugolbWZOG8GM/LGUVdSw6sM97D/UgGa60QxXzMJDZAq6yb7SJgr//CkLn5pOmsvR4Z5dxUdZ9t6XoKfFjNyXkqZjuoBUCpGgCyhp8eDdQ5k++UaWrdrMlr2VSFxoZlpE8YtNWGgGXx9ppnDZpxTMfTCS8gAOlJ5g8ds7kCItTIi6j6FqMVxAC2sV2RB1ekmLCTcNpH+myeyFH7BxT1Voopoe4RKJXQqhmxw45mXh0o/xeH0opThcXs2iv2wmoFyhAnbC4yX+3PgISMDShrA5XHGa3d9UITRniIeTfHASmsGhEz7mL/mI2TPv4sU3t+KzHAnu7JKpCosOkcSIICAB5hZE0OiRCM0Iwb0b6LPQdI5W+Zn/yucoYYayRk+16eK1xqRMDAHtA0r3lep0lNAjO8kfpCpMqpTF4xZEUqA7rIlOCiKpgADVWXc4FQwgEfHPB5AiByTixIDUCYJx+wJoqdIcJV5VOAWygEZcF7BToT2upFDKtuz2BrAtf8v3mju972cBJX2exso6ok6N64BhOtM11xXXPBz6v6340PcuO+DZfaJkzWqgqY3L64Bqaaz0ZV45Mkc308dG2kd97FLSaq4v317gazr5HeCLRoACFTxbfeBw+oDhWYYj4/rw+30H+rb/VMPxXQsbKnbuABqJOi4vogyRiRB5/XNvvz3zytFTDEf61eF9b0dCKTS36c4afymTsgLeQ9Ly13X/aYnzE1Uy6PV7679trNy1xe+tKwPqAH/0Vla0qw65gH7AFeG/Y3Uy9P45o0bm3PTIaplM6lTK9jWf/OBUyQcrpdXaTIyfsXQb9QcLaAn7vJd2vxY5XxBpo8pwDmgFGsLKx1oeh8OVmUUSLXUlrWZPzbdLag9v+BjUqfDzepKAyDDcZbznGHG+1NmqSKHpVlfbadJqLW+o2LHobNX+PUB1WPkfnHwYyTmX6lI7Lehr3F576NM/+T3V3wH17f2w1xkg2ggXuSvga6p8p+bgmpVKWpXAmVh+2AsNEKogdYYAJa0GT03J4obyf60HTgKe6PTTqw0QOpcQ3wXs4LlDZyq2FXrrS4uBmjDxuCw3G5eIgA46yeC5ho11pWsWW35PWTibBC4Xf+9eBLRPg0q2+s5UvHG6bMNqJYPHw7nXutxZYvIIiMoCSgbrPVX/fv7syS+3AKfC5MOmF4iRpP6RjrId8O5vrNhS1NpUWQLUholUr6muXEoatP3emrWNR9e/avk9R8P+HuxNypPkrk93pGdnK0VtXemaN6UdOHo55vdE5b/0NKx+K4AxtAAAAABJRU5ErkJggg==\", \"description\":\"Easily share the web to your Facebook friends.\",\"author\":\"Facebook\",\"homepageURL\":\"https://www.facebook.com\",\"builtin\":\"true\",\"version\":1}"); michael@0: michael@0: pref("social.sidebar.unload_timeout_ms", 10000); michael@0: michael@0: pref("dom.identity.enabled", false); michael@0: michael@0: // Turn on the CSP 1.0 parser for Content Security Policy headers michael@0: pref("security.csp.speccompliant", true); michael@0: michael@0: // Block insecure active content on https pages michael@0: pref("security.mixed_content.block_active_content", true); michael@0: michael@0: // 1 = allow MITM for certificate pinning checks. michael@0: pref("security.cert_pinning.enforcement_level", 1); michael@0: michael@0: // Override the Gecko-default value of false for Firefox. michael@0: pref("plain_text.wrap_long_lines", true); michael@0: michael@0: // If this turns true, Moz*Gesture events are not called stopPropagation() michael@0: // before content. michael@0: pref("dom.debug.propagate_gesture_events_through_content", false); michael@0: michael@0: // The request URL of the GeoLocation backend. michael@0: pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%"); michael@0: #ifdef RELEASE_BUILD michael@0: pref("geo.wifi.logging.enabled", false); michael@0: #else michael@0: pref("geo.wifi.logging.enabled", true); michael@0: #endif michael@0: michael@0: // Necko IPC security checks only needed for app isolation for cookies/cache/etc: michael@0: // currently irrelevant for desktop e10s michael@0: pref("network.disable.ipc.security", true); michael@0: michael@0: // CustomizableUI debug logging. michael@0: pref("browser.uiCustomization.debug", false); michael@0: michael@0: // CustomizableUI state of the browser's user interface michael@0: pref("browser.uiCustomization.state", ""); michael@0: michael@0: // The remote content URL shown for FxA signup. Must use HTTPS. michael@0: pref("identity.fxaccounts.remote.signup.uri", "https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v1"); michael@0: michael@0: // The URL where remote content that forces re-authentication for Firefox Accounts michael@0: // should be fetched. Must use HTTPS. michael@0: pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.firefox.com/force_auth?service=sync&context=fx_desktop_v1"); michael@0: michael@0: // The remote content URL shown for signin in. Must use HTTPS. michael@0: pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com/signin?service=sync&context=fx_desktop_v1"); michael@0: michael@0: // The URL we take the user to when they opt to "manage" their Firefox Account. michael@0: // Note that this will always need to be in the same TLD as the michael@0: // "identity.fxaccounts.remote.signup.uri" pref. michael@0: pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com/settings"); michael@0: michael@0: // On GTK, we now default to showing the menubar only when alt is pressed: michael@0: #ifdef MOZ_WIDGET_GTK michael@0: pref("ui.key.menuAccessKeyFocuses", true); michael@0: #endif michael@0: michael@0: michael@0: // Delete HTTP cache v2 data of users that didn't opt-in manually michael@0: pref("browser.cache.auto_delete_cache_version", 1); michael@0: // Play with different values of the decay time and get telemetry, michael@0: // 0 means to randomize (and persist) the experiment value in users' profiles, michael@0: // -1 means no experiment is run and we use the preferred value for frecency (6h) michael@0: pref("browser.cache.frecency_experiment", 0); michael@0: michael@0: pref("browser.translation.detectLanguage", false); michael@0: michael@0: // Telemetry experiments settings. michael@0: pref("experiments.enabled", true); michael@0: pref("experiments.manifest.fetchIntervalSeconds", 86400); michael@0: pref("experiments.manifest.uri", "https://telemetry-experiment.cdn.mozilla.net/manifest/v1/firefox/%VERSION%/%CHANNEL%"); michael@0: pref("experiments.manifest.certs.1.commonName", "*.cdn.mozilla.net"); michael@0: pref("experiments.manifest.certs.1.issuerName", "CN=Cybertrust Public SureServer SV CA,O=Cybertrust Inc"); michael@0: // Whether experiments are supported by the current application profile. michael@0: pref("experiments.supported", true);