gecko-dev/webapprt/prefs.js
Gavin Sharp d78e8e021a Bug 754915: auto-disable profile loaded add-ons, and disable web-triggered XPI installation, r=myk, f=Unfocused
--HG--
extra : transplant_source : j%7C%3A%EB%5C%C9%9C%93%15%AD%ED%82%7B%29p%8D%8B%40%1A%C2
2012-05-21 13:50:51 -07:00

14 lines
637 B
JavaScript

/* 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");
pref("browser.download.folderList", 1);
// Disable all add-on locations other than the profile (which can't be disabled this way)
pref("extensions.enabledScopes", 1);
// 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);