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 file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul"); michael@0: pref("browser.download.folderList", 1); michael@0: michael@0: // Disable all add-on locations other than the profile (which can't be disabled this way) 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: // Disable installation of distribution add-ons michael@0: pref("extensions.installDistroAddons", false); michael@0: // Disable the add-on compatibility dialog michael@0: pref("extensions.showMismatchUI", false); michael@0: michael@0: // Set reportURL for crashes michael@0: pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/"); michael@0: michael@0: // Blocklist preferences michael@0: pref("extensions.blocklist.enabled", true); michael@0: pref("extensions.blocklist.interval", 86400); michael@0: // Controls what level the blocklist switches from warning about items to forcibly michael@0: // blocking them. michael@0: pref("extensions.blocklist.level", 2); michael@0: pref("extensions.blocklist.url", "https://addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/%PRODUCT%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/%PING_COUNT%/%TOTAL_PING_COUNT%/%DAYS_SINCE_LAST_PING%/"); michael@0: pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/"); michael@0: pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%"); michael@0: michael@0: pref("full-screen-api.enabled", true); michael@0: michael@0: // IndexedDB michael@0: pref("dom.indexedDB.enabled", true); michael@0: pref("dom.indexedDB.warningQuota", 50); michael@0: michael@0: // Offline cache prefs michael@0: pref("browser.offline-apps.notify", false); michael@0: pref("browser.cache.offline.enable", true); michael@0: pref("offline-apps.allow_by_default", true); michael@0: michael@0: // TCPSocket michael@0: pref("dom.mozTCPSocket.enabled", true); michael@0: michael@0: // Enable smooth scrolling michael@0: pref("general.smoothScroll", true); michael@0: michael@0: // WebPayment michael@0: pref("dom.mozPay.enabled", true); michael@0: michael@0: // System messages michael@0: pref("dom.sysmsg.enabled", true); michael@0: michael@0: // Alarm API michael@0: pref("dom.mozAlarms.enabled", true); michael@0: michael@0: // Disable slow script dialog for apps michael@0: pref("dom.max_script_run_time", 0); michael@0: pref("dom.max_chrome_script_run_time", 0); michael@0: michael@0: // The request URL of the GeoLocation backend michael@0: pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); michael@0: michael@0: #ifndef RELEASE_BUILD michael@0: // Enable mozPay default provider michael@0: pref("dom.payment.provider.0.name", "Firefox Marketplace"); michael@0: pref("dom.payment.provider.0.description", "marketplace.firefox.com"); michael@0: pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req="); michael@0: pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); michael@0: pref("dom.payment.provider.0.requestMethod", "GET"); michael@0: #endif michael@0: michael@0: // Enable window resize and move michael@0: pref("dom.always_allow_move_resize_window", true); michael@0: michael@0: pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash"); michael@0: michael@0: pref("devtools.debugger.remote-enabled", true); michael@0: pref("devtools.debugger.force-local", true); michael@0: michael@0: // The default for this pref reflects whether the build is capable of IPC. michael@0: // (Turning it on in a no-IPC build will have no effect.) michael@0: #ifdef XP_MACOSX michael@0: // i386 ipc preferences michael@0: pref("dom.ipc.plugins.enabled.i386", false); michael@0: pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true); michael@0: // x86_64 ipc preferences michael@0: pref("dom.ipc.plugins.enabled.x86_64", true); michael@0: #else michael@0: pref("dom.ipc.plugins.enabled", true); michael@0: #endif michael@0: michael@0: pref("places.database.growthIncrementKiB", 0);