Ce sujet de discussion a été archivé. Veuillez poser une nouvelle question si vous avez besoin d’aide.
How can I set plugins (Flash, Silverlight, Java) to always run on every site?
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?
Modifié le par jreese
Toutes les réponses (4)
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.
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?
I called for more help.