Bug 1262010 - Change default plugin state to "never activate" in Instantbird. r=clokep
authoraleth <aleth@instantbird.org>
Tue, 05 Apr 2016 01:10:25 +0200
changeset 19175 23a2d877bca7d8cef8ef9e22d20a56c4c2833376
parent 19174 49be41a82721ac6caca28b8994f16998dea13340
child 19176 6486df8056f66ec2a59a8141eacba596e4389e3a
push id11770
push useraleth@instantbird.org
push dateMon, 04 Apr 2016 23:18:11 +0000
treeherdercomm-central@23a2d877bca7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersclokep
bugs1262010
Bug 1262010 - Change default plugin state to "never activate" in Instantbird. r=clokep
im/app/profile/all-instantbird.js
--- a/im/app/profile/all-instantbird.js
+++ b/im/app/profile/all-instantbird.js
@@ -239,16 +239,30 @@ pref("extensions.webservice.discoverURL"
 
 pref("extensions.getMoreExtensionsURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/extensions/");
 pref("extensions.getMoreThemesURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/themes/");
 pref("extensions.getMorePluginsURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/plugins/");
 pref("extensions.getMoreMessageStylesURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/messagestyles/");
 pref("extensions.getMoreEmoticonsURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/emoticons/");
 pref("extensions.getMoreProtocolsURL", "https://add-ons.instantbird.org/%LOCALE%/%APP%/%VERSION%/protocols/");
 
+// Click-to-play has not been ported yet, see bug 814168.
+// The default plugin state should be changed to "ask to activate" when this
+// has been done.
+pref("plugins.click_to_play", false);
+// Disable by default.
+pref("plugin.default.state", 0);
+
+// Plugins bundled in XPIs are enabled by default.
+pref("plugin.defaultXpi.state", 2);
+
+// Flash and Java disabled by default.
+pref("plugin.state.flash", 0);
+pref("plugin.state.java", 0);
+
 // suppress external-load warning for standard browser schemes
 pref("network.protocol-handler.warn-external.http", false);
 pref("network.protocol-handler.warn-external.https", false);
 pref("network.protocol-handler.warn-external.ftp", false);
 
 // don't load links inside Instantbird
 pref("network.protocol-handler.expose-all", false);
 // Although we allow these to be exposed internally, there are various places