1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/webapprt/prefs.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,94 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +pref("browser.chromeURL", "chrome://webapprt/content/webapp.xul"); 1.9 +pref("browser.download.folderList", 1); 1.10 + 1.11 +// Disable all add-on locations other than the profile (which can't be disabled this way) 1.12 +pref("extensions.enabledScopes", 1); 1.13 +// Auto-disable any add-ons that are "dropped in" to the profile 1.14 +pref("extensions.autoDisableScopes", 1); 1.15 +// Disable add-on installation via the web-exposed APIs 1.16 +pref("xpinstall.enabled", false); 1.17 +// Disable installation of distribution add-ons 1.18 +pref("extensions.installDistroAddons", false); 1.19 +// Disable the add-on compatibility dialog 1.20 +pref("extensions.showMismatchUI", false); 1.21 + 1.22 +// Set reportURL for crashes 1.23 +pref("breakpad.reportURL", "https://crash-stats.mozilla.com/report/index/"); 1.24 + 1.25 +// Blocklist preferences 1.26 +pref("extensions.blocklist.enabled", true); 1.27 +pref("extensions.blocklist.interval", 86400); 1.28 +// Controls what level the blocklist switches from warning about items to forcibly 1.29 +// blocking them. 1.30 +pref("extensions.blocklist.level", 2); 1.31 +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%/"); 1.32 +pref("extensions.blocklist.detailsURL", "https://www.mozilla.com/%LOCALE%/blocklist/"); 1.33 +pref("extensions.blocklist.itemURL", "https://addons.mozilla.org/%LOCALE%/%APP%/blocked/%blockID%"); 1.34 + 1.35 +pref("full-screen-api.enabled", true); 1.36 + 1.37 +// IndexedDB 1.38 +pref("dom.indexedDB.enabled", true); 1.39 +pref("dom.indexedDB.warningQuota", 50); 1.40 + 1.41 +// Offline cache prefs 1.42 +pref("browser.offline-apps.notify", false); 1.43 +pref("browser.cache.offline.enable", true); 1.44 +pref("offline-apps.allow_by_default", true); 1.45 + 1.46 +// TCPSocket 1.47 +pref("dom.mozTCPSocket.enabled", true); 1.48 + 1.49 +// Enable smooth scrolling 1.50 +pref("general.smoothScroll", true); 1.51 + 1.52 +// WebPayment 1.53 +pref("dom.mozPay.enabled", true); 1.54 + 1.55 +// System messages 1.56 +pref("dom.sysmsg.enabled", true); 1.57 + 1.58 +// Alarm API 1.59 +pref("dom.mozAlarms.enabled", true); 1.60 + 1.61 +// Disable slow script dialog for apps 1.62 +pref("dom.max_script_run_time", 0); 1.63 +pref("dom.max_chrome_script_run_time", 0); 1.64 + 1.65 +// The request URL of the GeoLocation backend 1.66 +pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); 1.67 + 1.68 +#ifndef RELEASE_BUILD 1.69 +// Enable mozPay default provider 1.70 +pref("dom.payment.provider.0.name", "Firefox Marketplace"); 1.71 +pref("dom.payment.provider.0.description", "marketplace.firefox.com"); 1.72 +pref("dom.payment.provider.0.uri", "https://marketplace.firefox.com/mozpay/?req="); 1.73 +pref("dom.payment.provider.0.type", "mozilla/payments/pay/v1"); 1.74 +pref("dom.payment.provider.0.requestMethod", "GET"); 1.75 +#endif 1.76 + 1.77 +// Enable window resize and move 1.78 +pref("dom.always_allow_move_resize_window", true); 1.79 + 1.80 +pref("plugin.allowed_types", "application/x-shockwave-flash,application/futuresplash"); 1.81 + 1.82 +pref("devtools.debugger.remote-enabled", true); 1.83 +pref("devtools.debugger.force-local", true); 1.84 + 1.85 +// The default for this pref reflects whether the build is capable of IPC. 1.86 +// (Turning it on in a no-IPC build will have no effect.) 1.87 +#ifdef XP_MACOSX 1.88 +// i386 ipc preferences 1.89 +pref("dom.ipc.plugins.enabled.i386", false); 1.90 +pref("dom.ipc.plugins.enabled.i386.flash player.plugin", true); 1.91 +// x86_64 ipc preferences 1.92 +pref("dom.ipc.plugins.enabled.x86_64", true); 1.93 +#else 1.94 +pref("dom.ipc.plugins.enabled", true); 1.95 +#endif 1.96 + 1.97 +pref("places.database.growthIncrementKiB", 0);