Disable addons settings in mozilla.cfg
I need to disable the ability of a user to install addons in the Firefox ESR version. I have added lockPref("app.update.enabled",false); lockPref("app.update.auto",false); lockPref("extensions.update.enabled", false); lockPref("browser.search.update", false);
This doesn't work as users are still able to install addons. What are the options that cover addon installations?
Thanks in advance!
Tất cả các câu trả lời (3)
In about:config create xpinstall.enabled (Boolean) and make it FALSE (it is true by default and not exist)
then lock it (as you do with app.update.enabled etc.) with Locking preferences
when it is false and Unlock when someone try to install an add-on then, he/she can see an info bar asking for permission to install the extension... so is useless if it is UNlock.
try it and please report back to us
thank you
Được chỉnh sửa bởi ideato vào
I tried that after getting that information from the mockbox website (http://www.mockbox.net/windows-7/498-firefox-10-how-to-disable-addon-plugin-installation) but it made no change in the behavior. The Tools menu still allows users to download and install addons openly. The about:config page shows the option xpinstall.enabled with a value of false and locked.
sorry see: Bug 668999 xpinstall.enabled is supposed to be a kill switch, not prompt for re-enabling