2012-04-17 18:11:53 +04: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 06:24:24 +04:00
|
|
|
pref("browser.download.folderList", 1);
|
2012-05-14 09:25:19 +04:00
|
|
|
|
2012-05-22 00:50:51 +04:00
|
|
|
// Disable all add-on locations other than the profile (which can't be disabled this way)
|
2012-05-14 09:25:19 +04:00
|
|
|
pref("extensions.enabledScopes", 1);
|
2012-05-22 00:50:51 +04: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 06:30:45 +04:00
|
|
|
// Disable installation of distribution add-ons
|
|
|
|
pref("extensions.installDistroAddons", false);
|
2012-07-10 18:05:58 +04:00
|
|
|
// Disable the add-on compatibility dialog
|
|
|
|
pref("extensions.showMismatchUI", false);
|
2012-06-01 00:30:40 +04:00
|
|
|
|
2013-08-13 21:37:11 +04:00
|
|
|
// Set reportURL for crashes
|
|
|
|
pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
|
|
|
|
|
2012-06-13 19:50:15 +04: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-07 14:11:56 +04:00
|
|
|
pref("extensions.blocklist.url", "https://blocklist.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 19:50:15 +04:00
|
|
|
pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
|
2014-05-07 14:11:56 +04:00
|
|
|
pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
|
2012-06-28 04:14:58 +04:00
|
|
|
|
2012-06-28 12:55:33 +04:00
|
|
|
pref("full-screen-api.enabled", true);
|
|
|
|
|
2013-07-17 18:00:15 +04: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 12:55:33 +04:00
|
|
|
|
2013-08-07 01:56:19 +04:00
|
|
|
// TCPSocket
|
|
|
|
pref("dom.mozTCPSocket.enabled", true);
|
|
|
|
|
2012-06-28 04:14:58 +04:00
|
|
|
// Enable smooth scrolling
|
|
|
|
pref("general.smoothScroll", true);
|
2012-07-13 01:02:30 +04:00
|
|
|
|
2013-09-27 22:38:14 +04:00
|
|
|
// WebPayment
|
|
|
|
pref("dom.mozPay.enabled", true);
|
|
|
|
|
2014-03-22 02:38:33 +04:00
|
|
|
// System messages
|
|
|
|
pref("dom.sysmsg.enabled", true);
|
|
|
|
|
|
|
|
// Alarm API
|
|
|
|
pref("dom.mozAlarms.enabled", true);
|
|
|
|
|
2013-11-05 02:27:40 +04: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 18:44:04 +04: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-05 02:27:40 +04:00
|
|
|
|
2013-09-27 22:38:14 +04: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 04:17:34 +04:00
|
|
|
// Enable window resize and move
|
|
|
|
pref("dom.always_allow_move_resize_window", true);
|
|
|
|
|
2012-07-13 01:02:30 +04:00
|
|
|
pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash");
|
2012-08-08 02:13:32 +04:00
|
|
|
|
2013-09-11 04:59:04 +04:00
|
|
|
pref("devtools.debugger.remote-enabled", true);
|
|
|
|
pref("devtools.debugger.force-local", true);
|
|
|
|
|
2012-08-08 02:13:32 +04: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 20:34:47 +04:00
|
|
|
pref("places.database.growthIncrementKiB", 0);
|