1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 // Check for updates once a day.
6 pref("webapprt.app_update_interval", 86400);
8 pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul");
9 pref("browser.download.folderList", 1);
11 // Disable all add-on locations other than the profile (which can't be disabled this way)
12 pref("extensions.enabledScopes", 1);
13 // Auto-disable any add-ons that are "dropped in" to the profile
14 pref("extensions.autoDisableScopes", 1);
15 // Disable add-on installation via the web-exposed APIs
16 pref("xpinstall.enabled", false);
17 // Disable installation of distribution add-ons
18 pref("extensions.installDistroAddons", false);
19 // Disable the add-on compatibility dialog
20 pref("extensions.showMismatchUI", false);
22 // Set reportURL for crashes
23 pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/");
25 // Blocklist preferences
26 pref("extensions.blocklist.enabled", true);
27 pref("extensions.blocklist.interval", 86400);
28 // Controls what level the blocklist switches from warning about items to forcibly
30 pref("extensions.blocklist.level", 2);
31 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%/");
32 pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/");
33 pref("extensions.blocklist.itemURL", "https://blocklist.addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%");
35 pref("full-screen-api.enabled", true);
38 pref("dom.indexedDB.enabled", true);
39 pref("dom.indexedDB.warningQuota", 50);
41 // Offline cache prefs
42 pref("browser.offline-apps.notify", false);
43 pref("browser.cache.offline.enable", true);
44 pref("offline-apps.allow_by_default", true);
47 pref("dom.mozTCPSocket.enabled", true);
49 // Enable smooth scrolling
50 pref("general.smoothScroll", true);
53 pref("dom.mozPay.enabled", true);
56 pref("dom.sysmsg.enabled", true);
59 pref("dom.mozAlarms.enabled", true);
61 // Disable slow script dialog for apps
62 pref("dom.max_script_run_time", 0);
63 pref("dom.max_chrome_script_run_time", 0);
65 // The request URL of the GeoLocation backend
66 pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%");
69 // Enable mozPay default provider
70 pref("dom.payment.provider.0.name", "Firefox Marketplace");
71 pref("dom.payment.provider.0.description", "marketplace.firefox.com");
72 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req=");
73 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1");
74 pref("dom.payment.provider.0.requestMethod", "GET");
77 // Enable window resize and move
78 pref("dom.always_allow_move_resize_window", true);
80 // Disable all plugins. This has to be a non-empty string to disable plugins;
81 // otherwise, nsPluginHost::IsTypeWhitelisted assumes all plugins are enabled.
82 pref("plugin.allowed_types", " ");
84 pref("devtools.debugger.remote-enabled", true);
85 pref("devtools.debugger.force-local", true);
87 // The default for this pref reflects whether the build is capable of IPC.
88 // (Turning it on in a no-IPC build will have no effect.)
90 // i386 ipc preferences
91 pref("dom.ipc.plugins.enabled.i386", false);
92 pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true);
93 // x86_64 ipc preferences
94 pref("dom.ipc.plugins.enabled.x86_64", true);
96 pref("dom.ipc.plugins.enabled", true);
99 pref("places.database.growthIncrementKiB", 0);