Эта тема была архивирована. Если вам нужна помощь, задайте новый вопрос.
plugins.click_to_play false doesn't work
I followed the instructions below:
If you'd like to Disable Firefox's Click-to-Play feature,
Type about:config in the address bar and press Enter. Press the big button to bypass the warning. In the search box, paste plugins.click_to_play In the search results, double-click plugins.click_to_play to set its value to false
And it made absolutely NO difference. I'm so sick of having to click to play on everything I want to scream. Does anyone have any other ideas? This is the only one I've found and it's not working.
Все ответы (15)
You can modify the settings of the plugins in Firefox/Tools > Add-ons > Plugins to always activate.
That should work with click-to-play disabled unless you have plugins that are blocklisted (outdated or for security reasons).
The window always says Activate Adobe Flash on each page that it appears and it's not listed as such in the plugins. Also, the Java Deployment Toolkit either gives me 'ask to activate' or 'disable' but no other option.
This is very frustrating.
I opened about:config to set 'plugins click to play' to false, and it was already false! The relevant plugins are all set to 'always activate' except for Java (because there's no such option). So it's impossible to disable click to play - perhaps Mozilla should've considered the apparent impossibility of disabling this feature.
You can find the Adobe Flash player as Shockwave Flash 11.8 r800
If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content.
Hi LordChilde, if you cannot choose Always Activate on the Plugins section of the Add-ons page, it is because the plugin is blocked as insecure. Usually this can be resolved with an update, but not always. Regarding Java:
- Java Platform SE: You should be able to find an update to resolve the issue with this plugin (this is the standard Java plugin).
- Java Deployment Toolkit: right now, it appears there is no update for this plugin.
I use Flashblock and Adblock Plus - Flashblock is off, and just to make sure I disabled Adblock on a couple of pages that run Flash.
No Problem with Java platform. For Java Deployment I've set extensions.blocklist.enabled to false - now this plugin is 'always activate'. So all plugins are set to always activate. I restarted FF, yet the plugin icon still appears in the address bar and I still have to manually choose.
btw, Is there a page detailing ALL the things that can be done via about:config? Because at the moment it's piece-meal - tedious search and answer.
Hi LordChilde, you wrote:
I restarted FF, yet the plugin icon still appears in the address bar and I still have to manually choose.
If you have Always Activate, the icon should be informing you that the plugin is running and lets you block it if you want. If you don't want to block it, just ignore it.
btw, Is there a page detailing ALL the things that can be done via about:config?
I have not seen one. The mozillaZine Knowledge Base covers many of the settings, but new ones are introduced regularly, and some of them are for internal use and not meant to be modified by users.
Java is set to always activate. It is also up to date.
Java toolkit is Always Ask and I can't change it nor can I disable or uninstall it.
So, unless Mozilla addresses this in the future, I'm stuck with having to always click to activate which is a really sucky thing to do to their consumers (yes, I know sucky is an immature word, but really, I'm so tired of this)
"If you have Always Activate, the icon should be informing you that the plugin is running and lets you block it if you want. If you don't want to block it, just ignore it."
Sorry, but it doesn't work like that! I've just accessed Youtube and Flash is blocked unless I allow Flash to run. I've jumped through all the hoops that are supposed to prevent this - to actually disable 'click to play' and allow Flash to run wherever (if I don't want Flash I use Flashblock), yet I'm still having to 'click' in order to 'play'.
It's no big deal... a minor irritation ("allow and remember" will resolve the issue when I view every single website that runs Flash). But it becomes an annoyance when I spend time trying to disable the damn thing without success.
Hi LordChilde, I wonder whether Firefox has stored a different site-specific preference. The next time you find a page with Flash blocked, could you check the Permissions tab of the Page Info dialog. You can access this using:
- click the padlock or globe to the left of the address > More Information
- right-click the page > View Page Info
- Tools menu > Page Info
I've attached a sample screen shot for what I see on this site. Is there a site-specific block, or is the page using what it thinks is the default setting?
In Permissions (when Flash is running) it's set as 'allow'. When Flash is blocked it switches to 'always ask'... (Flash is also blocked when 'use default' is manually checked).
Hi LordChilde, I think your scenario has uncovered a bug. I think it's a bug in the UI, but arguably it's also a departure from what users would expect. I can replicate it by doing the following:
(1) In about:config, set plugins.click_to_play = true. Keep this tab open.
(2) Open the Add-ons page (Ctrl+Shift+a) to the Plugins section, set Shockwave Flash to Ask to Activate. Then close this tab.
(3) Open a page with Flash media to confirm that it worked (this assumes it is a site for which you have not previously set the "Allow" permission). Then close this tab.
(4) In about:config, reset plugins.click_to_play = false.
(5) Open the Add-ons page (Ctrl+Shift+a) to the Plugins section, and observe that Shockwave Flash is now shown as being set to Always Activate. Then close this tab.
(6) Open a page with Flash media and observe the click-to-play UI in place of the media. Open the Page Info dialog and observe that the Flash permission for the page is "Use default." Obviously this is inconsistent with #5. Then close this tab.
(7) In about:config, set plugins.click_to_play = true.
(8) Open the Add-ons page (Ctrl+Shift+a) to the Plugins section. Observe that Shockwave Flash is set to Ask to Activate.
From this, it is clear that toggling the setting in about:config does not actually change the permission Firefox is applying. It does, however, change the choices on the drop-down control so the true permission is misreported on this page. To correct the actual default permission, you have to do one of the following:
- Re-enable click-to-play so the Add-ons page shows all 3 choices, and manually change "Ask to Activate" to "Always Activate" before disabling click-to-play again.
- Force an update by changing to "Never Activate" first, then changing to "Always Activate".
Maybe someone has already filed a bug on this, I haven't searched.
Must be a bug if the only way to disable ‘click to play’ is to disable Flash itself. Flashblock disables Flash - and the plugin icon disappears, but as soon as FB is “off” it comes back again.
Interestingly, ‘click to play’ is also disabled when I use a mobile agent in User Agent Switcher.
Hi LordChilde, did either of the methods toward the end of my post (the two bullets) work for you? (With Flashblock disabled.)
Ah, Yes! I assumed nothing changed because I still could not disable 'click to play'. However, I tried Flash in daily motion and huffingdon post (two sites I've not accessed since updating to FF24) - videos played automatically bypassing 'click to play', so problem solved.
I've done a copy/paste job of your fix for future reference.
Many thanks for your help.