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!

Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Policies.json

  • 2 respostas
  • 1 tem este problema
  • 1 exibição
  • Última resposta de Theknee

more options

Hello,

I am trying to control a whitelist add-on installation in firefox Quantum 61.0.2 (64-bit). I am using the policies.json file (located under C:\Program Files\Mozilla Firefox\distribution). Problem is if I use the following syntax, Firefox allow me to install any add-on other than the two listed.

{

 "policies": {

"InstallAddonsPermission": {

     		"Allow": ["https://addons.mozilla.org/en-US/firefox/addon/exif-viewer/?src=search",
                               "https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/?src=search"],			  

"Default": false

      }
  }

}


But, if I use the following code, all add-on are blocked. Anyone can tell me what is the correct syntax to control specific add-on to be installed on the computer?

{

 "policies": {
   "InstallAddonsPermission": {
     "Allow": ["http://example.org/",
                     "http://example.edu/"],
     "Default": false
   }
 }

}


Thank you.

Hello, I am trying to control a whitelist add-on installation in firefox Quantum 61.0.2 (64-bit). I am using the policies.json file (located under C:\Program Files\Mozilla Firefox\distribution). Problem is if I use the following syntax, Firefox allow me to install any add-on other than the two listed. { "policies": { "InstallAddonsPermission": { "Allow": ["https://addons.mozilla.org/en-US/firefox/addon/exif-viewer/?src=search", "https://addons.mozilla.org/en-US/firefox/addon/video-downloadhelper/?src=search"], "Default": false } } } But, if I use the following code, all add-on are blocked. Anyone can tell me what is the correct syntax to control specific add-on to be installed on the computer? { "policies": { "InstallAddonsPermission": { "Allow": ["http://example.org/", "http://example.edu/"], "Default": false } } } Thank you.

Todas as respostas (2)

more options

What happens if those are blank?

more options

It seem to allow to install any add-on. Problem is I do want to allow only specific list of add-on. It seems that I soon as I put a valid url it opens the installation to any add-on(nothing is blocked).