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: #filter substitution michael@0: michael@0: #ifdef DEBUG michael@0: // disable content and content script caching michael@0: pref("nglayout.debug.disable_xul_cache", true); michael@0: pref("nglayout.debug.disable_xul_fastload", true); michael@0: pref("devtools.errorconsole.enabled", true); michael@0: pref("devtools.chrome.enabled", true); michael@0: #else michael@0: pref("devtools.errorconsole.enabled", false); michael@0: pref("devtools.chrome.enabled", false); michael@0: #endif michael@0: michael@0: // Automatically submit crash reports michael@0: #ifdef RELEASE_BUILD michael@0: pref("app.crashreporter.autosubmit", false); michael@0: pref("app.crashreporter.submitURLs", false); michael@0: #else michael@0: // For Nightly and Aurora we turn this on by default michael@0: pref("app.crashreporter.autosubmit", true); michael@0: pref("app.crashreporter.submitURLs", false); michael@0: #endif michael@0: // Has the user been prompted about crash reporting? michael@0: pref("app.crashreporter.prompted", false); michael@0: michael@0: // Debug prefs, see input.js michael@0: pref("metro.debug.colorizeInputOverlay", false); michael@0: pref("metro.debug.selection.displayRanges", false); michael@0: pref("metro.debug.selection.dumpRanges", false); michael@0: pref("metro.debug.selection.dumpEvents", false); michael@0: michael@0: // Private browsing is disabled by default until implementation and testing are complete michael@0: pref("metro.private_browsing.enabled", false); michael@0: michael@0: // Enable tab-modal prompts michael@0: pref("prompts.tab_modal.enabled", true); michael@0: michael@0: // NewTabUtils pref related to top site thumbnail updating. michael@0: pref("browser.newtabpage.enabled", true); michael@0: michael@0: // Enable off main thread compositing michael@0: pref("layers.offmainthreadcomposition.enabled", true); michael@0: pref("layers.async-pan-zoom.enabled", true); michael@0: pref("layers.componentalpha.enabled", false); michael@0: michael@0: // Prefs to control the async pan/zoom behaviour michael@0: pref("apz.touch_start_tolerance", "0.1"); // dpi * tolerance = pixel threshold michael@0: pref("apz.pan_repaint_interval", 50); // prefer 20 fps michael@0: pref("apz.fling_repaint_interval", 50); // prefer 20 fps michael@0: pref("apz.fling_stopped_threshold", "0.2"); michael@0: pref("apz.x_skate_size_multiplier", "2.5"); michael@0: pref("apz.y_skate_size_multiplier", "2.5"); michael@0: pref("apz.min_skate_speed", "10.0"); michael@0: // 0 = free, 1 = standard, 2 = sticky michael@0: pref("apz.axis_lock_mode", 2); michael@0: pref("apz.cross_slide.enabled", true); michael@0: pref("apz.subframe.enabled", true); michael@0: michael@0: // Enable Microsoft TSF support by default for imes. michael@0: pref("intl.tsf.enable", true); michael@0: pref("intl.tsf.support_imm", false); michael@0: pref("intl.tsf.hack.atok.create_native_caret", false); michael@0: michael@0: pref("general.autoScroll", true); michael@0: pref("general.smoothScroll", true); michael@0: pref("general.smoothScroll.durationToIntervalRatio", 200); michael@0: pref("mousewheel.enable_pixel_scrolling", true); michael@0: michael@0: // For browser.xml binding michael@0: // michael@0: // cacheRatio* is a ratio that determines the amount of pixels to cache. The michael@0: // ratio is multiplied by the viewport width or height to get the displayport's michael@0: // width or height, respectively. michael@0: // michael@0: // (divide integer value by 1000 to get the ratio) michael@0: // michael@0: // For instance: cachePercentageWidth is 1500 michael@0: // viewport height is 500 michael@0: // => display port height will be 500 * 1.5 = 750 michael@0: // michael@0: pref("toolkit.browser.cacheRatioWidth", 2000); michael@0: pref("toolkit.browser.cacheRatioHeight", 3000); michael@0: michael@0: // How long before a content view (a handle to a remote scrollable object) michael@0: // expires. michael@0: pref("toolkit.browser.contentViewExpire", 3000); michael@0: michael@0: michael@0: pref("toolkit.defaultChromeURI", "chrome://browser/content/browser.xul"); michael@0: pref("browser.chromeURL", "chrome://browser/content/"); michael@0: michael@0: pref("browser.tabs.remote", false); michael@0: michael@0: // Telemetry michael@0: #ifdef MOZ_TELEMETRY_ON_BY_DEFAULT michael@0: pref("toolkit.telemetry.enabledPreRelease", true); michael@0: #else michael@0: pref("toolkit.telemetry.enabled", true); michael@0: #endif michael@0: pref("toolkit.telemetry.prompted", 2); michael@0: michael@0: pref("toolkit.screen.lock", false); michael@0: michael@0: // From libpref/src/init/all.js. Disabling text zoom in favor of APZ zoom. See bug 936940. michael@0: pref("zoom.minPercent", 100); michael@0: pref("zoom.maxPercent", 100); michael@0: pref("toolkit.zoomManager.zoomValues", "1"); michael@0: michael@0: // Device pixel to CSS px ratio, in percent. Set to -1 to calculate based on display density. michael@0: pref("browser.viewport.scaleRatio", -1); michael@0: michael@0: // use long press to display a context menu michael@0: pref("ui.click_hold_context_menus", false); michael@0: michael@0: // offline cache prefs michael@0: pref("browser.offline-apps.notify", true); michael@0: michael@0: // protocol warning prefs michael@0: pref("network.protocol-handler.warn-external.tel", false); michael@0: pref("network.protocol-handler.warn-external.mailto", false); michael@0: pref("network.protocol-handler.warn-external.vnd.youtube", false); michael@0: pref("network.protocol-handler.warn-external.ms-windows-store", false); michael@0: pref("network.protocol-handler.external.ms-windows-store", true); michael@0: michael@0: /* startui prefs */ michael@0: // display the overlay nav buttons michael@0: pref("browser.display.overlaynavbuttons", true); michael@0: // max number of top site tiles to display in the startui michael@0: pref("browser.display.startUI.topsites.maxresults", 8); michael@0: // max items for the bookmarks compartment in the startui michael@0: pref("browser.display.startUI.bookmarks.maxresults", 16); michael@0: // max items for the history compartment in the startui michael@0: pref("browser.display.startUI.history.maxresults", 16); michael@0: // Number of times to display firstrun instructions on new tab page michael@0: pref("browser.firstrun.count", 3); michael@0: // Has the content first run been dismissed michael@0: pref("browser.firstrun-content.dismissed", false); 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: pref("browser.backspace_action", 0); michael@0: michael@0: // session history michael@0: pref("browser.sessionhistory.max_entries", 50); michael@0: michael@0: // On startup, don't automatically restore tabs michael@0: pref("browser.startup.page", 1); michael@0: michael@0: /* session store */ michael@0: pref("browser.sessionstore.resume_from_crash", true); michael@0: pref("browser.sessionstore.resume_session_once", false); michael@0: pref("browser.sessionstore.resume_from_crash_timeout", 60); // minutes michael@0: // minimal interval between two save operations in milliseconds michael@0: pref("browser.sessionstore.interval", 15000); // milliseconds michael@0: // maximum amount of POSTDATA to be saved in bytes per history entry (-1 = all of it) michael@0: // (NB: POSTDATA will be saved either entirely or not at all) michael@0: pref("browser.sessionstore.postdata", 0); 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: // 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: // 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: michael@0: /* these should help performance */ michael@0: pref("mozilla.widget.force-24bpp", true); michael@0: pref("mozilla.widget.use-buffer-pixmap", true); michael@0: pref("mozilla.widget.disable-native-theme", false); michael@0: pref("layout.reflow.synthMouseMove", false); michael@0: michael@0: /* "Preview" of framerate increase for animations, discussed in 710563. */ michael@0: pref("layout.frame_rate.precise", true); michael@0: michael@0: /* download manager (don't show the window or alert) */ michael@0: pref("browser.download.useDownloadDir", true); michael@0: pref("browser.download.folderList", 1); // Default to ~/Downloads michael@0: pref("browser.download.manager.showAlertOnComplete", false); michael@0: pref("browser.download.manager.showAlertInterval", 2000); michael@0: pref("browser.download.manager.retention", 2); michael@0: pref("browser.download.manager.showWhenStarting", false); michael@0: pref("browser.download.manager.closeWhenDone", true); michael@0: pref("browser.download.manager.openDelay", 0); michael@0: pref("browser.download.manager.focusWhenStarting", false); michael@0: pref("browser.download.manager.flashCount", 2); michael@0: pref("browser.download.manager.addToRecentDocs", true); michael@0: pref("browser.download.manager.displayedHistoryDays", 7); michael@0: pref("browser.download.manager.resumeOnWakeDelay", 10000); michael@0: pref("browser.download.manager.quitBehavior", 0); michael@0: michael@0: /* download alerts (disabled above) */ michael@0: pref("alerts.totalOpenTime", 6000); michael@0: michael@0: /* download helper */ michael@0: pref("browser.helperApps.deleteTempFileOnExit", false); michael@0: michael@0: /* password manager */ michael@0: pref("signon.rememberSignons", true); 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: /* extension manager and xpinstall */ michael@0: // Completely disable extensions michael@0: pref("extensions.defaultProviders.enabled", false); michael@0: // Disable version checks making addons compatible by default michael@0: pref("extensions.strictCompatibility", false); michael@0: // Disable all add-on locations other than the profile michael@0: pref("extensions.enabledScopes", 1); michael@0: // Auto-disable any add-ons that are "dropped in" to the profile michael@0: pref("extensions.autoDisableScopes", 1); michael@0: // Disable add-on installation via the web-exposed APIs michael@0: pref("xpinstall.enabled", false); michael@0: pref("xpinstall.whitelist.add", "addons.mozilla.org"); michael@0: pref("extensions.autoupdate.enabled", false); michael@0: pref("extensions.update.enabled", false); michael@0: michael@0: /* blocklist preferences */ michael@0: pref("extensions.blocklist.enabled", true); michael@0: pref("extensions.blocklist.interval", 86400); 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.showMismatchUI", false); michael@0: michael@0: /* block popups by default, and notify the user about blocked popups */ michael@0: pref("dom.disable_open_during_load", true); michael@0: pref("privacy.popups.showBrowserMessage", true); michael@0: michael@0: // Metro Firefox keeps this set to -1 when donottrackheader.enabled is false. michael@0: pref("privacy.donottrackheader.value", -1); michael@0: michael@0: /* disable opening windows with the dialog feature */ michael@0: pref("dom.disable_window_open_dialog_feature", true); michael@0: michael@0: pref("keyword.enabled", true); michael@0: michael@0: pref("accessibility.typeaheadfind", false); michael@0: pref("accessibility.typeaheadfind.timeout", 5000); michael@0: pref("accessibility.typeaheadfind.flashBar", 1); michael@0: pref("accessibility.typeaheadfind.linksonly", false); michael@0: pref("accessibility.typeaheadfind.casesensitive", 0); michael@0: michael@0: // Trun on F7 caret browsing hot key michael@0: pref("accessibility.browsewithcaret_shortcut.enabled", true); michael@0: pref("accessibility.browsewithcaret", false); michael@0: michael@0: // Whether or not we show a dialog box informing the user that the update was michael@0: // successfully applied. michael@0: pref("app.update.showInstalledUI", false); michael@0: michael@0: // pointer to the default engine name michael@0: pref("browser.search.defaultenginename", "chrome://browser/locale/region.properties"); michael@0: michael@0: // SSL error page behaviour michael@0: pref("browser.ssl_override_behavior", 2); michael@0: pref("browser.xul.error_pages.expert_bad_cert", false); 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/locale/region.properties"); michael@0: pref("browser.search.order.2", "chrome://browser/locale/region.properties"); michael@0: pref("browser.search.order.3", "chrome://browser/locale/region.properties"); 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: // tell the search service that we don't really expose the "current engine" michael@0: pref("browser.search.noCurrentEngine", 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: // enable xul error pages michael@0: pref("browser.xul.error_pages.enabled", true); michael@0: michael@0: // Specify emptyRestriction = 0 so that bookmarks appear in the list by default michael@0: pref("browser.urlbar.default.behavior", 0); michael@0: pref("browser.urlbar.default.behavior.emptyRestriction", 0); michael@0: michael@0: // Let the faviconservice know that we display favicons as 25x25px so that it michael@0: // uses the right size when optimizing favicons michael@0: pref("places.favicons.optimizeToDimension", 25); michael@0: michael@0: // various and sundry awesomebar prefs (should remove/re-evaluate michael@0: // these once bug 447900 is fixed) michael@0: pref("browser.urlbar.trimURLs", true); michael@0: pref("browser.urlbar.formatting.enabled", true); michael@0: pref("browser.urlbar.clickSelectsAll", true); michael@0: pref("browser.urlbar.doubleClickSelectsAll", true); michael@0: pref("browser.urlbar.autoFill", false); michael@0: pref("browser.urlbar.matchOnlyTyped", false); michael@0: pref("browser.urlbar.matchBehavior", 1); michael@0: pref("browser.urlbar.filter.javascript", true); michael@0: pref("browser.urlbar.maxRichResults", 8); michael@0: pref("browser.urlbar.search.chunkSize", 1000); michael@0: pref("browser.urlbar.search.timeout", 100); 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.match.title", "#"); michael@0: pref("browser.urlbar.match.url", "@"); michael@0: pref("browser.history.grouping", "day"); michael@0: pref("browser.history.showSessions", false); michael@0: pref("browser.sessionhistory.max_entries", 50); michael@0: pref("browser.history_expire_sites", 40000); michael@0: pref("browser.places.migratePostDataAnnotations", true); michael@0: pref("browser.places.updateRecentTagsUri", true); michael@0: pref("places.frecency.numVisits", 10); michael@0: pref("places.frecency.numCalcOnIdle", 50); michael@0: pref("places.frecency.numCalcOnMigrate", 50); michael@0: pref("places.frecency.updateIdleTime", 60000); 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: 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: pref("places.frecency.embedVisitBonus", 0); michael@0: pref("places.frecency.linkVisitBonus", 100); michael@0: pref("places.frecency.typedVisitBonus", 2000); michael@0: pref("places.frecency.bookmarkVisitBonus", 150); 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: pref("places.frecency.unvisitedBookmarkBonus", 140); michael@0: pref("places.frecency.unvisitedTypedBonus", 200); michael@0: michael@0: // disable color management michael@0: pref("gfx.color_management.mode", 0); michael@0: michael@0: // don't allow JS to move and resize existing windows michael@0: pref("dom.disable_window_move_resize", true); michael@0: michael@0: // prevent click image resizing for nsImageDocument michael@0: pref("browser.enable_click_image_resizing", false); michael@0: michael@0: // open in tab preferences michael@0: // 0=default window, 1=current window/tab, 2=new window, 3=new tab in most window michael@0: pref("browser.link.open_external", 3); michael@0: pref("browser.link.open_newwindow", 3); michael@0: // 0=force all new windows to tabs, 1=don't force, 2=only force those with no features set michael@0: pref("browser.link.open_newwindow.restriction", 0); michael@0: michael@0: // controls which bits of private data to clear. by default we clear them all. michael@0: pref("privacy.item.cache", true); michael@0: pref("privacy.item.cookies", true); michael@0: pref("privacy.item.offlineApps", true); michael@0: pref("privacy.item.history", true); michael@0: pref("privacy.item.formdata", true); michael@0: pref("privacy.item.downloads", true); michael@0: pref("privacy.item.passwords", true); michael@0: pref("privacy.item.sessions", true); michael@0: pref("privacy.item.geolocation", true); michael@0: pref("privacy.item.siteSettings", true); michael@0: pref("privacy.item.syncAccount", true); michael@0: michael@0: pref("plugins.force.wmode", "opaque"); 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: pref("privacy.sanitize.migrateFx3Prefs", false); michael@0: michael@0: // enable geo michael@0: pref("geo.enabled", true); michael@0: pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_API_KEY%"); michael@0: michael@0: // snapped view michael@0: pref("browser.ui.snapped.maxWidth", 600); michael@0: michael@0: // kinetic tweakables michael@0: pref("browser.ui.kinetic.updateInterval", 16); michael@0: pref("browser.ui.kinetic.exponentialC", 1400); michael@0: pref("browser.ui.kinetic.polynomialC", 100); michael@0: pref("browser.ui.kinetic.swipeLength", 160); michael@0: pref("browser.ui.zoom.animationDuration", 200); // ms duration of double-tap zoom animation michael@0: michael@0: pref("ui.mouse.radius.enabled", true); michael@0: pref("ui.touch.radius.enabled", true); michael@0: michael@0: // plugins michael@0: pref("plugin.disable", true); michael@0: pref("dom.ipc.plugins.enabled", true); michael@0: michael@0: // process priority michael@0: // higher values give content process less CPU time michael@0: pref("dom.ipc.content.nice", 1); michael@0: michael@0: // product URLs 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: // TODO: This is not the correct article for metro!!! michael@0: pref("app.sync.tutorialURL", "https://support.mozilla.org/kb/sync-firefox-between-desktop-and-mobile"); michael@0: pref("app.support.baseURL", "https://support.mozilla.org/1/touch/%VERSION%/%OS%/%LOCALE%/"); michael@0: pref("app.support.inputURL", "https://input.mozilla.org/feedback/metrofirefox"); michael@0: pref("app.privacyURL", "http://www.mozilla.org/%LOCALE%/legal/privacy/firefox.html"); michael@0: pref("app.creditsURL", "http://www.mozilla.org/credits/"); michael@0: pref("app.channelURL", "http://www.mozilla.org/%LOCALE%/firefox/channel/"); 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: pref("security.warn_viewing_mixed", false); // Warning is disabled. See Bug 616712. michael@0: michael@0: // Override some named colors to avoid inverse OS themes michael@0: michael@0: /* app update prefs */ michael@0: michael@0: #ifdef MOZ_UPDATER 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: pref("app.update.mode", 0); michael@0: 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: michael@0: // If set to true, the Update Service will present no UI for any event. michael@0: pref("app.update.silent", true); 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: #ifndef RELEASE_BUILD michael@0: pref("app.update.url", "https://aus4.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml"); michael@0: #else michael@0: pref("app.update.url", "https://aus3.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml"); michael@0: #endif 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", false); 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: // 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: // 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: // The aus update xml certificate checks for application update are disabled on michael@0: // Windows since the mar signature check which is currently only implemented on michael@0: // Windows is sufficient for preventing us from applying a mar that is not michael@0: // valid. 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", false); 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", false); 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: // replace newlines with spaces on paste into single-line text boxes michael@0: pref("editor.singleLine.pasteNewlines", 2); michael@0: michael@0: #ifdef MOZ_SERVICES_SYNC michael@0: // sync service michael@0: pref("services.sync.registerEngines", "Tab,Bookmarks,Form,History,Password,Prefs"); michael@0: michael@0: // prefs to sync by default michael@0: pref("services.sync.prefs.sync.browser.tabs.warnOnClose", true); michael@0: pref("services.sync.prefs.sync.devtools.errorconsole.enabled", 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.privacy.donottrackheader.enabled", true); michael@0: pref("services.sync.prefs.sync.privacy.donottrackheader.value", true); michael@0: pref("services.sync.prefs.sync.signon.rememberSignons", true); michael@0: #endif michael@0: michael@0: // threshold where a tap becomes a drag, in 1/240" reference pixels michael@0: // The names of the preferences are to be in sync with EventStateManager.cpp michael@0: pref("ui.dragThresholdX", 50); michael@0: pref("ui.dragThresholdY", 50); michael@0: michael@0: // prevent tooltips from showing up michael@0: pref("browser.chrome.toolbar_tips", false); michael@0: michael@0: #ifdef NIGHTLY_BUILD 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", true); 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: #endif michael@0: michael@0: #ifdef NIGHTLY_BUILD michael@0: // Shumay is currently experimental. Toggle this pref to enable Shumway for michael@0: // testing and development. michael@0: pref("shumway.disabled", true); michael@0: // When Shumway is enabled, use it all the time, not only when Flash is set to michael@0: // click-to-play (because Metro doesn't even load the native Flash plugin). michael@0: pref("shumway.ignoreCTP", 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: // enable touch events interfaces michael@0: pref("dom.w3c_touch_events.enabled", 1); michael@0: pref("dom.w3c_touch_events.safetyX", 5); // escape borders in units of 1/240" michael@0: pref("dom.w3c_touch_events.safetyY", 20); // escape borders in units of 1/240" michael@0: michael@0: #ifdef MOZ_SAFE_BROWSING michael@0: // Safe browsing does nothing unless this pref is set michael@0: pref("browser.safebrowsing.enabled", true); michael@0: michael@0: // Prevent loading of pages identified as malware michael@0: pref("browser.safebrowsing.malware.enabled", true); michael@0: michael@0: // Non-enhanced mode (local url lists) URL list to check for updates michael@0: pref("browser.safebrowsing.provider.0.updateURL", "https://safebrowsing.google.com/safebrowsing/downloads?client={moz:client}&appver={moz:version}&pver=2.2&key=%GOOGLE_API_KEY%"); michael@0: michael@0: pref("browser.safebrowsing.dataProvider", 0); michael@0: michael@0: // Does the provider name need to be localizable? michael@0: pref("browser.safebrowsing.provider.0.name", "Google"); michael@0: pref("browser.safebrowsing.provider.0.reportURL", "https://safebrowsing.google.com/safebrowsing/report?"); michael@0: pref("browser.safebrowsing.provider.0.gethashURL", "https://safebrowsing.google.com/safebrowsing/gethash?client={moz:client}&appver={moz:version}&pver=2.2"); michael@0: michael@0: // HTML report pages michael@0: pref("browser.safebrowsing.provider.0.reportGenericURL", "http://{moz:locale}.phish-generic.mozilla.com/?hl={moz:locale}"); michael@0: pref("browser.safebrowsing.provider.0.reportErrorURL", "http://{moz:locale}.phish-error.mozilla.com/?hl={moz:locale}"); michael@0: pref("browser.safebrowsing.provider.0.reportPhishURL", "http://{moz:locale}.phish-report.mozilla.com/?hl={moz:locale}"); michael@0: pref("browser.safebrowsing.provider.0.reportMalwareURL", "http://{moz:locale}.malware-report.mozilla.com/?hl={moz:locale}"); michael@0: pref("browser.safebrowsing.provider.0.reportMalwareErrorURL", "http://{moz:locale}.malware-error.mozilla.com/?hl={moz:locale}"); michael@0: michael@0: // FAQ URLs michael@0: pref("browser.geolocation.warning.infoURL", "https://www.mozilla.org/%LOCALE%/firefox/geolocation/"); 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: michael@0: // Maximum size of the sqlite3 cache during an update, in bytes michael@0: pref("urlclassifier.updatecachemax", 41943040); michael@0: michael@0: // URL for checking the reason for a malware warning. michael@0: pref("browser.safebrowsing.malware.reportURL", "https://safebrowsing.google.com/safebrowsing/diagnostic?client=%NAME%&hl=%LOCALE%&site="); michael@0: #endif michael@0: michael@0: // True if this is the first time we are showing about:firstrun michael@0: pref("browser.firstrun.show.localepicker", false); michael@0: michael@0: // True if you always want dump() to work michael@0: pref("javascript.options.showInConsole", true); michael@0: pref("browser.dom.window.dump.enabled", true); michael@0: michael@0: // controls if we want camera support michael@0: pref("device.camera.enabled", true); michael@0: pref("media.realtime_decoder.enabled", true); michael@0: michael@0: // Metro manages state by autodetection michael@0: pref("network.manage-offline-status", true); michael@0: michael@0: // Enable HTML fullscreen API in content. michael@0: pref("full-screen-api.enabled", true); michael@0: // But don't require approval when content enters fullscreen; we'll keep our michael@0: // UI/chrome visible still, so there's no need to approve entering fullscreen. michael@0: pref("full-screen-api.approval-required", false); michael@0: // Don't allow fullscreen requests to percolate across content/chrome boundary, michael@0: // so that our chrome/UI remains visible after content enters fullscreen. michael@0: pref("full-screen-api.content-only", true); michael@0: // Don't make top-level widgets fullscreen. This only applies when running in michael@0: // "metrodesktop" mode, not when running in full metro mode. This prevents the michael@0: // window from changing size when we go fullscreen; the content expands to fill michael@0: // the window, the window size doesn't change. This pref has no effect when michael@0: // running in actual Metro mode, as the widget will already be fullscreen then. michael@0: pref("full-screen-api.ignore-widgets", true); michael@0: michael@0: // image visibility prefs. michael@0: // image visibility tries to only keep images near the viewport decoded instead michael@0: // of keeping all images decoded. michael@0: pref("layout.imagevisibility.enabled", true); michael@0: pref("layout.imagevisibility.numscrollportwidths", 1); michael@0: pref("layout.imagevisibility.numscrollportheights", 1); michael@0: michael@0: // Don't enable yet as we don't have a color picker michael@0: // implemented for Windows Metro (bug 895464) michael@0: pref("dom.forms.color", false);