Closed Bug 950734 Opened 11 years ago Closed 11 years ago

plugins.hide_infobar_for_blocked_plugin does not work

Categories

(Core Graveyard :: Plug-ins, defect)

26 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kuroptev, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached image Screen Shot 2013-12-16 at 20.50.30.png (obsolete) —
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: I have set plugins.hide_infobar_for_blocked_plugin to TRUE in the about:config section. Actual results: An infobar with the following text appears: Allow SITE to run "Adobe Flash"? Expected results: No infobar, yet the plugin icon in the address bar to allow the plugin (if needed).
Attachment #8348128 - Attachment is obsolete: true
As it turned out, the infobar can not be captured with the "screenshot" command in the developer console.
Correct screenshot added.
Doesn't look like that pref is used anywhere in 26+, despite being defined. I don't know about 25 and earlier. http://mxr.mozilla.org/mozilla-release/search?find=%2F&string=hide_infobar
Component: Untriaged → General
Please see bug 870112. If using plugins.notifyMissingFlash works fine, this bug can be closed as invalid.
plugins.notifyMissingFlash not helping. And I have Flash installed, so it is not "missing", but "blocked" with click-to-play settings. Here is screenshot with infobar -- https://bugzilla.mozilla.org/attachment.cgi?id=8348140
Component: General → Plug-ins
Product: Firefox → Core
You want https://addons.mozilla.org/en-US/firefox/addon/hide-plugin-notifications/ We do not intend to add a hidden pref to control this.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Understood, thanks for the answer. However, I am bit concerned about the fact that some 3rd party addon is required to bring the browser to its normal state. I mean, if I need to use Flash (or any other plugin) on most of sites, why would I turn it off ("Ask to activate") in the plugin settings? And if I turned off Flash (set to "Ask to activate"), why would I need a popup infobar on each and every site which uses Flash? - it's annoying! If I need Flash to be turned on on this exactly site, I can turn it by clicking on plugin icon in the address or on the plugin's area on the page.
I should emphasize the conversation above means there is now _no_ apparent way of enabling click-to-play for all plugins. For people like me who were relying on plugin.default.state=1 to enable click-to-play for all plugins, now we have to click twice to enable, for example, Google Talk plugin. One can set plugin.default.state to always allow but, for some reason, on Youtube the flash plugin does not ask to activate using the infobar (or maybe it did the first time and a configuration is kept somewhere). So, for now, there is inconsistent behavior when trying to achieve click-to-play for all plugins.
As I just have found, there is a way to eliminate infobar without use of 3rd party plugins (well, I have had the plugin installed to find this out): The following code has to be added to %profile%\chrome\userChrome.css: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); notification[value="plugin-hidden"] { display: none !important; }
"We do not intend to add a hidden pref to control this." I'm sorry, but is there any reason? Also, what is the purpose of plugins.hide_infobar_for_blocked_plugin?
It has no purpose and should probably be removed from the prefs list.
(In reply to Benjamin Smedberg [:bsmedberg] from comment #11) > It has no purpose and should probably be removed from the prefs list. Filed bug 1027049.
"We do not intend to add a hidden pref to control this." Why? The prefs are made for this! I don't want to install any plugin just to disable annoying "features".
Per e.g. comment 9 its not hard to change this with user style modification (or package that into an addon), so there is no need to implement a pref for that.
But style modifications are overwritten with any update. And addons are annoying, especially for this kind of stuff.
As of now (FF35, updated from 32) none of the workarounds in the thread are working. Very very annoying behavior is back again! Please advise. Annoying enough to downgrade to perfectly working and known 32. All the corresponding and eligible prefs are carried on from previous versions and double checked them.
In which site? I'm on Nightly and seen no such behaviour. Please tell us the site you are having problems with.
On youtube and others. FF35, updated yesterday. I had (still present) the userChrome.css workaround working for months ever since this surfaced as a problem.
After several restarts now it seems FF35 behaves as before. Have been restarting it 3-4 times to disable addons etc., then restore addons, but didn't help. Now after few more ordinary restarts it seems back on track.
Let me point out that, as of the last year or so, there's a plugin icon in the address bar that one can use to enable the plugin, so the infobar is redundant; and since a click-to-play user very rarely does want to enable a plugin, it's noise. Add a hidden preference or don't, but please get rid of the infobar by default.
(In reply to Benjamin Smedberg [:bsmedberg] from comment #6) > You want > https://addons.mozilla.org/en-US/firefox/addon/hide-plugin-notifications/ > > We do not intend to add a hidden pref to control this. Problem with proposed solution is that... at one point it simply stop to work, like just now. So the user ends up being annoying with completely useless bar.
As of this writing, the infobar seems to be dead and gone.
So we have Firefox 47 and following doesn't work: * add-on: https://addons.mozilla.org/en-US/firefox/addon/hide-plugin-notifications/ * userChrome snippet. How one gets rid of this annoying notification which pops up on almost every second page?! (I still need flash installed for this 1-2 sites but I completely and utterly don't need it anywhere else)...
Indeed, this is still _extremely_ annoying, particularly because the infobar displaces content right around the time I'm trying to interact with it.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: