|
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/. */ |
|
4 |
|
5 pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul"); |
|
6 pref("browser.download.folderList", 1); |
|
7 |
|
8 // Disable all add-on locations other than the profile (which can't be disabled this way) |
|
9 pref("extensions.enabledScopes", 1); |
|
10 // Auto-disable any add-ons that are "dropped in" to the profile |
|
11 pref("extensions.autoDisableScopes", 1); |
|
12 // Disable add-on installation via the web-exposed APIs |
|
13 pref("xpinstall.enabled", false); |
|
14 // Disable installation of distribution add-ons |
|
15 pref("extensions.installDistroAddons", false); |
|
16 // Disable the add-on compatibility dialog |
|
17 pref("extensions.showMismatchUI", false); |
|
18 |
|
19 // Set reportURL for crashes |
|
20 pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/"); |
|
21 |
|
22 // Blocklist preferences |
|
23 pref("extensions.blocklist.enabled", true); |
|
24 pref("extensions.blocklist.interval", 86400); |
|
25 // Controls what level the blocklist switches from warning about items to forcibly |
|
26 // blocking them. |
|
27 pref("extensions.blocklist.level", 2); |
|
28 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%/"); |
|
29 pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/"); |
|
30 pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%"); |
|
31 |
|
32 pref("full-screen-api.enabled", true); |
|
33 |
|
34 // IndexedDB |
|
35 pref("dom.indexedDB.enabled", true); |
|
36 pref("dom.indexedDB.warningQuota", 50); |
|
37 |
|
38 // Offline cache prefs |
|
39 pref("browser.offline-apps.notify", false); |
|
40 pref("browser.cache.offline.enable", true); |
|
41 pref("offline-apps.allow_by_default", true); |
|
42 |
|
43 // TCPSocket |
|
44 pref("dom.mozTCPSocket.enabled", true); |
|
45 |
|
46 // Enable smooth scrolling |
|
47 pref("general.smoothScroll", true); |
|
48 |
|
49 // WebPayment |
|
50 pref("dom.mozPay.enabled", true); |
|
51 |
|
52 // System messages |
|
53 pref("dom.sysmsg.enabled", true); |
|
54 |
|
55 // Alarm API |
|
56 pref("dom.mozAlarms.enabled", true); |
|
57 |
|
58 // Disable slow script dialog for apps |
|
59 pref("dom.max_script_run_time", 0); |
|
60 pref("dom.max_chrome_script_run_time", 0); |
|
61 |
|
62 // The request URL of the GeoLocation backend |
|
63 pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); |
|
64 |
|
65 #ifndef RELEASE_BUILD |
|
66 // Enable mozPay default provider |
|
67 pref("dom.payment.provider.0.name", "Firefox Marketplace"); |
|
68 pref("dom.payment.provider.0.description", "marketplace.firefox.com"); |
|
69 pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req="); |
|
70 pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); |
|
71 pref("dom.payment.provider.0.requestMethod", "GET"); |
|
72 #endif |
|
73 |
|
74 // Enable window resize and move |
|
75 pref("dom.always_allow_move_resize_window", true); |
|
76 |
|
77 pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash"); |
|
78 |
|
79 pref("devtools.debugger.remote-enabled", true); |
|
80 pref("devtools.debugger.force-local", true); |
|
81 |
|
82 // The default for this pref reflects whether the build is capable of IPC. |
|
83 // (Turning it on in a no-IPC build will have no effect.) |
|
84 #ifdef XP_MACOSX |
|
85 // i386 ipc preferences |
|
86 pref("dom.ipc.plugins.enabled.i386", false); |
|
87 pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true); |
|
88 // x86_64 ipc preferences |
|
89 pref("dom.ipc.plugins.enabled.x86_64", true); |
|
90 #else |
|
91 pref("dom.ipc.plugins.enabled", true); |
|
92 #endif |
|
93 |
|
94 pref("places.database.growthIncrementKiB", 0); |