Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

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.

How can I set plugins (Flash, Silverlight, Java) to always run on every site?

  • 4 respostas
  • 1 tem este problema
  • 6 visualizações
  • Última resposta de jreese

more options

I'm currently managing several Windows VMs that are used mainly as automated test platforms for web development.

Recently, I have been trying to test Silverlight content in Firefox on these virtual machines. Due to the number of virtual machines and the way automated tests are run, the easiest way to configure Firefox before running a test is by using user.js

Despite writing a number of preferences to user.js, I still can't get Silverlight (or other plugins) to be automatically enabled for all sites.

Below are the relevant preferences I am writing to user.js:

   user_pref("plugin.state.flash", 2);
   user_pref("plugin.state.java", 2);
   user_pref("plugin.state.silverlight", 2);
   user_pref("plugins.click_to_play", false);

I can see in about:config that the settings have been applied, but visiting a site with Silverlight still prompts to block/allow.

So, what settings must be set in user.js to allow plugins to always run on every site?

Thanks!

I'm currently managing several Windows VMs that are used mainly as automated test platforms for web development. Recently, I have been trying to test Silverlight content in Firefox on these virtual machines. Due to the number of virtual machines and the way automated tests are run, the easiest way to configure Firefox before running a test is by using user.js Despite writing a number of preferences to user.js, I still can't get Silverlight (or other plugins) to be automatically enabled for all sites. Below are the relevant preferences I am writing to user.js: user_pref("plugin.state.flash", 2); user_pref("plugin.state.java", 2); user_pref("plugin.state.silverlight", 2); user_pref("plugins.click_to_play", false); I can see in about:config that the settings have been applied, but visiting a site with Silverlight still prompts to block/allow. So, what settings must be set in user.js to allow plugins to always run on every site? Thanks!

Alterado por jreese em

Todas as respostas (4)

more options

Type about:addons<enter> in the address bar to open the Add-ons Manager. Hot key; <Control>(Mac=<Command>) <Shift> A)

On the left side of the page, select Plugins. Make sure the ones you want to use are set to Ask or Allow. ++++++++++++++++++++++++++++++++++++++++ Go to the web page. Once the page is loading, mouse to the address bar and Left click the icon. Select Permissions. In the menu, Make sure the ones you want to use are set to Ask or Allow.

more options

I appreciate the help, FredMcD!

Unfortunately, I am hoping for a way to do this programmatically. I'm having to manage dozens of virtual machines each with the 10 most recent versions of chrome with their own user profiles, so hopefully I won't have to open each one like that. And my understanding is that your procedure will only "always allow" the plugin for pages on that domain, correct?

more options

I called for more help.

more options

FredMcD said

I called for more help.

Thank you so much for the help! Any update on this? I'm happy to provide more information if necessary.