browser/app/profile/firefox.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/app/profile/firefox.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,1552 @@
     1.4 +# -*- Mode: JavaScript; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
     1.5 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.8 +
     1.9 +// XXX Toolkit-specific preferences should be moved into toolkit.js
    1.10 +
    1.11 +#filter substitution
    1.12 +
    1.13 +#
    1.14 +# SYNTAX HINTS:
    1.15 +#
    1.16 +#  - Dashes are delimiters; use underscores instead.
    1.17 +#  - The first character after a period must be alphabetic.
    1.18 +#  - Computed values (e.g. 50 * 1024) don't work.
    1.19 +#
    1.20 +
    1.21 +#ifdef XP_UNIX
    1.22 +#ifndef XP_MACOSX
    1.23 +#define UNIX_BUT_NOT_MAC
    1.24 +#endif
    1.25 +#endif
    1.26 +
    1.27 +pref("browser.chromeURL","chrome://browser/content/");
    1.28 +pref("browser.hiddenWindowChromeURL", "chrome://browser/content/hiddenWindow.xul");
    1.29 +
    1.30 +// Enables some extra Extension System Logging (can reduce performance)
    1.31 +pref("extensions.logging.enabled", false);
    1.32 +
    1.33 +// Disables strict compatibility, making addons compatible-by-default.
    1.34 +pref("extensions.strictCompatibility", false);
    1.35 +
    1.36 +// Specifies a minimum maxVersion an addon needs to say it's compatible with
    1.37 +// for it to be compatible by default.
    1.38 +pref("extensions.minCompatibleAppVersion", "4.0");
    1.39 +// Temporary preference to forcibly make themes more safe with Australis even if
    1.40 +// extensions.checkCompatibility=false has been set.
    1.41 +pref("extensions.checkCompatibility.temporaryThemeOverride_minAppVersion", "29.0a1");
    1.42 +
    1.43 +// Preferences for AMO integration
    1.44 +pref("extensions.getAddons.cache.enabled", true);
    1.45 +pref("extensions.getAddons.maxResults", 15);
    1.46 +pref("extensions.getAddons.get.url", "https://services.addons.mozilla.org/%LOCALE%/firefox/api/%API_VERSION%/search/guid:%IDS%?src=firefox&appOS=%OS%&appVersion=%VERSION%");
    1.47 +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%");
    1.48 +pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%&platform=%OS%&appver=%VERSION%");
    1.49 +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");
    1.50 +pref("extensions.webservice.discoverURL", "https://services.addons.mozilla.org/%LOCALE%/firefox/discovery/pane/%VERSION%/%OS%/%COMPATIBILITY_MODE%");
    1.51 +pref("extensions.getAddons.recommended.url", "https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/list/recommended/all/%MAX_RESULTS%/%OS%/%VERSION%?src=firefox");
    1.52 +
    1.53 +// Blocklist preferences
    1.54 +pref("extensions.blocklist.enabled", true);
    1.55 +pref("extensions.blocklist.interval", 86400);
    1.56 +// Controls what level the blocklist switches from warning about items to forcibly
    1.57 +// blocking them.
    1.58 +pref("extensions.blocklist.level", 2);
    1.59 +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%/");
    1.60 +pref("extensions.blocklist.detailsURL", "https://www.mozilla.org/%LOCALE%/blocklist/");
    1.61 +pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
    1.62 +
    1.63 +pref("extensions.update.autoUpdateDefault", true);
    1.64 +
    1.65 +pref("extensions.hotfix.id", "firefox-hotfix@mozilla.org");
    1.66 +pref("extensions.hotfix.cert.checkAttributes", true);
    1.67 +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");
    1.68 +
    1.69 +// Disable add-ons that are not installed by the user in all scopes by default.
    1.70 +// See the SCOPE constants in AddonManager.jsm for values to use here.
    1.71 +pref("extensions.autoDisableScopes", 15);
    1.72 +
    1.73 +// Dictionary download preference
    1.74 +pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/firefox/dictionaries/");
    1.75 +
    1.76 +// At startup, should we check to see if the installation
    1.77 +// date is older than some threshold
    1.78 +pref("app.update.checkInstallTime", true);
    1.79 +
    1.80 +// The number of days a binary is permitted to be old without checking is defined in
    1.81 +// firefox-branding.js (app.update.checkInstallTime.days)
    1.82 +
    1.83 +// The minimum delay in seconds for the timer to fire.
    1.84 +// default=2 minutes
    1.85 +pref("app.update.timerMinimumDelay", 120);
    1.86 +
    1.87 +// App-specific update preferences
    1.88 +
    1.89 +// The interval to check for updates (app.update.interval) is defined in
    1.90 +// firefox-branding.js
    1.91 +
    1.92 +// Alternative windowtype for an application update user interface window. When
    1.93 +// a window with this windowtype is open the application update service won't
    1.94 +// open the normal application update user interface window.
    1.95 +pref("app.update.altwindowtype", "Browser:About");
    1.96 +
    1.97 +// Enables some extra Application Update Logging (can reduce performance)
    1.98 +pref("app.update.log", false);
    1.99 +
   1.100 +// The number of general background check failures to allow before notifying the
   1.101 +// user of the failure. User initiated update checks always notify the user of
   1.102 +// the failure.
   1.103 +pref("app.update.backgroundMaxErrors", 10);
   1.104 +
   1.105 +// When |app.update.cert.requireBuiltIn| is true or not specified the
   1.106 +// final certificate and all certificates the connection is redirected to before
   1.107 +// the final certificate for the url specified in the |app.update.url|
   1.108 +// preference must be built-in.
   1.109 +pref("app.update.cert.requireBuiltIn", true);
   1.110 +
   1.111 +// When |app.update.cert.checkAttributes| is true or not specified the
   1.112 +// certificate attributes specified in the |app.update.certs.| preference branch
   1.113 +// are checked against the certificate for the url specified by the
   1.114 +// |app.update.url| preference.
   1.115 +pref("app.update.cert.checkAttributes", true);
   1.116 +
   1.117 +// The number of certificate attribute check failures to allow for background
   1.118 +// update checks before notifying the user of the failure. User initiated update
   1.119 +// checks always notify the user of the certificate attribute check failure.
   1.120 +pref("app.update.cert.maxErrors", 5);
   1.121 +
   1.122 +// The |app.update.certs.| preference branch contains branches that are
   1.123 +// sequentially numbered starting at 1 that contain attribute name / value
   1.124 +// pairs for the certificate used by the server that hosts the update xml file
   1.125 +// as specified in the |app.update.url| preference. When these preferences are
   1.126 +// present the following conditions apply for a successful update check:
   1.127 +// 1. the uri scheme must be https
   1.128 +// 2. the preference name must exist as an attribute name on the certificate and
   1.129 +//    the value for the name must be the same as the value for the attribute name
   1.130 +//    on the certificate.
   1.131 +// If these conditions aren't met it will be treated the same as when there is
   1.132 +// no update available. This validation will not be performed when the
   1.133 +// |app.update.url.override| user preference has been set for testing updates or
   1.134 +// when the |app.update.cert.checkAttributes| preference is set to false. Also,
   1.135 +// the |app.update.url.override| preference should ONLY be used for testing.
   1.136 +// IMPORTANT! metro.js should also be updated for updates to certs.X.issuerName
   1.137 +
   1.138 +pref("app.update.certs.1.issuerName", "CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US");
   1.139 +pref("app.update.certs.1.commonName", "*.torproject.org");
   1.140 +
   1.141 +// Whether or not app updates are enabled
   1.142 +pref("app.update.enabled", true);
   1.143 +
   1.144 +// This preference turns on app.update.mode and allows automatic download and
   1.145 +// install to take place. We use a separate boolean toggle for this to make
   1.146 +// the UI easier to construct.
   1.147 +pref("app.update.auto", true);
   1.148 +
   1.149 +// See chart in nsUpdateService.js source for more details
   1.150 +// incompatibilities are ignored by updates in Metro
   1.151 +pref("app.update.mode", 1);
   1.152 +
   1.153 +#ifdef XP_WIN
   1.154 +#ifdef MOZ_METRO
   1.155 +// Enables update checking in the Metro environment.
   1.156 +// add-on incompatibilities are ignored by updates in Metro.
   1.157 +pref("app.update.metro.enabled", true);
   1.158 +#endif
   1.159 +#endif
   1.160 +
   1.161 +// If set to true, the Update Service will present no UI for any event.
   1.162 +pref("app.update.silent", false);
   1.163 +
   1.164 +// If set to true, the Update Service will apply updates in the background
   1.165 +// when it finishes downloading them.
   1.166 +pref("app.update.staging.enabled", true);
   1.167 +
   1.168 +// Update service URL:
   1.169 +pref("app.update.url", "https://www.torproject.org/dist/torbrowser/update_2/%CHANNEL%/%BUILD_TARGET%/%VERSION%/%LOCALE%");
   1.170 +// app.update.url.manual is in branding section
   1.171 +// app.update.url.details is in branding section
   1.172 +
   1.173 +// User-settable override to app.update.url for testing purposes.
   1.174 +//pref("app.update.url.override", "");
   1.175 +
   1.176 +// app.update.interval is in branding section
   1.177 +// app.update.promptWaitTime is in branding section
   1.178 +
   1.179 +// Show the Update Checking/Ready UI when the user was idle for x seconds
   1.180 +pref("app.update.idletime", 60);
   1.181 +
   1.182 +// Whether or not we show a dialog box informing the user that the update was
   1.183 +// successfully applied. This is off in Firefox by default since we show a 
   1.184 +// upgrade start page instead! Other apps may wish to show this UI, and supply
   1.185 +// a whatsNewURL field in their brand.properties that contains a link to a page
   1.186 +// which tells users what's new in this new update.
   1.187 +pref("app.update.showInstalledUI", true);
   1.188 +
   1.189 +// 0 = suppress prompting for incompatibilities if there are updates available
   1.190 +//     to newer versions of installed addons that resolve them.
   1.191 +// 1 = suppress prompting for incompatibilities only if there are VersionInfo
   1.192 +//     updates available to installed addons that resolve them, not newer
   1.193 +//     versions.
   1.194 +pref("app.update.incompatible.mode", 0);
   1.195 +
   1.196 +// Whether or not to attempt using the service for updates.
   1.197 +#ifdef MOZ_MAINTENANCE_SERVICE
   1.198 +pref("app.update.service.enabled", true);
   1.199 +#endif
   1.200 +
   1.201 +// Symmetric (can be overridden by individual extensions) update preferences.
   1.202 +// e.g.
   1.203 +//  extensions.{GUID}.update.enabled
   1.204 +//  extensions.{GUID}.update.url
   1.205 +//  .. etc ..
   1.206 +//
   1.207 +pref("extensions.update.enabled", true);
   1.208 +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%");
   1.209 +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%");
   1.210 +pref("extensions.update.interval", 86400);  // Check for updates to Extensions and 
   1.211 +                                            // Themes every day
   1.212 +// Non-symmetric (not shared by extensions) extension-specific [update] preferences
   1.213 +pref("extensions.dss.enabled", false);          // Dynamic Skin Switching                                               
   1.214 +pref("extensions.dss.switchPending", false);    // Non-dynamic switch pending after next
   1.215 +                                                // restart.
   1.216 +
   1.217 +pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://browser/locale/browser.properties");
   1.218 +pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.description", "chrome://browser/locale/browser.properties");
   1.219 +
   1.220 +pref("xpinstall.whitelist.add", "addons.mozilla.org");
   1.221 +pref("xpinstall.whitelist.add.180", "marketplace.firefox.com");
   1.222 +
   1.223 +pref("lightweightThemes.update.enabled", true);
   1.224 +
   1.225 +// UI tour experience.
   1.226 +pref("browser.uitour.enabled", true);
   1.227 +pref("browser.uitour.requireSecure", true);
   1.228 +pref("browser.uitour.themeOrigin", "https://addons.mozilla.org/%LOCALE%/firefox/themes/");
   1.229 +pref("browser.uitour.pinnedTabUrl", "https://support.mozilla.org/%LOCALE%/kb/pinned-tabs-keep-favorite-websites-open");
   1.230 +pref("browser.uitour.url", "https://www.mozilla.org/%LOCALE%/firefox/%VERSION%/tour/");
   1.231 +pref("browser.uitour.whitelist.add.260", "www.mozilla.org,support.mozilla.org");
   1.232 +
   1.233 +pref("browser.customizemode.tip0.shown", false);
   1.234 +pref("browser.customizemode.tip0.learnMoreUrl", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/customize");
   1.235 +
   1.236 +pref("keyword.enabled", true);
   1.237 +
   1.238 +pref("general.useragent.locale", "@AB_CD@");
   1.239 +pref("general.skins.selectedSkin", "classic/1.0");
   1.240 +
   1.241 +pref("general.smoothScroll", true);
   1.242 +#ifdef UNIX_BUT_NOT_MAC
   1.243 +pref("general.autoScroll", false);
   1.244 +#else
   1.245 +pref("general.autoScroll", true);
   1.246 +#endif
   1.247 +
   1.248 +// At startup, check if we're the default browser and prompt user if not.
   1.249 +pref("browser.shell.checkDefaultBrowser", true);
   1.250 +pref("browser.shell.shortcutFavicons",true);
   1.251 +
   1.252 +// 0 = blank, 1 = home (browser.startup.homepage), 2 = last visited page, 3 = resume previous browser session
   1.253 +// The behavior of option 3 is detailed at: http://wiki.mozilla.org/Session_Restore
   1.254 +pref("browser.startup.page",                1);
   1.255 +pref("browser.startup.homepage",            "chrome://branding/locale/browserconfig.properties");
   1.256 +
   1.257 +pref("browser.slowStartup.notificationDisabled", false);
   1.258 +pref("browser.slowStartup.timeThreshold", 50000);
   1.259 +pref("browser.slowStartup.maxSamples", 5);
   1.260 +
   1.261 +// This url, if changed, MUST continue to point to an https url. Pulling arbitrary content to inject into
   1.262 +// 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
   1.263 +// repackager of this code using an alternate snippet url, please keep your users safe
   1.264 +pref("browser.aboutHomeSnippets.updateUrl", "https://snippets.mozilla.com/%STARTPAGE_VERSION%/%NAME%/%VERSION%/%APPBUILDID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/");
   1.265 +
   1.266 +pref("browser.enable_automatic_image_resizing", true);
   1.267 +pref("browser.chrome.site_icons", true);
   1.268 +pref("browser.chrome.favicons", true);
   1.269 +// browser.warnOnQuit == false will override all other possible prompts when quitting or restarting
   1.270 +pref("browser.warnOnQuit", true);
   1.271 +// browser.showQuitWarning specifically controls the quit warning dialog. We
   1.272 +// might still show the window closing dialog with showQuitWarning == false.
   1.273 +pref("browser.showQuitWarning", false);
   1.274 +pref("browser.fullscreen.autohide", true);
   1.275 +pref("browser.fullscreen.animateUp", 1);
   1.276 +pref("browser.overlink-delay", 80);
   1.277 +
   1.278 +#ifdef UNIX_BUT_NOT_MAC
   1.279 +pref("browser.urlbar.clickSelectsAll", false);
   1.280 +#else
   1.281 +pref("browser.urlbar.clickSelectsAll", true);
   1.282 +#endif
   1.283 +#ifdef UNIX_BUT_NOT_MAC
   1.284 +pref("browser.urlbar.doubleClickSelectsAll", true);
   1.285 +#else
   1.286 +pref("browser.urlbar.doubleClickSelectsAll", false);
   1.287 +#endif
   1.288 +pref("browser.urlbar.autoFill", true);
   1.289 +pref("browser.urlbar.autoFill.typed", true);
   1.290 +// 0: Match anywhere (e.g., middle of words)
   1.291 +// 1: Match on word boundaries and then try matching anywhere
   1.292 +// 2: Match only on word boundaries (e.g., after / or .)
   1.293 +// 3: Match at the beginning of the url or title
   1.294 +pref("browser.urlbar.matchBehavior", 1);
   1.295 +pref("browser.urlbar.filter.javascript", true);
   1.296 +
   1.297 +// the maximum number of results to show in autocomplete when doing richResults
   1.298 +pref("browser.urlbar.maxRichResults", 12);
   1.299 +// The amount of time (ms) to wait after the user has stopped typing
   1.300 +// before starting to perform autocomplete.  50 is the default set in
   1.301 +// autocomplete.xml.
   1.302 +pref("browser.urlbar.delay", 50);
   1.303 +
   1.304 +// The special characters below can be typed into the urlbar to either restrict
   1.305 +// the search to visited history, bookmarked, tagged pages; or force a match on
   1.306 +// just the title text or url.
   1.307 +pref("browser.urlbar.restrict.history", "^");
   1.308 +pref("browser.urlbar.restrict.bookmark", "*");
   1.309 +pref("browser.urlbar.restrict.tag", "+");
   1.310 +pref("browser.urlbar.restrict.openpage", "%");
   1.311 +pref("browser.urlbar.restrict.typed", "~");
   1.312 +pref("browser.urlbar.match.title", "#");
   1.313 +pref("browser.urlbar.match.url", "@");
   1.314 +
   1.315 +// The default behavior for the urlbar can be configured to use any combination
   1.316 +// of the restrict or match filters with each additional filter restricting
   1.317 +// more (intersection). Add the following values to set the behavior as the
   1.318 +// default: 1: history, 2: bookmark, 4: tag, 8: title, 16: url, 32: typed,
   1.319 +//          64: javascript, 128: tabs
   1.320 +// E.g., 0 = show all results (no filtering), 1 = only visited pages in history,
   1.321 +// 2 = only bookmarks, 3 = visited bookmarks, 1+16 = history matching in the url
   1.322 +pref("browser.urlbar.default.behavior", 0);
   1.323 +
   1.324 +pref("browser.urlbar.formatting.enabled", true);
   1.325 +pref("browser.urlbar.trimURLs", true);
   1.326 +
   1.327 +pref("browser.altClickSave", false);
   1.328 +
   1.329 +// Enable logging downloads operations to the Error Console.
   1.330 +pref("browser.download.debug", false);
   1.331 +
   1.332 +// Number of milliseconds to wait for the http headers (and thus
   1.333 +// the Content-Disposition filename) before giving up and falling back to 
   1.334 +// picking a filename without that info in hand so that the user sees some
   1.335 +// feedback from their action.
   1.336 +pref("browser.download.saveLinkAsFilenameTimeout", 4000);
   1.337 +
   1.338 +pref("browser.download.useDownloadDir", true);
   1.339 +pref("browser.download.folderList", 1);
   1.340 +pref("browser.download.manager.addToRecentDocs", true);
   1.341 +pref("browser.download.manager.resumeOnWakeDelay", 10000);
   1.342 +
   1.343 +// This allows disabling the animated notifications shown by
   1.344 +// the Downloads Indicator when a download starts or completes.
   1.345 +pref("browser.download.animateNotifications", true);
   1.346 +
   1.347 +// This records whether or not the panel has been shown at least once.
   1.348 +pref("browser.download.panel.shown", false);
   1.349 +
   1.350 +#ifndef XP_MACOSX
   1.351 +pref("browser.helperApps.deleteTempFileOnExit", true);
   1.352 +#endif
   1.353 +
   1.354 +// search engines URL
   1.355 +pref("browser.search.searchEnginesURL",      "https://addons.mozilla.org/%LOCALE%/firefox/search-engines/");
   1.356 +
   1.357 +// pointer to the default engine name
   1.358 +pref("browser.search.defaultenginename",      "chrome://browser-region/locale/region.properties");
   1.359 +
   1.360 +// disable logging for the search service by default
   1.361 +pref("browser.search.log", false);
   1.362 +
   1.363 +// Ordering of Search Engines in the Engine list. 
   1.364 +pref("browser.search.order.1",                "chrome://browser-region/locale/region.properties");
   1.365 +pref("browser.search.order.2",                "chrome://browser-region/locale/region.properties");
   1.366 +pref("browser.search.order.3",                "chrome://browser-region/locale/region.properties");
   1.367 +
   1.368 +// search bar results always open in a new tab
   1.369 +pref("browser.search.openintab", false);
   1.370 +
   1.371 +// context menu searches open in the foreground
   1.372 +pref("browser.search.context.loadInBackground", false);
   1.373 +
   1.374 +// send ping to the server to update
   1.375 +pref("browser.search.update", true);
   1.376 +
   1.377 +// disable logging for the search service update system by default
   1.378 +pref("browser.search.update.log", false);
   1.379 +
   1.380 +// Check whether we need to perform engine updates every 6 hours
   1.381 +pref("browser.search.update.interval", 21600);
   1.382 +
   1.383 +// enable search suggestions by default
   1.384 +pref("browser.search.suggest.enabled", true);
   1.385 +
   1.386 +#ifdef MOZ_OFFICIAL_BRANDING
   1.387 +// {moz:official} expands to "official"
   1.388 +pref("browser.search.official", true);
   1.389 +#endif
   1.390 +
   1.391 +pref("browser.sessionhistory.max_entries", 50);
   1.392 +
   1.393 +// handle links targeting new windows
   1.394 +// 1=current window/tab, 2=new window, 3=new tab in most recent window
   1.395 +pref("browser.link.open_newwindow", 3);
   1.396 +
   1.397 +// handle external links (i.e. links opened from a different application)
   1.398 +// default: use browser.link.open_newwindow
   1.399 +// 1-3: see browser.link.open_newwindow for interpretation
   1.400 +pref("browser.link.open_newwindow.override.external", -1);
   1.401 +
   1.402 +// 0: no restrictions - divert everything
   1.403 +// 1: don't divert window.open at all
   1.404 +// 2: don't divert window.open with features
   1.405 +pref("browser.link.open_newwindow.restriction", 2);
   1.406 +
   1.407 +// If true, this pref causes windows opened by window.open to be forced into new
   1.408 +// tabs (rather than potentially opening separate windows, depending on
   1.409 +// window.open arguments) when the browser is in fullscreen mode.
   1.410 +// We set this differently on Mac because the fullscreen implementation there is
   1.411 +// different.
   1.412 +#ifdef XP_MACOSX
   1.413 +pref("browser.link.open_newwindow.disabled_in_fullscreen", true);
   1.414 +#else
   1.415 +pref("browser.link.open_newwindow.disabled_in_fullscreen", false);
   1.416 +#endif
   1.417 +
   1.418 +// Tabbed browser
   1.419 +pref("browser.tabs.closeWindowWithLastTab", true);
   1.420 +pref("browser.tabs.insertRelatedAfterCurrent", true);
   1.421 +pref("browser.tabs.warnOnClose", true);
   1.422 +pref("browser.tabs.warnOnCloseOtherTabs", true);
   1.423 +pref("browser.tabs.warnOnOpen", true);
   1.424 +pref("browser.tabs.maxOpenBeforeWarn", 15);
   1.425 +pref("browser.tabs.loadInBackground", true);
   1.426 +pref("browser.tabs.opentabfor.middleclick", true);
   1.427 +pref("browser.tabs.loadDivertedInBackground", false);
   1.428 +pref("browser.tabs.loadBookmarksInBackground", false);
   1.429 +pref("browser.tabs.tabClipWidth", 140);
   1.430 +pref("browser.tabs.animate", true);
   1.431 +#ifdef UNIX_BUT_NOT_MAC
   1.432 +pref("browser.tabs.drawInTitlebar", false);
   1.433 +#else
   1.434 +pref("browser.tabs.drawInTitlebar", true);
   1.435 +#endif
   1.436 +
   1.437 +// When tabs opened by links in other tabs via a combination of 
   1.438 +// browser.link.open_newwindow being set to 3 and target="_blank" etc are
   1.439 +// closed:
   1.440 +// true   return to the tab that opened this tab (its owner)
   1.441 +// false  return to the adjacent tab (old default)
   1.442 +pref("browser.tabs.selectOwnerOnClose", true);
   1.443 +
   1.444 +pref("browser.ctrlTab.previews", false);
   1.445 +
   1.446 +// By default, do not export HTML at shutdown.
   1.447 +// If true, at shutdown the bookmarks in your menu and toolbar will
   1.448 +// be exported as HTML to the bookmarks.html file.
   1.449 +pref("browser.bookmarks.autoExportHTML",          false);
   1.450 +
   1.451 +// The maximum number of daily bookmark backups to 
   1.452 +// keep in {PROFILEDIR}/bookmarkbackups. Special values:
   1.453 +// -1: unlimited
   1.454 +//  0: no backups created (and deletes all existing backups)
   1.455 +pref("browser.bookmarks.max_backups",             15);
   1.456 +
   1.457 +// Scripts & Windows prefs
   1.458 +pref("dom.disable_open_during_load",              true);
   1.459 +pref("javascript.options.showInConsole",          true);
   1.460 +#ifdef DEBUG
   1.461 +pref("general.warnOnAboutConfig",                 false);
   1.462 +#endif
   1.463 +
   1.464 +// This is the pref to control the location bar, change this to true to 
   1.465 +// force this - this makes the origin of popup windows more obvious to avoid
   1.466 +// spoofing. We would rather not do it by default because it affects UE for web
   1.467 +// applications, but without it there isn't a really good way to prevent chrome
   1.468 +// spoofing, see bug 337344
   1.469 +pref("dom.disable_window_open_feature.location",  true);
   1.470 +// prevent JS from setting status messages
   1.471 +pref("dom.disable_window_status_change",          true);
   1.472 +// allow JS to move and resize existing windows
   1.473 +pref("dom.disable_window_move_resize",            false);
   1.474 +// prevent JS from monkeying with window focus, etc
   1.475 +pref("dom.disable_window_flip",                   true);
   1.476 +
   1.477 +// Disable touch events on Desktop Firefox by default until they are properly
   1.478 +// supported (bug 736048)
   1.479 +pref("dom.w3c_touch_events.enabled",        0);
   1.480 +
   1.481 +// popups.policy 1=allow,2=reject
   1.482 +pref("privacy.popups.policy",               1);
   1.483 +pref("privacy.popups.usecustom",            true);
   1.484 +pref("privacy.popups.showBrowserMessage",   true);
   1.485 +
   1.486 +pref("privacy.item.cookies",                false);
   1.487 +
   1.488 +pref("privacy.clearOnShutdown.history",     true);
   1.489 +pref("privacy.clearOnShutdown.formdata",    true);
   1.490 +pref("privacy.clearOnShutdown.passwords",   false);
   1.491 +pref("privacy.clearOnShutdown.downloads",   true);
   1.492 +pref("privacy.clearOnShutdown.cookies",     true);
   1.493 +pref("privacy.clearOnShutdown.cache",       true);
   1.494 +pref("privacy.clearOnShutdown.sessions",    true);
   1.495 +pref("privacy.clearOnShutdown.offlineApps", false);
   1.496 +pref("privacy.clearOnShutdown.siteSettings", false);
   1.497 +
   1.498 +pref("privacy.cpd.history",                 true);
   1.499 +pref("privacy.cpd.formdata",                true);
   1.500 +pref("privacy.cpd.passwords",               false);
   1.501 +pref("privacy.cpd.downloads",               true);
   1.502 +pref("privacy.cpd.cookies",                 true);
   1.503 +pref("privacy.cpd.cache",                   true);
   1.504 +pref("privacy.cpd.sessions",                true);
   1.505 +pref("privacy.cpd.offlineApps",             false);
   1.506 +pref("privacy.cpd.siteSettings",            false);
   1.507 +
   1.508 +// What default should we use for the time span in the sanitizer:
   1.509 +// 0 - Clear everything
   1.510 +// 1 - Last Hour
   1.511 +// 2 - Last 2 Hours
   1.512 +// 3 - Last 4 Hours
   1.513 +// 4 - Today
   1.514 +pref("privacy.sanitize.timeSpan", 1);
   1.515 +pref("privacy.sanitize.sanitizeOnShutdown", false);
   1.516 +
   1.517 +pref("privacy.sanitize.migrateFx3Prefs",    false);
   1.518 +
   1.519 +pref("network.proxy.share_proxy_settings",  false); // use the same proxy settings for all protocols
   1.520 +
   1.521 +// The privacy.thirdparty.isolate pref determines whether
   1.522 +// an isolated DOM Storage map and image cache are
   1.523 +// maintained for each URL bar domain.
   1.524 +// 0 - No isolation
   1.525 +// 1 - Enable isolation in private windows
   1.526 +// 2 - Enable isolation everywhere
   1.527 +pref("privacy.thirdparty.isolate",          1);
   1.528 +
   1.529 +// simple gestures support
   1.530 +pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
   1.531 +pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
   1.532 +pref("browser.gesture.swipe.up", "cmd_scrollTop");
   1.533 +pref("browser.gesture.swipe.down", "cmd_scrollBottom");
   1.534 +#ifdef XP_MACOSX
   1.535 +pref("browser.gesture.pinch.latched", true);
   1.536 +pref("browser.gesture.pinch.threshold", 150);
   1.537 +#else
   1.538 +pref("browser.gesture.pinch.latched", false);
   1.539 +pref("browser.gesture.pinch.threshold", 25);
   1.540 +#endif
   1.541 +#ifdef XP_WIN
   1.542 +// Enabled for touch input display zoom.
   1.543 +pref("browser.gesture.pinch.out", "cmd_fullZoomEnlarge");
   1.544 +pref("browser.gesture.pinch.in", "cmd_fullZoomReduce");
   1.545 +pref("browser.gesture.pinch.out.shift", "cmd_fullZoomReset");
   1.546 +pref("browser.gesture.pinch.in.shift", "cmd_fullZoomReset");
   1.547 +#else
   1.548 +// Disabled by default due to issues with track pad input.
   1.549 +pref("browser.gesture.pinch.out", "");
   1.550 +pref("browser.gesture.pinch.in", "");
   1.551 +pref("browser.gesture.pinch.out.shift", "");
   1.552 +pref("browser.gesture.pinch.in.shift", "");
   1.553 +#endif
   1.554 +pref("browser.gesture.twist.latched", false);
   1.555 +pref("browser.gesture.twist.threshold", 0);
   1.556 +pref("browser.gesture.twist.right", "cmd_gestureRotateRight");
   1.557 +pref("browser.gesture.twist.left", "cmd_gestureRotateLeft");
   1.558 +pref("browser.gesture.twist.end", "cmd_gestureRotateEnd");
   1.559 +pref("browser.gesture.tap", "cmd_fullZoomReset");
   1.560 +
   1.561 +pref("browser.snapshots.limit", 0);
   1.562 +
   1.563 +// 0: Nothing happens
   1.564 +// 1: Scrolling contents
   1.565 +// 2: Go back or go forward, in your history
   1.566 +// 3: Zoom in or out.
   1.567 +#ifdef XP_MACOSX
   1.568 +// On OS X, if the wheel has one axis only, shift+wheel comes through as a
   1.569 +// horizontal scroll event. Thus, we can't assign anything other than normal
   1.570 +// scrolling to shift+wheel.
   1.571 +pref("mousewheel.with_alt.action", 2);
   1.572 +pref("mousewheel.with_shift.action", 1);
   1.573 +// On MacOS X, control+wheel is typically handled by system and we don't
   1.574 +// receive the event.  So, command key which is the main modifier key for
   1.575 +// acceleration is the best modifier for zoom-in/out.  However, we should keep
   1.576 +// the control key setting for backward compatibility.
   1.577 +pref("mousewheel.with_meta.action", 3); // command key on Mac
   1.578 +// Disable control-/meta-modified horizontal mousewheel events, since
   1.579 +// those are used on Mac as part of modified swipe gestures (e.g.
   1.580 +// Left swipe+Cmd = go back in a new tab).
   1.581 +pref("mousewheel.with_control.action.override_x", 0);
   1.582 +pref("mousewheel.with_meta.action.override_x", 0);
   1.583 +#else
   1.584 +pref("mousewheel.with_alt.action", 1);
   1.585 +pref("mousewheel.with_shift.action", 2);
   1.586 +pref("mousewheel.with_meta.action", 1); // win key on Win, Super/Hyper on Linux
   1.587 +#endif
   1.588 +pref("mousewheel.with_control.action",3);
   1.589 +pref("mousewheel.with_win.action", 1);
   1.590 +
   1.591 +pref("browser.xul.error_pages.enabled", true);
   1.592 +pref("browser.xul.error_pages.expert_bad_cert", false);
   1.593 +
   1.594 +// Work Offline is best manually managed by the user.
   1.595 +pref("network.manage-offline-status", false);
   1.596 +
   1.597 +// We want to make sure mail URLs are handled externally...
   1.598 +pref("network.protocol-handler.external.mailto", true); // for mail
   1.599 +pref("network.protocol-handler.external.news", true);   // for news
   1.600 +pref("network.protocol-handler.external.snews", true);  // for secure news
   1.601 +pref("network.protocol-handler.external.nntp", true);   // also news
   1.602 +#ifdef XP_WIN
   1.603 +pref("network.protocol-handler.external.ms-windows-store", true);
   1.604 +#endif
   1.605 +
   1.606 +// ...without warning dialogs
   1.607 +pref("network.protocol-handler.warn-external.mailto", false);
   1.608 +pref("network.protocol-handler.warn-external.news", false);
   1.609 +pref("network.protocol-handler.warn-external.snews", false);
   1.610 +pref("network.protocol-handler.warn-external.nntp", false);
   1.611 +#ifdef XP_WIN
   1.612 +pref("network.protocol-handler.warn-external.ms-windows-store", false);
   1.613 +#endif
   1.614 +
   1.615 +// By default, all protocol handlers are exposed.  This means that
   1.616 +// the browser will respond to openURL commands for all URL types.
   1.617 +// It will also try to open link clicks inside the browser before
   1.618 +// failing over to the system handlers.
   1.619 +pref("network.protocol-handler.expose-all", true);
   1.620 +pref("network.protocol-handler.expose.mailto", false);
   1.621 +pref("network.protocol-handler.expose.news", false);
   1.622 +pref("network.protocol-handler.expose.snews", false);
   1.623 +pref("network.protocol-handler.expose.nntp", false);
   1.624 +
   1.625 +pref("accessibility.typeaheadfind", false);
   1.626 +pref("accessibility.typeaheadfind.timeout", 5000);
   1.627 +pref("accessibility.typeaheadfind.linksonly", false);
   1.628 +pref("accessibility.typeaheadfind.flashBar", 1);
   1.629 +
   1.630 +// plugin finder service url
   1.631 +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%");
   1.632 +
   1.633 +// by default we show an infobar message when pages require plugins that are blocked, or are outdated
   1.634 +pref("plugins.hide_infobar_for_blocked_plugin", false);
   1.635 +pref("plugins.hide_infobar_for_outdated_plugin", false);
   1.636 +
   1.637 +pref("plugins.update.url", "https://www.mozilla.org/%LOCALE%/plugincheck/");
   1.638 +pref("plugins.update.notifyUser", false);
   1.639 +
   1.640 +pref("plugins.click_to_play", true);
   1.641 +
   1.642 +pref("plugins.hideMissingPluginsNotification", false);
   1.643 +
   1.644 +pref("plugin.default.state", 1);
   1.645 +
   1.646 +// Plugins bundled in XPIs are enabled by default.
   1.647 +pref("plugin.defaultXpi.state", 2);
   1.648 +
   1.649 +// Flash is enabled by default, and Java is click-to-activate by default on
   1.650 +// all channels.
   1.651 +pref("plugin.state.flash", 2);
   1.652 +pref("plugin.state.java", 1);
   1.653 +
   1.654 +// Whitelist Requests
   1.655 +
   1.656 +// Unity player, bug 979849
   1.657 +#ifdef XP_WIN
   1.658 +pref("plugin.state.npunity3d", 2);
   1.659 +#endif
   1.660 +#ifdef XP_MACOSX
   1.661 +pref("plugin.state.unity web player", 2);
   1.662 +#endif
   1.663 +
   1.664 +// Cisco Jabber SDK, bug 980133
   1.665 +#ifdef XP_WIN
   1.666 +pref("plugin.state.npciscowebcommunicator", 2);
   1.667 +#endif
   1.668 +#ifdef XP_MACOSX
   1.669 +pref("plugin.state.ciscowebcommunicator", 2);
   1.670 +#endif
   1.671 +
   1.672 +// McAfee Security Scanner detection plugin, bug 980772
   1.673 +#ifdef XP_WIN
   1.674 +pref("plugin.state.npmcafeemss", 2);
   1.675 +#endif
   1.676 +
   1.677 +// Cisco VGConnect for directv.com, bug 981403
   1.678 +#ifdef XP_WIN
   1.679 +pref("plugin.state.npplayerplugin", 2);
   1.680 +#endif
   1.681 +#ifdef XP_MACOSX
   1.682 +pref("plugin.state.playerplugin", 2);
   1.683 +#endif
   1.684 +
   1.685 +// Cisco Jabber Client, bug 981905
   1.686 +#ifdef XP_WIN
   1.687 +pref("plugin.state.npchip", 2);
   1.688 +#endif
   1.689 +#ifdef XP_MACOSX
   1.690 +pref("plugin.state.cisco jabber guest plug-in", 2);
   1.691 +#endif
   1.692 +
   1.693 +// Estonian ID-card plugin, bug 982045
   1.694 +#ifdef XP_WIN
   1.695 +pref("plugin.state.npesteid-firefox-plugin", 2);
   1.696 +#endif
   1.697 +#ifdef XP_MACOSX
   1.698 +pref("plugin.state.esteidfirefoxplugin", 2);
   1.699 +#endif
   1.700 +#ifdef UNIX_BUT_NOT_MAC
   1.701 +pref("plugin.state.npesteid-firefox-plugin", 2);
   1.702 +#endif
   1.703 +
   1.704 +// coupons.com, bug 984441
   1.705 +#ifdef XP_WIN
   1.706 +pref("plugin.state.npmozcouponprinter", 2);
   1.707 +#endif
   1.708 +#ifdef XP_MACOSX
   1.709 +pref("plugin.state.couponprinter-firefox_v", 2);
   1.710 +#endif
   1.711 +
   1.712 +// Nexus Personal BankID, bug 987056
   1.713 +pref("plugin.state.npbispbrowser", 2);
   1.714 +
   1.715 +// Gradecam, bug 988119
   1.716 +#ifdef XP_WIN
   1.717 +pref("plugin.state.npgcplugin", 2);
   1.718 +#endif
   1.719 +#ifdef XP_MACOSX
   1.720 +pref("plugin.state.gcplugin", 2);
   1.721 +#endif
   1.722 +
   1.723 +// Smart Card Plugin, bug 988781
   1.724 +#ifdef XP_WIN
   1.725 +pref("plugin.state.npwebcard", 2);
   1.726 +#endif
   1.727 +
   1.728 +// Cisco WebEx, bug 989096
   1.729 +#ifdef XP_WIN
   1.730 +pref("plugin.state.npatgpc", 2);
   1.731 +#endif
   1.732 +#ifdef XP_MACOSX
   1.733 +pref("plugin.state.webex", 2);
   1.734 +#endif
   1.735 +#ifdef UNIX_BUT_NOT_MAC
   1.736 +pref("plugin.state.npatgpc", 2);
   1.737 +#endif
   1.738 +
   1.739 +// Skype, bug 990067
   1.740 +#ifdef XP_WIN
   1.741 +pref("plugin.state.npskypewebplugin", 2);
   1.742 +#endif
   1.743 +#ifdef XP_MACOSX
   1.744 +pref("plugin.state.skypewebplugin", 2);
   1.745 +#endif
   1.746 +
   1.747 +// Facebook video calling, bug 990068
   1.748 +#ifdef XP_WIN
   1.749 +pref("plugin.state.npfacebookvideocalling", 2);
   1.750 +#endif
   1.751 +#ifdef XP_MACOSX
   1.752 +pref("plugin.state.facebookvideocalling", 2);
   1.753 +#endif
   1.754 +
   1.755 +// MS Office Lync plugin, bug 990069
   1.756 +#ifdef XP_WIN
   1.757 +pref("plugin.state.npmeetingjoinpluginoc", 2);
   1.758 +#endif
   1.759 +#ifdef XP_MACOSX
   1.760 +pref("plugin.state.lwaplugin", 2);
   1.761 +#endif
   1.762 +
   1.763 +// VidyoWeb, bug 990286
   1.764 +#ifdef XP_WIN
   1.765 +pref("plugin.state.npvidyoweb", 2);
   1.766 +#endif
   1.767 +#ifdef XP_MACOSX
   1.768 +pref("plugin.state.npvidyoweb", 2);
   1.769 +pref("plugin.state.vidyoweb", 2);
   1.770 +#endif
   1.771 +
   1.772 +// McAfee Virtual Technician, bug 981503
   1.773 +#ifdef XP_WIN
   1.774 +pref("plugin.state.npmvtplugin", 2);
   1.775 +#endif
   1.776 +
   1.777 +// Verimatrix ViewRightWeb, bug 989872
   1.778 +#ifdef XP_WIN
   1.779 +pref("plugin.state.npviewright", 2);
   1.780 +#endif
   1.781 +#ifdef XP_MACOSX
   1.782 +pref("plugin.state.viewrightwebplayer", 2);
   1.783 +#endif
   1.784 +
   1.785 +// McAfee SiteAdvisor Enterprise, bug 987057
   1.786 +#ifdef XP_WIN
   1.787 +pref("plugin.state.npmcffplg", 2);
   1.788 +#endif
   1.789 +
   1.790 +// F5 Networks SSLVPN plugin, bug 985640
   1.791 +#ifdef XP_MACOSX
   1.792 +pref("plugin.state.f5 ssl vpn plugin", 2);
   1.793 +pref("plugin.state.f5 sam inspection host plugin", 2);
   1.794 +#endif
   1.795 +
   1.796 +// display door hanger if flash not installed
   1.797 +pref("plugins.notifyMissingFlash", true);
   1.798 +
   1.799 +#ifdef XP_WIN
   1.800 +pref("browser.preferences.instantApply", false);
   1.801 +#else
   1.802 +pref("browser.preferences.instantApply", true);
   1.803 +#endif
   1.804 +#ifdef XP_MACOSX
   1.805 +pref("browser.preferences.animateFadeIn", true);
   1.806 +#else
   1.807 +pref("browser.preferences.animateFadeIn", false);
   1.808 +#endif
   1.809 +
   1.810 +// Toggles between the two Preferences implementations, pop-up window and in-content
   1.811 +pref("browser.preferences.inContent", false);
   1.812 +
   1.813 +pref("browser.download.show_plugins_in_list", true);
   1.814 +pref("browser.download.hide_plugins_without_extensions", true);
   1.815 +
   1.816 +// Backspace and Shift+Backspace behavior
   1.817 +// 0 goes Back/Forward
   1.818 +// 1 act like PgUp/PgDown
   1.819 +// 2 and other values, nothing
   1.820 +#ifdef UNIX_BUT_NOT_MAC
   1.821 +pref("browser.backspace_action", 2);
   1.822 +#else
   1.823 +pref("browser.backspace_action", 0);
   1.824 +#endif
   1.825 +
   1.826 +// this will automatically enable inline spellchecking (if it is available) for
   1.827 +// editable elements in HTML
   1.828 +// 0 = spellcheck nothing
   1.829 +// 1 = check multi-line controls [default]
   1.830 +// 2 = check multi/single line controls
   1.831 +pref("layout.spellcheckDefault", 1);
   1.832 +
   1.833 +pref("browser.send_pings", false);
   1.834 +
   1.835 +/* initial web feed readers list */
   1.836 +pref("browser.contentHandlers.types.0.title", "chrome://browser-region/locale/region.properties");
   1.837 +pref("browser.contentHandlers.types.0.uri", "chrome://browser-region/locale/region.properties");
   1.838 +pref("browser.contentHandlers.types.0.type", "application/vnd.mozilla.maybe.feed");
   1.839 +pref("browser.contentHandlers.types.1.title", "chrome://browser-region/locale/region.properties");
   1.840 +pref("browser.contentHandlers.types.1.uri", "chrome://browser-region/locale/region.properties");
   1.841 +pref("browser.contentHandlers.types.1.type", "application/vnd.mozilla.maybe.feed");
   1.842 +pref("browser.contentHandlers.types.2.title", "chrome://browser-region/locale/region.properties");
   1.843 +pref("browser.contentHandlers.types.2.uri", "chrome://browser-region/locale/region.properties");
   1.844 +pref("browser.contentHandlers.types.2.type", "application/vnd.mozilla.maybe.feed");
   1.845 +pref("browser.contentHandlers.types.3.title", "chrome://browser-region/locale/region.properties");
   1.846 +pref("browser.contentHandlers.types.3.uri", "chrome://browser-region/locale/region.properties");
   1.847 +pref("browser.contentHandlers.types.3.type", "application/vnd.mozilla.maybe.feed");
   1.848 +pref("browser.contentHandlers.types.4.title", "chrome://browser-region/locale/region.properties");
   1.849 +pref("browser.contentHandlers.types.4.uri", "chrome://browser-region/locale/region.properties");
   1.850 +pref("browser.contentHandlers.types.4.type", "application/vnd.mozilla.maybe.feed");
   1.851 +pref("browser.contentHandlers.types.5.title", "chrome://browser-region/locale/region.properties");
   1.852 +pref("browser.contentHandlers.types.5.uri", "chrome://browser-region/locale/region.properties");
   1.853 +pref("browser.contentHandlers.types.5.type", "application/vnd.mozilla.maybe.feed");
   1.854 +
   1.855 +pref("browser.feeds.handler", "ask");
   1.856 +pref("browser.videoFeeds.handler", "ask");
   1.857 +pref("browser.audioFeeds.handler", "ask");
   1.858 +
   1.859 +// At startup, if the handler service notices that the version number in the
   1.860 +// region.properties file is newer than the version number in the handler
   1.861 +// service datastore, it will add any new handlers it finds in the prefs (as
   1.862 +// seeded by this file) to its datastore.  
   1.863 +pref("gecko.handlerService.defaultHandlersVersion", "chrome://browser-region/locale/region.properties");
   1.864 +
   1.865 +// The default set of web-based protocol handlers shown in the application
   1.866 +// selection dialog for webcal: ; I've arbitrarily picked 4 default handlers
   1.867 +// per protocol, but if some locale wants more than that (or defaults for some
   1.868 +// protocol not currently listed here), we should go ahead and add those.
   1.869 +
   1.870 +// webcal
   1.871 +pref("gecko.handlerService.schemes.webcal.0.name", "chrome://browser-region/locale/region.properties");
   1.872 +pref("gecko.handlerService.schemes.webcal.0.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.873 +pref("gecko.handlerService.schemes.webcal.1.name", "chrome://browser-region/locale/region.properties");
   1.874 +pref("gecko.handlerService.schemes.webcal.1.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.875 +pref("gecko.handlerService.schemes.webcal.2.name", "chrome://browser-region/locale/region.properties");
   1.876 +pref("gecko.handlerService.schemes.webcal.2.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.877 +pref("gecko.handlerService.schemes.webcal.3.name", "chrome://browser-region/locale/region.properties");
   1.878 +pref("gecko.handlerService.schemes.webcal.3.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.879 +
   1.880 +// mailto
   1.881 +pref("gecko.handlerService.schemes.mailto.0.name", "chrome://browser-region/locale/region.properties");
   1.882 +pref("gecko.handlerService.schemes.mailto.0.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.883 +pref("gecko.handlerService.schemes.mailto.1.name", "chrome://browser-region/locale/region.properties");
   1.884 +pref("gecko.handlerService.schemes.mailto.1.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.885 +pref("gecko.handlerService.schemes.mailto.2.name", "chrome://browser-region/locale/region.properties");
   1.886 +pref("gecko.handlerService.schemes.mailto.2.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.887 +pref("gecko.handlerService.schemes.mailto.3.name", "chrome://browser-region/locale/region.properties");
   1.888 +pref("gecko.handlerService.schemes.mailto.3.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.889 +
   1.890 +// irc
   1.891 +pref("gecko.handlerService.schemes.irc.0.name", "chrome://browser-region/locale/region.properties");
   1.892 +pref("gecko.handlerService.schemes.irc.0.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.893 +pref("gecko.handlerService.schemes.irc.1.name", "chrome://browser-region/locale/region.properties");
   1.894 +pref("gecko.handlerService.schemes.irc.1.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.895 +pref("gecko.handlerService.schemes.irc.2.name", "chrome://browser-region/locale/region.properties");
   1.896 +pref("gecko.handlerService.schemes.irc.2.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.897 +pref("gecko.handlerService.schemes.irc.3.name", "chrome://browser-region/locale/region.properties");
   1.898 +pref("gecko.handlerService.schemes.irc.3.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.899 +
   1.900 +// ircs
   1.901 +pref("gecko.handlerService.schemes.ircs.0.name", "chrome://browser-region/locale/region.properties");
   1.902 +pref("gecko.handlerService.schemes.ircs.0.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.903 +pref("gecko.handlerService.schemes.ircs.1.name", "chrome://browser-region/locale/region.properties");
   1.904 +pref("gecko.handlerService.schemes.ircs.1.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.905 +pref("gecko.handlerService.schemes.ircs.2.name", "chrome://browser-region/locale/region.properties");
   1.906 +pref("gecko.handlerService.schemes.ircs.2.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.907 +pref("gecko.handlerService.schemes.ircs.3.name", "chrome://browser-region/locale/region.properties");
   1.908 +pref("gecko.handlerService.schemes.ircs.3.uriTemplate", "chrome://browser-region/locale/region.properties");
   1.909 +
   1.910 +// By default, we don't want protocol/content handlers to be registered from a different host, see bug 402287
   1.911 +pref("gecko.handlerService.allowRegisterFromDifferentHost", false);
   1.912 +
   1.913 +#ifdef MOZ_SAFE_BROWSING
   1.914 +pref("browser.safebrowsing.enabled", true);
   1.915 +pref("browser.safebrowsing.malware.enabled", true);
   1.916 +pref("browser.safebrowsing.debug", false);
   1.917 +
   1.918 +pref("browser.safebrowsing.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2&key=%GOOGLE_API_KEY%");
   1.919 +pref("browser.safebrowsing.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client=SAFEBROWSING_ID&appver=%VERSION%&pver=2.2");
   1.920 +pref("browser.safebrowsing.reportURL", "https://safebrowsing.google.com/safebrowsing/report?");
   1.921 +pref("browser.safebrowsing.reportGenericURL", "http://%LOCALE%.phish-generic.mozilla.com/?hl=%LOCALE%");
   1.922 +pref("browser.safebrowsing.reportErrorURL", "http://%LOCALE%.phish-error.mozilla.com/?hl=%LOCALE%");
   1.923 +pref("browser.safebrowsing.reportPhishURL", "http://%LOCALE%.phish-report.mozilla.com/?hl=%LOCALE%");
   1.924 +pref("browser.safebrowsing.reportMalwareURL", "http://%LOCALE%.malware-report.mozilla.com/?hl=%LOCALE%");
   1.925 +pref("browser.safebrowsing.reportMalwareErrorURL", "http://%LOCALE%.malware-error.mozilla.com/?hl=%LOCALE%");
   1.926 +
   1.927 +pref("browser.safebrowsing.malware.reportURL", "https://safebrowsing.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site=");
   1.928 +pref("browser.safebrowsing.appRepURL", "https://sb-ssl.google.com/safebrowsing/clientreport/download?key=%GOOGLE_API_KEY%");
   1.929 +
   1.930 +#ifdef MOZILLA_OFFICIAL
   1.931 +// Normally the "client ID" sent in updates is appinfo.name, but for
   1.932 +// official Firefox releases from Mozilla we use a special identifier.
   1.933 +pref("browser.safebrowsing.id", "navclient-auto-ffox");
   1.934 +#endif
   1.935 +
   1.936 +// Name of the about: page contributed by safebrowsing to handle display of error
   1.937 +// pages on phishing/malware hits.  (bug 399233)
   1.938 +pref("urlclassifier.alternate_error_page", "blocked");
   1.939 +
   1.940 +// The number of random entries to send with a gethash request.
   1.941 +pref("urlclassifier.gethashnoise", 4);
   1.942 +
   1.943 +// If an urlclassifier table has not been updated in this number of seconds,
   1.944 +// a gethash request will be forced to check that the result is still in
   1.945 +// the database.
   1.946 +pref("urlclassifier.max-complete-age", 2700);
   1.947 +// Tables for application reputation.
   1.948 +pref("urlclassifier.downloadBlockTable", "goog-badbinurl-shavar");
   1.949 +#ifdef XP_WIN
   1.950 +// Only download the whitelist on Windows, since the whitelist is
   1.951 +// only useful for suppressing remote lookups for signed binaries which we can
   1.952 +// only verify on Windows (Bug 974579).
   1.953 +pref("urlclassifier.downloadAllowTable", "goog-downloadwhite-digest256");
   1.954 +#endif
   1.955 +#endif
   1.956 +
   1.957 +pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/");
   1.958 +
   1.959 +pref("browser.EULA.version", 3);
   1.960 +pref("browser.rights.version", 3);
   1.961 +pref("browser.rights.3.shown", false);
   1.962 +
   1.963 +#ifdef DEBUG
   1.964 +// Don't show the about:rights notification in debug builds.
   1.965 +pref("browser.rights.override", true);
   1.966 +#endif
   1.967 +
   1.968 +pref("browser.sessionstore.resume_from_crash", true);
   1.969 +pref("browser.sessionstore.resume_session_once", false);
   1.970 +
   1.971 +// minimal interval between two save operations in milliseconds
   1.972 +pref("browser.sessionstore.interval", 15000);
   1.973 +// on which sites to save text data, POSTDATA and cookies
   1.974 +// 0 = everywhere, 1 = unencrypted sites, 2 = nowhere
   1.975 +pref("browser.sessionstore.privacy_level", 0);
   1.976 +// the same as browser.sessionstore.privacy_level, but for saving deferred session data
   1.977 +pref("browser.sessionstore.privacy_level_deferred", 1);
   1.978 +// how many tabs can be reopened (per window)
   1.979 +pref("browser.sessionstore.max_tabs_undo", 10);
   1.980 +// how many windows can be reopened (per session) - on non-OS X platforms this
   1.981 +// pref may be ignored when dealing with pop-up windows to ensure proper startup
   1.982 +pref("browser.sessionstore.max_windows_undo", 3);
   1.983 +// number of crashes that can occur before the about:sessionrestore page is displayed
   1.984 +// (this pref has no effect if more than 6 hours have passed since the last crash)
   1.985 +pref("browser.sessionstore.max_resumed_crashes", 1);
   1.986 +// number of back button session history entries to restore (-1 = all of them)
   1.987 +pref("browser.sessionstore.max_serialize_back", 10);
   1.988 +// number of forward button session history entries to restore (-1 = all of them)
   1.989 +pref("browser.sessionstore.max_serialize_forward", -1);
   1.990 +// restore_on_demand overrides MAX_CONCURRENT_TAB_RESTORES (sessionstore constant)
   1.991 +// and restore_hidden_tabs. When true, tabs will not be restored until they are
   1.992 +// focused (also applies to tabs that aren't visible). When false, the values
   1.993 +// for MAX_CONCURRENT_TAB_RESTORES and restore_hidden_tabs are respected.
   1.994 +// Selected tabs are always restored regardless of this pref.
   1.995 +pref("browser.sessionstore.restore_on_demand", true);
   1.996 +// Whether to automatically restore hidden tabs (i.e., tabs in other tab groups) or not
   1.997 +pref("browser.sessionstore.restore_hidden_tabs", false);
   1.998 +// If restore_on_demand is set, pinned tabs are restored on startup by default.
   1.999 +// When set to true, this pref overrides that behavior, and pinned tabs will only
  1.1000 +// be restored when they are focused.
  1.1001 +pref("browser.sessionstore.restore_pinned_tabs_on_demand", false);
  1.1002 +// The version at which we performed the latest upgrade backup
  1.1003 +pref("browser.sessionstore.upgradeBackup.latestBuildID", "");
  1.1004 +// End-users should not run sessionstore in debug mode
  1.1005 +pref("browser.sessionstore.debug", false);
  1.1006 +
  1.1007 +// allow META refresh by default
  1.1008 +pref("accessibility.blockautorefresh", false);
  1.1009 +
  1.1010 +// Whether history is enabled or not.
  1.1011 +pref("places.history.enabled", true);
  1.1012 +
  1.1013 +// the (maximum) number of the recent visits to sample
  1.1014 +// when calculating frecency
  1.1015 +pref("places.frecency.numVisits", 10);
  1.1016 +
  1.1017 +// buckets (in days) for frecency calculation
  1.1018 +pref("places.frecency.firstBucketCutoff", 4);
  1.1019 +pref("places.frecency.secondBucketCutoff", 14);
  1.1020 +pref("places.frecency.thirdBucketCutoff", 31);
  1.1021 +pref("places.frecency.fourthBucketCutoff", 90);
  1.1022 +
  1.1023 +// weights for buckets for frecency calculations
  1.1024 +pref("places.frecency.firstBucketWeight", 100);
  1.1025 +pref("places.frecency.secondBucketWeight", 70);
  1.1026 +pref("places.frecency.thirdBucketWeight", 50);
  1.1027 +pref("places.frecency.fourthBucketWeight", 30);
  1.1028 +pref("places.frecency.defaultBucketWeight", 10);
  1.1029 +
  1.1030 +// bonus (in percent) for visit transition types for frecency calculations
  1.1031 +pref("places.frecency.embedVisitBonus", 0);
  1.1032 +pref("places.frecency.framedLinkVisitBonus", 0);
  1.1033 +pref("places.frecency.linkVisitBonus", 100);
  1.1034 +pref("places.frecency.typedVisitBonus", 2000);
  1.1035 +pref("places.frecency.bookmarkVisitBonus", 75);
  1.1036 +pref("places.frecency.downloadVisitBonus", 0);
  1.1037 +pref("places.frecency.permRedirectVisitBonus", 0);
  1.1038 +pref("places.frecency.tempRedirectVisitBonus", 0);
  1.1039 +pref("places.frecency.defaultVisitBonus", 0);
  1.1040 +
  1.1041 +// bonus (in percent) for place types for frecency calculations
  1.1042 +pref("places.frecency.unvisitedBookmarkBonus", 140);
  1.1043 +pref("places.frecency.unvisitedTypedBonus", 200);
  1.1044 +
  1.1045 +// Controls behavior of the "Add Exception" dialog launched from SSL error pages
  1.1046 +// 0 - don't pre-populate anything
  1.1047 +// 1 - pre-populate site URL, but don't fetch certificate
  1.1048 +// 2 - pre-populate site URL and pre-fetch certificate
  1.1049 +pref("browser.ssl_override_behavior", 2);
  1.1050 +
  1.1051 +// True if the user should be prompted when a web application supports
  1.1052 +// offline apps.
  1.1053 +pref("browser.offline-apps.notify", true);
  1.1054 +
  1.1055 +// if true, use full page zoom instead of text zoom
  1.1056 +pref("browser.zoom.full", true);
  1.1057 +
  1.1058 +// Whether or not to save and restore zoom levels on a per-site basis.
  1.1059 +pref("browser.zoom.siteSpecific", true);
  1.1060 +
  1.1061 +// Whether or not to update background tabs to the current zoom level.
  1.1062 +pref("browser.zoom.updateBackgroundTabs", true);
  1.1063 +
  1.1064 +// The breakpad report server to link to in about:crashes
  1.1065 +pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
  1.1066 +
  1.1067 +#ifndef RELEASE_BUILD
  1.1068 +// Override submission of plugin hang reports to a different processing server
  1.1069 +// for the smaller-volume nightly/aurora populations.
  1.1070 +pref("toolkit.crashreporter.pluginHangSubmitURL",
  1.1071 +     "https://hang-reports.mozilla.org/submit");
  1.1072 +#endif
  1.1073 +
  1.1074 +// URL for "Learn More" for Crash Reporter
  1.1075 +pref("toolkit.crashreporter.infoURL",
  1.1076 +     "https://www.mozilla.org/legal/privacy/firefox.html#crash-reporter");
  1.1077 +
  1.1078 +// base URL for web-based support pages
  1.1079 +pref("app.support.baseURL", "https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/");
  1.1080 +
  1.1081 +// base url for web-based feedback pages
  1.1082 +pref("app.feedback.baseURL", "https://input.mozilla.org/%LOCALE%/feedback/%APP%/%VERSION%/");
  1.1083 +
  1.1084 +// Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
  1.1085 +pref("security.alternate_certificate_error_page", "certerror");
  1.1086 +
  1.1087 +// Whether to start the private browsing mode at application startup
  1.1088 +pref("browser.privatebrowsing.autostart", false);
  1.1089 +
  1.1090 +// Don't try to alter this pref, it'll be reset the next time you use the
  1.1091 +// bookmarking dialog
  1.1092 +pref("browser.bookmarks.editDialog.firstEditField", "namePicker");
  1.1093 +
  1.1094 +// Whether to use a panel that looks like an OS X sheet for customization
  1.1095 +#ifdef XP_MACOSX
  1.1096 +pref("toolbar.customization.usesheet", true);
  1.1097 +#else
  1.1098 +pref("toolbar.customization.usesheet", false);
  1.1099 +#endif
  1.1100 +
  1.1101 +#ifdef XP_MACOSX
  1.1102 +// On mac, the default pref is per-architecture
  1.1103 +pref("dom.ipc.plugins.enabled.i386", true);
  1.1104 +pref("dom.ipc.plugins.enabled.x86_64", true);
  1.1105 +#else
  1.1106 +pref("dom.ipc.plugins.enabled", true);
  1.1107 +#endif
  1.1108 +
  1.1109 +#if defined(NIGHTLY_BUILD)
  1.1110 +// browser.tabs.remote is enabled on nightly. However, users won't
  1.1111 +// actually get remote tabs unless they enable
  1.1112 +// browser.tabs.remote.autostart or they use the "New OOP Window" menu
  1.1113 +// option.
  1.1114 +pref("browser.tabs.remote", true);
  1.1115 +#else
  1.1116 +pref("browser.tabs.remote", false);
  1.1117 +#endif
  1.1118 +pref("browser.tabs.remote.autostart", false);
  1.1119 +
  1.1120 +// This pref governs whether we attempt to work around problems caused by
  1.1121 +// plugins using OS calls to manipulate the cursor while running out-of-
  1.1122 +// process.  These workarounds all involve intercepting (hooking) certain
  1.1123 +// OS calls in the plugin process, then arranging to make certain OS calls
  1.1124 +// in the browser process.  Eventually plugins will be required to use the
  1.1125 +// NPAPI to manipulate the cursor, and these workarounds will be removed.
  1.1126 +// See bug 621117.
  1.1127 +#ifdef XP_MACOSX
  1.1128 +pref("dom.ipc.plugins.nativeCursorSupport", true);
  1.1129 +#endif
  1.1130 +
  1.1131 +#ifdef XP_WIN
  1.1132 +pref("browser.taskbar.previews.enable", false);
  1.1133 +pref("browser.taskbar.previews.max", 20);
  1.1134 +pref("browser.taskbar.previews.cachetime", 5);
  1.1135 +pref("browser.taskbar.lists.enabled", true);
  1.1136 +pref("browser.taskbar.lists.frequent.enabled", true);
  1.1137 +pref("browser.taskbar.lists.recent.enabled", false);
  1.1138 +pref("browser.taskbar.lists.maxListItemCount", 7);
  1.1139 +pref("browser.taskbar.lists.tasks.enabled", true);
  1.1140 +pref("browser.taskbar.lists.refreshInSeconds", 120);
  1.1141 +#endif
  1.1142 +
  1.1143 +#ifdef MOZ_SERVICES_SYNC
  1.1144 +// The sync engines to use.
  1.1145 +pref("services.sync.registerEngines", "Bookmarks,Form,History,Password,Prefs,Tab,Addons");
  1.1146 +// Preferences to be synced by default
  1.1147 +pref("services.sync.prefs.sync.accessibility.blockautorefresh", true);
  1.1148 +pref("services.sync.prefs.sync.accessibility.browsewithcaret", true);
  1.1149 +pref("services.sync.prefs.sync.accessibility.typeaheadfind", true);
  1.1150 +pref("services.sync.prefs.sync.accessibility.typeaheadfind.linksonly", true);
  1.1151 +pref("services.sync.prefs.sync.addons.ignoreUserEnabledChanges", true);
  1.1152 +// The addons prefs related to repository verification are intentionally
  1.1153 +// not synced for security reasons. If a system is compromised, a user
  1.1154 +// could weaken the pref locally, install an add-on from an untrusted
  1.1155 +// source, and this would propagate automatically to other,
  1.1156 +// uncompromised Sync-connected devices.
  1.1157 +pref("services.sync.prefs.sync.app.update.mode", true);
  1.1158 +pref("services.sync.prefs.sync.browser.formfill.enable", true);
  1.1159 +pref("services.sync.prefs.sync.browser.link.open_newwindow", true);
  1.1160 +pref("services.sync.prefs.sync.browser.offline-apps.notify", true);
  1.1161 +pref("services.sync.prefs.sync.browser.safebrowsing.enabled", true);
  1.1162 +pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", true);
  1.1163 +pref("services.sync.prefs.sync.browser.search.selectedEngine", true);
  1.1164 +pref("services.sync.prefs.sync.browser.search.update", true);
  1.1165 +pref("services.sync.prefs.sync.browser.sessionstore.restore_on_demand", true);
  1.1166 +pref("services.sync.prefs.sync.browser.startup.homepage", true);
  1.1167 +pref("services.sync.prefs.sync.browser.startup.page", true);
  1.1168 +pref("services.sync.prefs.sync.browser.tabs.loadInBackground", true);
  1.1169 +pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true);
  1.1170 +pref("services.sync.prefs.sync.browser.tabs.warnOnOpen", true);
  1.1171 +pref("services.sync.prefs.sync.browser.urlbar.autocomplete.enabled", true);
  1.1172 +pref("services.sync.prefs.sync.browser.urlbar.default.behavior", true);
  1.1173 +pref("services.sync.prefs.sync.browser.urlbar.maxRichResults", true);
  1.1174 +pref("services.sync.prefs.sync.dom.disable_open_during_load", true);
  1.1175 +pref("services.sync.prefs.sync.dom.disable_window_flip", true);
  1.1176 +pref("services.sync.prefs.sync.dom.disable_window_move_resize", true);
  1.1177 +pref("services.sync.prefs.sync.dom.event.contextmenu.enabled", true);
  1.1178 +pref("services.sync.prefs.sync.extensions.personas.current", true);
  1.1179 +pref("services.sync.prefs.sync.extensions.update.enabled", true);
  1.1180 +pref("services.sync.prefs.sync.intl.accept_languages", true);
  1.1181 +pref("services.sync.prefs.sync.javascript.enabled", true);
  1.1182 +pref("services.sync.prefs.sync.layout.spellcheckDefault", true);
  1.1183 +pref("services.sync.prefs.sync.lightweightThemes.isThemeSelected", true);
  1.1184 +pref("services.sync.prefs.sync.lightweightThemes.usedThemes", true);
  1.1185 +pref("services.sync.prefs.sync.network.cookie.cookieBehavior", true);
  1.1186 +pref("services.sync.prefs.sync.network.cookie.lifetimePolicy", true);
  1.1187 +pref("services.sync.prefs.sync.permissions.default.image", true);
  1.1188 +pref("services.sync.prefs.sync.pref.advanced.images.disable_button.view_image", true);
  1.1189 +pref("services.sync.prefs.sync.pref.advanced.javascript.disable_button.advanced", true);
  1.1190 +pref("services.sync.prefs.sync.pref.downloads.disable_button.edit_actions", true);
  1.1191 +pref("services.sync.prefs.sync.pref.privacy.disable_button.cookie_exceptions", true);
  1.1192 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.cache", true);
  1.1193 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.cookies", true);
  1.1194 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.downloads", true);
  1.1195 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.formdata", true);
  1.1196 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.history", true);
  1.1197 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.offlineApps", true);
  1.1198 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.passwords", true);
  1.1199 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.sessions", true);
  1.1200 +pref("services.sync.prefs.sync.privacy.clearOnShutdown.siteSettings", true);
  1.1201 +pref("services.sync.prefs.sync.privacy.donottrackheader.enabled", true);
  1.1202 +pref("services.sync.prefs.sync.privacy.donottrackheader.value", true);
  1.1203 +pref("services.sync.prefs.sync.privacy.sanitize.sanitizeOnShutdown", true);
  1.1204 +pref("services.sync.prefs.sync.security.OCSP.enabled", true);
  1.1205 +pref("services.sync.prefs.sync.security.OCSP.require", true);
  1.1206 +pref("services.sync.prefs.sync.security.default_personal_cert", true);
  1.1207 +pref("services.sync.prefs.sync.security.tls.version.min", true);
  1.1208 +pref("services.sync.prefs.sync.security.tls.version.max", true);
  1.1209 +pref("services.sync.prefs.sync.signon.rememberSignons", true);
  1.1210 +pref("services.sync.prefs.sync.spellchecker.dictionary", true);
  1.1211 +pref("services.sync.prefs.sync.xpinstall.whitelist.required", true);
  1.1212 +#endif
  1.1213 +
  1.1214 +// Disable the error console
  1.1215 +pref("devtools.errorconsole.enabled", false);
  1.1216 +
  1.1217 +// Developer toolbar and GCLI preferences
  1.1218 +pref("devtools.toolbar.enabled", true);
  1.1219 +pref("devtools.toolbar.visible", false);
  1.1220 +pref("devtools.commands.dir", "");
  1.1221 +
  1.1222 +// Enable the app manager
  1.1223 +pref("devtools.appmanager.enabled", true);
  1.1224 +pref("devtools.appmanager.lastTab", "help");
  1.1225 +pref("devtools.appmanager.manifestEditor.enabled", true);
  1.1226 +
  1.1227 +// Toolbox preferences
  1.1228 +pref("devtools.toolbox.footer.height", 250);
  1.1229 +pref("devtools.toolbox.sidebar.width", 500);
  1.1230 +pref("devtools.toolbox.host", "bottom");
  1.1231 +pref("devtools.toolbox.selectedTool", "webconsole");
  1.1232 +pref("devtools.toolbox.toolbarSpec", '["splitconsole", "paintflashing toggle","tilt toggle","scratchpad","resize toggle","eyedropper"]');
  1.1233 +pref("devtools.toolbox.sideEnabled", true);
  1.1234 +pref("devtools.toolbox.zoomValue", "1");
  1.1235 +
  1.1236 +// Toolbox Button preferences
  1.1237 +pref("devtools.command-button-pick.enabled", true);
  1.1238 +pref("devtools.command-button-splitconsole.enabled", true);
  1.1239 +pref("devtools.command-button-paintflashing.enabled", false);
  1.1240 +pref("devtools.command-button-tilt.enabled", false);
  1.1241 +pref("devtools.command-button-scratchpad.enabled", false);
  1.1242 +pref("devtools.command-button-responsive.enabled", true);
  1.1243 +pref("devtools.command-button-eyedropper.enabled", false);
  1.1244 +
  1.1245 +// Inspector preferences
  1.1246 +// Enable the Inspector
  1.1247 +pref("devtools.inspector.enabled", true);
  1.1248 +// What was the last active sidebar in the inspector
  1.1249 +pref("devtools.inspector.activeSidebar", "ruleview");
  1.1250 +// Enable the markup preview
  1.1251 +pref("devtools.inspector.markupPreview", false);
  1.1252 +pref("devtools.inspector.remote", false);
  1.1253 +// Expand pseudo-elements by default in the rule-view
  1.1254 +pref("devtools.inspector.show_pseudo_elements", true);
  1.1255 +// The default size for image preview tooltips in the rule-view/computed-view/markup-view
  1.1256 +pref("devtools.inspector.imagePreviewTooltipSize", 300);
  1.1257 +
  1.1258 +// DevTools default color unit
  1.1259 +pref("devtools.defaultColorUnit", "hex");
  1.1260 +
  1.1261 +// Enable the Responsive UI tool
  1.1262 +pref("devtools.responsiveUI.no-reload-notification", false);
  1.1263 +
  1.1264 +// Enable the Debugger
  1.1265 +pref("devtools.debugger.enabled", true);
  1.1266 +pref("devtools.debugger.chrome-enabled", true);
  1.1267 +pref("devtools.debugger.chrome-debugging-host", "localhost");
  1.1268 +pref("devtools.debugger.chrome-debugging-port", 6080);
  1.1269 +pref("devtools.debugger.remote-host", "localhost");
  1.1270 +pref("devtools.debugger.remote-timeout", 20000);
  1.1271 +pref("devtools.debugger.pause-on-exceptions", false);
  1.1272 +pref("devtools.debugger.ignore-caught-exceptions", true);
  1.1273 +pref("devtools.debugger.source-maps-enabled", true);
  1.1274 +pref("devtools.debugger.pretty-print-enabled", true);
  1.1275 +pref("devtools.debugger.auto-pretty-print", false);
  1.1276 +pref("devtools.debugger.tracer", false);
  1.1277 +
  1.1278 +// The default Debugger UI settings
  1.1279 +pref("devtools.debugger.ui.panes-sources-width", 200);
  1.1280 +pref("devtools.debugger.ui.panes-instruments-width", 300);
  1.1281 +pref("devtools.debugger.ui.panes-visible-on-startup", false);
  1.1282 +pref("devtools.debugger.ui.variables-sorting-enabled", true);
  1.1283 +pref("devtools.debugger.ui.variables-only-enum-visible", false);
  1.1284 +pref("devtools.debugger.ui.variables-searchbox-visible", false);
  1.1285 +
  1.1286 +// Enable the Profiler
  1.1287 +pref("devtools.profiler.enabled", true);
  1.1288 +
  1.1289 +// The default Profiler UI settings
  1.1290 +pref("devtools.profiler.ui.show-platform-data", false);
  1.1291 +
  1.1292 +// Enable the Network Monitor
  1.1293 +pref("devtools.netmonitor.enabled", true);
  1.1294 +
  1.1295 +// The default Network Monitor UI settings
  1.1296 +pref("devtools.netmonitor.panes-network-details-width", 550);
  1.1297 +pref("devtools.netmonitor.panes-network-details-height", 450);
  1.1298 +pref("devtools.netmonitor.statistics", true);
  1.1299 +pref("devtools.netmonitor.filters", "[\"all\"]");
  1.1300 +
  1.1301 +// Enable the Tilt inspector
  1.1302 +pref("devtools.tilt.enabled", true);
  1.1303 +pref("devtools.tilt.intro_transition", true);
  1.1304 +pref("devtools.tilt.outro_transition", true);
  1.1305 +
  1.1306 +// Scratchpad settings
  1.1307 +// - recentFileMax: The maximum number of recently-opened files
  1.1308 +//                  stored. Setting this preference to 0 will not
  1.1309 +//                  clear any recent files, but rather hide the
  1.1310 +//                  'Open Recent'-menu.
  1.1311 +// - showTrailingSpace: Whether to highlight trailing space or not.
  1.1312 +// - enableCodeFolding: Whether to enable code folding or not.
  1.1313 +pref("devtools.scratchpad.recentFilesMax", 10);
  1.1314 +pref("devtools.scratchpad.showTrailingSpace", false);
  1.1315 +pref("devtools.scratchpad.enableCodeFolding", true);
  1.1316 +
  1.1317 +// Enable the Style Editor.
  1.1318 +pref("devtools.styleeditor.enabled", true);
  1.1319 +pref("devtools.styleeditor.source-maps-enabled", false);
  1.1320 +pref("devtools.styleeditor.autocompletion-enabled", true);
  1.1321 +
  1.1322 +// Enable the Shader Editor.
  1.1323 +pref("devtools.shadereditor.enabled", false);
  1.1324 +
  1.1325 +// Enable the Canvas Debugger.
  1.1326 +pref("devtools.canvasdebugger.enabled", false);
  1.1327 +
  1.1328 +// Enable the Web Audio Editor
  1.1329 +pref("devtools.webaudioeditor.enabled", false);
  1.1330 +
  1.1331 +// Default theme ("dark" or "light")
  1.1332 +pref("devtools.theme", "light");
  1.1333 +
  1.1334 +// Display the introductory text
  1.1335 +pref("devtools.gcli.hideIntro", false);
  1.1336 +
  1.1337 +// How eager are we to show help: never=1, sometimes=2, always=3
  1.1338 +pref("devtools.gcli.eagerHelper", 2);
  1.1339 +
  1.1340 +// Remember the Web Console filters
  1.1341 +pref("devtools.webconsole.filter.network", true);
  1.1342 +pref("devtools.webconsole.filter.networkinfo", false);
  1.1343 +pref("devtools.webconsole.filter.netwarn", true);
  1.1344 +pref("devtools.webconsole.filter.csserror", true);
  1.1345 +pref("devtools.webconsole.filter.cssparser", false);
  1.1346 +pref("devtools.webconsole.filter.csslog", false);
  1.1347 +pref("devtools.webconsole.filter.exception", true);
  1.1348 +pref("devtools.webconsole.filter.jswarn", true);
  1.1349 +pref("devtools.webconsole.filter.jslog", false);
  1.1350 +pref("devtools.webconsole.filter.error", true);
  1.1351 +pref("devtools.webconsole.filter.warn", true);
  1.1352 +pref("devtools.webconsole.filter.info", true);
  1.1353 +pref("devtools.webconsole.filter.log", true);
  1.1354 +pref("devtools.webconsole.filter.secerror", true);
  1.1355 +pref("devtools.webconsole.filter.secwarn", true);
  1.1356 +
  1.1357 +// Remember the Browser Console filters
  1.1358 +pref("devtools.browserconsole.filter.network", true);
  1.1359 +pref("devtools.browserconsole.filter.networkinfo", false);
  1.1360 +pref("devtools.browserconsole.filter.netwarn", true);
  1.1361 +pref("devtools.browserconsole.filter.csserror", true);
  1.1362 +pref("devtools.browserconsole.filter.cssparser", false);
  1.1363 +pref("devtools.browserconsole.filter.csslog", false);
  1.1364 +pref("devtools.browserconsole.filter.exception", true);
  1.1365 +pref("devtools.browserconsole.filter.jswarn", true);
  1.1366 +pref("devtools.browserconsole.filter.jslog", true);
  1.1367 +pref("devtools.browserconsole.filter.error", true);
  1.1368 +pref("devtools.browserconsole.filter.warn", true);
  1.1369 +pref("devtools.browserconsole.filter.info", true);
  1.1370 +pref("devtools.browserconsole.filter.log", true);
  1.1371 +pref("devtools.browserconsole.filter.secerror", true);
  1.1372 +pref("devtools.browserconsole.filter.secwarn", true);
  1.1373 +
  1.1374 +// Text size in the Web Console. Use 0 for the system default size.
  1.1375 +pref("devtools.webconsole.fontSize", 0);
  1.1376 +
  1.1377 +// Persistent logging: |true| if you want the Web Console to keep all of the
  1.1378 +// logged messages after reloading the page, |false| if you want the output to
  1.1379 +// be cleared each time page navigation happens.
  1.1380 +pref("devtools.webconsole.persistlog", false);
  1.1381 +
  1.1382 +// Web Console timestamp: |true| if you want the logs and instructions
  1.1383 +// in the Web Console to display a timestamp, or |false| to not display
  1.1384 +// any timestamps.
  1.1385 +pref("devtools.webconsole.timestampMessages", false);
  1.1386 +
  1.1387 +// The number of lines that are displayed in the web console for the Net,
  1.1388 +// CSS, JS and Web Developer categories.
  1.1389 +pref("devtools.hud.loglimit.network", 200);
  1.1390 +pref("devtools.hud.loglimit.cssparser", 200);
  1.1391 +pref("devtools.hud.loglimit.exception", 200);
  1.1392 +pref("devtools.hud.loglimit.console", 200);
  1.1393 +
  1.1394 +// By how many times eyedropper will magnify pixels
  1.1395 +pref("devtools.eyedropper.zoom", 6);
  1.1396 +
  1.1397 +// The developer tools editor configuration:
  1.1398 +// - tabsize: how many spaces to use when a Tab character is displayed.
  1.1399 +// - expandtab: expand Tab characters to spaces.
  1.1400 +// - keymap: which keymap to use (can be 'default', 'emacs' or 'vim')
  1.1401 +// - autoclosebrackets: whether to permit automatic bracket/quote closing.
  1.1402 +// - detectindentation: whether to detect the indentation from the file
  1.1403 +pref("devtools.editor.tabsize", 2);
  1.1404 +pref("devtools.editor.expandtab", true);
  1.1405 +pref("devtools.editor.keymap", "default");
  1.1406 +pref("devtools.editor.autoclosebrackets", true);
  1.1407 +pref("devtools.editor.detectindentation", true);
  1.1408 +
  1.1409 +// Enable the Font Inspector
  1.1410 +pref("devtools.fontinspector.enabled", true);
  1.1411 +
  1.1412 +// Pref to store the browser version at the time of a telemetry ping for an
  1.1413 +// opened developer tool. This allows us to ping telemetry just once per browser
  1.1414 +// version for each user.
  1.1415 +pref("devtools.telemetry.tools.opened.version", "{}");
  1.1416 +
  1.1417 +// Whether the character encoding menu is under the main Firefox button. This
  1.1418 +// preference is a string so that localizers can alter it.
  1.1419 +pref("browser.menu.showCharacterEncoding", "chrome://browser/locale/browser.properties");
  1.1420 +
  1.1421 +// Allow using tab-modal prompts when possible.
  1.1422 +pref("prompts.tab_modal.enabled", true);
  1.1423 +// Whether the Panorama should animate going in/out of tabs
  1.1424 +pref("browser.panorama.animate_zoom", true);
  1.1425 +
  1.1426 +// Defines the url to be used for new tabs.
  1.1427 +pref("browser.newtab.url", "about:newtab");
  1.1428 +// Activates preloading of the new tab url.
  1.1429 +pref("browser.newtab.preload", true);
  1.1430 +
  1.1431 +// Toggles the content of 'about:newtab'. Shows the grid when enabled.
  1.1432 +pref("browser.newtabpage.enabled", true);
  1.1433 +
  1.1434 +// number of rows of newtab grid
  1.1435 +pref("browser.newtabpage.rows", 3);
  1.1436 +
  1.1437 +// number of columns of newtab grid
  1.1438 +pref("browser.newtabpage.columns", 3);
  1.1439 +
  1.1440 +pref("browser.newtabpage.directorySource", "data:application/json,{}");
  1.1441 +
  1.1442 +// Enable the DOM fullscreen API.
  1.1443 +pref("full-screen-api.enabled", true);
  1.1444 +
  1.1445 +// True if the fullscreen API requires approval upon a domain entering fullscreen.
  1.1446 +// Domains that have already had fullscreen permission granted won't re-request
  1.1447 +// approval.
  1.1448 +pref("full-screen-api.approval-required", true);
  1.1449 +
  1.1450 +// Startup Crash Tracking
  1.1451 +// number of startup crashes that can occur before starting into safe mode automatically
  1.1452 +// (this pref has no effect if more than 6 hours have passed since the last crash)
  1.1453 +pref("toolkit.startup.max_resumed_crashes", 3);
  1.1454 +
  1.1455 +// Completely disable pdf.js as an option to preview pdfs within firefox.
  1.1456 +// Note: if this is not disabled it does not necessarily mean pdf.js is the pdf
  1.1457 +// handler just that it is an option.
  1.1458 +pref("pdfjs.disabled", false);
  1.1459 +// Used by pdf.js to know the first time firefox is run with it installed so it
  1.1460 +// can become the default pdf viewer.
  1.1461 +pref("pdfjs.firstRun", true);
  1.1462 +// The values of preferredAction and alwaysAskBeforeHandling before pdf.js
  1.1463 +// became the default.
  1.1464 +pref("pdfjs.previousHandler.preferredAction", 0);
  1.1465 +pref("pdfjs.previousHandler.alwaysAskBeforeHandling", false);
  1.1466 +
  1.1467 +#ifdef NIGHTLY_BUILD
  1.1468 +// Shumway component (SWF player) is disabled by default. Also see bug 904346.
  1.1469 +pref("shumway.disabled", true);
  1.1470 +#endif
  1.1471 +
  1.1472 +// The maximum amount of decoded image data we'll willingly keep around (we
  1.1473 +// might keep around more than this, but we'll try to get down to this value).
  1.1474 +// (This is intentionally on the high side; see bug 746055.)
  1.1475 +pref("image.mem.max_decoded_image_kb", 256000);
  1.1476 +
  1.1477 +// Default social providers
  1.1478 +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}");
  1.1479 +
  1.1480 +pref("social.sidebar.unload_timeout_ms", 10000);
  1.1481 +
  1.1482 +pref("dom.identity.enabled", false);
  1.1483 +
  1.1484 +// Turn on the CSP 1.0 parser for Content Security Policy headers
  1.1485 +pref("security.csp.speccompliant", true);
  1.1486 +
  1.1487 +// Block insecure active content on https pages
  1.1488 +pref("security.mixed_content.block_active_content", true);
  1.1489 +
  1.1490 +// 1 = allow MITM for certificate pinning checks.
  1.1491 +pref("security.cert_pinning.enforcement_level", 1);
  1.1492 +
  1.1493 +// Override the Gecko-default value of false for Firefox.
  1.1494 +pref("plain_text.wrap_long_lines", true);
  1.1495 +
  1.1496 +// If this turns true, Moz*Gesture events are not called stopPropagation()
  1.1497 +// before content.
  1.1498 +pref("dom.debug.propagate_gesture_events_through_content", false);
  1.1499 +
  1.1500 +// The request URL of the GeoLocation backend.
  1.1501 +pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%");
  1.1502 +#ifdef RELEASE_BUILD
  1.1503 +pref("geo.wifi.logging.enabled", false);
  1.1504 +#else
  1.1505 +pref("geo.wifi.logging.enabled", true);
  1.1506 +#endif
  1.1507 +
  1.1508 +// Necko IPC security checks only needed for app isolation for cookies/cache/etc:
  1.1509 +// currently irrelevant for desktop e10s
  1.1510 +pref("network.disable.ipc.security", true);
  1.1511 +
  1.1512 +// CustomizableUI debug logging.
  1.1513 +pref("browser.uiCustomization.debug", false);
  1.1514 +
  1.1515 +// CustomizableUI state of the browser's user interface
  1.1516 +pref("browser.uiCustomization.state", "");
  1.1517 +
  1.1518 +// The remote content URL shown for FxA signup. Must use HTTPS.
  1.1519 +pref("identity.fxaccounts.remote.signup.uri", "https://accounts.firefox.com/signup?service=sync&context=fx_desktop_v1");
  1.1520 +
  1.1521 +// The URL where remote content that forces re-authentication for Firefox Accounts
  1.1522 +// should be fetched.  Must use HTTPS.
  1.1523 +pref("identity.fxaccounts.remote.force_auth.uri", "https://accounts.firefox.com/force_auth?service=sync&context=fx_desktop_v1");
  1.1524 +
  1.1525 +// The remote content URL shown for signin in. Must use HTTPS.
  1.1526 +pref("identity.fxaccounts.remote.signin.uri", "https://accounts.firefox.com/signin?service=sync&context=fx_desktop_v1");
  1.1527 +
  1.1528 +// The URL we take the user to when they opt to "manage" their Firefox Account.
  1.1529 +// Note that this will always need to be in the same TLD as the
  1.1530 +// "identity.fxaccounts.remote.signup.uri" pref.
  1.1531 +pref("identity.fxaccounts.settings.uri", "https://accounts.firefox.com/settings");
  1.1532 +
  1.1533 +// On GTK, we now default to showing the menubar only when alt is pressed:
  1.1534 +#ifdef MOZ_WIDGET_GTK
  1.1535 +pref("ui.key.menuAccessKeyFocuses", true);
  1.1536 +#endif
  1.1537 +
  1.1538 +
  1.1539 +// Delete HTTP cache v2 data of users that didn't opt-in manually
  1.1540 +pref("browser.cache.auto_delete_cache_version", 1);
  1.1541 +// Play with different values of the decay time and get telemetry,
  1.1542 +// 0 means to randomize (and persist) the experiment value in users' profiles,
  1.1543 +// -1 means no experiment is run and we use the preferred value for frecency (6h)
  1.1544 +pref("browser.cache.frecency_experiment", 0);
  1.1545 +
  1.1546 +pref("browser.translation.detectLanguage", false);
  1.1547 +
  1.1548 +// Telemetry experiments settings.
  1.1549 +pref("experiments.enabled", true);
  1.1550 +pref("experiments.manifest.fetchIntervalSeconds", 86400);
  1.1551 +pref("experiments.manifest.uri", "https://telemetry-experiment.cdn.mozilla.net/manifest/v1/firefox/%VERSION%/%CHANNEL%");
  1.1552 +pref("experiments.manifest.certs.1.commonName", "*.cdn.mozilla.net");
  1.1553 +pref("experiments.manifest.certs.1.issuerName", "CN=Cybertrust Public SureServer SV CA,O=Cybertrust Inc");
  1.1554 +// Whether experiments are supported by the current application profile.
  1.1555 +pref("experiments.supported", true);

mercurial