We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Disable addons settings in mozilla.cfg

  • 3 respostas
  • 1 tem este problema
  • 3 visualizações
  • Última resposta por 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!

Todas as respostas (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

Modificado por ideato a

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