Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

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

  • 4 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par 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("", 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?


Modifié le par jreese

Toutes les réponses (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.