Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Disable addons settings in mozilla.cfg

  • 3 svar
  • 1 har detta problem
  • 10 visningar
  • Senaste svar av ideato

more options

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!

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!

Alla svar (3)

more options

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

Ändrad av ideato

more options

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.

more options

sorry see: Bug 668999 xpinstall.enabled is supposed to be a kill switch, not prompt for re-enabling