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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 ردود
  • 1 has this problem
  • 6 views
  • آخر ردّ كتبه 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!

Modified by jreese

All Replies (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.