2012-04-17 14:11:53 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
|
2012-05-01 02:24:24 +00:00
|
|
|
pref("browser.download.folderList", 1);
|
2012-05-14 05:25:19 +00:00
|
|
|
|
2012-05-21 20:50:51 +00:00
|
|
|
// Disable all add-on locations other than the profile (which can't be disabled this way)
|
2012-05-14 05:25:19 +00:00
|
|
|
pref("extensions.enabledScopes", 1);
|
2012-05-21 20:50:51 +00:00
|
|
|
// Auto-disable any add-ons that are "dropped in" to the profile
|
|
|
|
pref("extensions.autoDisableScopes", 1);
|
|
|
|
// Disable add-on installation via the web-exposed APIs
|
|
|
|
pref("xpinstall.enabled", false);
|
2012-06-26 02:30:45 +00:00
|
|
|
// Disable installation of distribution add-ons
|
|
|
|
pref("extensions.installDistroAddons", false);
|
2012-07-10 14:05:58 +00:00
|
|
|
// Disable the add-on compatibility dialog
|
|
|
|
pref("extensions.showMismatchUI", false);
|
2012-05-31 20:30:40 +00:00
|
|
|
|
2013-08-13 17:37:11 +00:00
|
|
|
// Set reportURL for crashes
|
|
|
|
pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
|
|
|
|
|
2012-06-13 15:50:15 +00:00
|
|
|
// Blocklist preferences
|
|
|
|
pref("extensions.blocklist.enabled", true);
|
|
|
|
pref("extensions.blocklist.interval", 86400);
|
|
|
|
// Controls what level the blocklist switches from warning about items to forcibly
|
|
|
|
// blocking them.
|
|
|
|
pref("extensions.blocklist.level", 2);
|
2014-05-21 21:36:58 +00:00
|
|
|
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%/");
|
2012-06-13 15:50:15 +00:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
|
2014-05-21 21:36:58 +00:00
|
|
|
pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
|
2012-06-28 00:14:58 +00:00
|
|
|
|
2012-06-28 08:55:33 +00:00
|
|
|
pref("full-screen-api.enabled", true);
|
|
|
|
|
2013-07-17 14:00:15 +00:00
|
|
|
// IndexedDB
|
|
|
|
pref("dom.indexedDB.enabled", true);
|
|
|
|
pref("dom.indexedDB.warningQuota", 50);
|
|
|
|
|
|
|
|
// Offline cache prefs
|
|
|
|
pref("browser.offline-apps.notify", false);
|
|
|
|
pref("browser.cache.offline.enable", true);
|
|
|
|
pref("offline-apps.allow_by_default", true);
|
2012-06-28 08:55:33 +00:00
|
|
|
|
2013-08-06 21:56:19 +00:00
|
|
|
// TCPSocket
|
|
|
|
pref("dom.mozTCPSocket.enabled", true);
|
|
|
|
|
2012-06-28 00:14:58 +00:00
|
|
|
// Enable smooth scrolling
|
|
|
|
pref("general.smoothScroll", true);
|
2012-07-12 21:02:30 +00:00
|
|
|
|
2013-09-27 18:38:14 +00:00
|
|
|
// WebPayment
|
|
|
|
pref("dom.mozPay.enabled", true);
|
|
|
|
|
2014-03-21 22:38:33 +00:00
|
|
|
// System messages
|
|
|
|
pref("dom.sysmsg.enabled", true);
|
|
|
|
|
|
|
|
// Alarm API
|
|
|
|
pref("dom.mozAlarms.enabled", true);
|
|
|
|
|
2013-11-04 22:27:40 +00:00
|
|
|
// Disable slow script dialog for apps
|
|
|
|
pref("dom.max_script_run_time", 0);
|
|
|
|
pref("dom.max_chrome_script_run_time", 0);
|
|
|
|
|
2014-03-28 14:44:04 +00:00
|
|
|
// The request URL of the GeoLocation backend
|
|
|
|
pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
|
2013-11-04 22:27:40 +00:00
|
|
|
|
2013-09-27 18:38:14 +00:00
|
|
|
#ifndef RELEASE_BUILD
|
|
|
|
// Enable mozPay default provider
|
|
|
|
pref("dom.payment.provider.0.name", "Firefox Marketplace");
|
|
|
|
pref("dom.payment.provider.0.description", "marketplace.firefox.com");
|
|
|
|
pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
|
|
|
|
pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
|
|
|
|
pref("dom.payment.provider.0.requestMethod", "GET");
|
|
|
|
#endif
|
|
|
|
|
2013-08-08 00:17:34 +00:00
|
|
|
// Enable window resize and move
|
|
|
|
pref("dom.always_allow_move_resize_window", true);
|
|
|
|
|
2012-07-12 21:02:30 +00:00
|
|
|
pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash");
|
2012-08-07 22:13:32 +00:00
|
|
|
|
2013-09-11 00:59:04 +00:00
|
|
|
pref("devtools.debugger.remote-enabled", true);
|
|
|
|
pref("devtools.debugger.force-local", true);
|
|
|
|
|
2012-08-07 22:13:32 +00:00
|
|
|
// The default for this pref reflects whether the build is capable of IPC.
|
|
|
|
// (Turning it on in a no-IPC build will have no effect.)
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
// i386 ipc preferences
|
|
|
|
pref("dom.ipc.plugins.enabled.i386", false);
|
|
|
|
pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
|
|
|
|
// x86_64 ipc preferences
|
|
|
|
pref("dom.ipc.plugins.enabled.x86_64", true);
|
|
|
|
#else
|
|
|
|
pref("dom.ipc.plugins.enabled", true);
|
|
|
|
#endif
|
|
|
|
|
2013-12-02 16:34:47 +00:00
|
|
|
pref("places.database.growthIncrementKiB", 0);
|