After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172652 - "Click to play" for plugins / flashblocker
"Click to play" for plugins / flashblocker
Status: RESOLVED NOTGNOME
Product: epiphany
Classification: Core
Component: Backend
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Xan Lopez
Epiphany Maintainers
: 136060 455504 (view as bug list)
Depends on:
Blocks: 755292
 
 
Reported: 2005-04-04 20:54 UTC by Christian Persch
Modified: 2017-02-05 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2005-04-04 20:54:30 UTC
We should integrate the flashblock extension. To do this, we need to find a way
to install a user agent stylesheet, and some chrome (XBL).
Comment 1 Jean-François Rameau 2005-04-05 14:46:04 UTC
To understand, is it to mimic the following Javascript snippet ?

var sss =
Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
var ios =
Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
var u = ios.newURI("chrome://flashblock/content/flashblock.css", null, null);
sss.loadAndRegisterSheet(u, sss.USER_SHEET);

Then, the problem is how to install all the relatives chromes (flashblock.css,
flash.xml, director.xml, ...), right ?
Comment 2 Christian Persch 2005-04-05 15:27:53 UTC
Right.

I tried replacing the chrome:// with corresponding file:// references; the css
was applied then but apparently the XBL bindings not. So we need to find a way
to register chrome.
Comment 3 Jean-François Rameau 2005-04-05 15:55:02 UTC
Could it be possible to play with nsInstall::RegisterChrome method ?

http://lxr.mozilla.org/seamonkey/source/xpinstall/src/nsInstall.h
Comment 4 Lionel Dricot 2008-10-17 09:56:14 UTC
*** Bug 136060 has been marked as a duplicate of this bug. ***
Comment 5 Lionel Dricot 2008-10-17 09:57:28 UTC
http://live.gnome.org/Epiphany/FlashBlock is still messy, geeky and doesn't work most of the time.

Having a flashblock extension would definitely be nice.
Comment 6 Jean-François Fortin Tam 2012-10-07 03:34:23 UTC
Would be nice to have in line with http://blogs.gnome.org/xan/2012/10/03/on-advertisement-and-international-traveling/ , like Firefox's built-in (but disabled) "click_to_play" feature/setting for plugins such as Flash.
Comment 7 Jean-François Fortin Tam 2012-10-08 02:38:04 UTC
*** Bug 455504 has been marked as a duplicate of this bug. ***
Comment 8 Michael Catanzaro 2015-09-30 12:19:05 UTC
Closing this bug as it concerns NPAPI plugins.
Comment 9 Carlos Garcia Campos 2015-09-30 13:13:01 UTC
I insist that NPAPI plugins are still supported and used by epiphany, there's no reason to not fix the problems related to the plugins, only because one day we might use another window system.
Comment 10 Joachim Frieben 2016-07-24 19:34:29 UTC
The absence of a "click-to activate" feature is an almost prohibitive shortcoming which is a big obstacle for wider adoption of "GNOME Web".
Comment 11 Bastien Nocera 2016-07-24 19:41:01 UTC
(In reply to Joachim Frieben from comment #10)
> The absence of a "click-to activate" feature is an almost prohibitive
> shortcoming which is a big obstacle for wider adoption of "GNOME Web".

Given that you can't run any recent version of Flash in epiphany, I don't see how that could even be a shortcoming nowadays.
Comment 12 Joachim Frieben 2016-07-24 20:49:14 UTC
(In reply to Bastien Nocera from comment #11)
Interesting, I am currently using the latest Flash plugin version 11.2.202.632 both with epiphany 3.18.5 and epiphany 3.21.4.
Comment 13 Michael Catanzaro 2016-07-24 21:20:07 UTC
(In reply to Joachim Frieben from comment #12)
> (In reply to Bastien Nocera from comment #11)
> Interesting, I am currently using the latest Flash plugin version
> 11.2.202.632 both with epiphany 3.18.5 and epiphany 3.21.4.

Unfortunately we're probably up to Flash version 20something now, Linux has been left behind.

Anyway, patches for click-to-play plugins are absolutely welcome; it probably doesn't require any changes in Epiphany, just in WebKit. I'm not personally interested in spending time on NPAPI myself as I think other issues are higher priorities, but I'll review any patches sent my way. (Some reasons for thinking this is low priority: Flash is the only plugin left that matters. It being proprietary, I won't install it. Mozilla and Google are both accelerating plans to kill it. Flash will never work in Wayland, and the non-Wayland case will soon not be very interesting to me anymore.)
Comment 14 Bastien Nocera 2016-07-24 21:31:31 UTC
(In reply to Joachim Frieben from comment #12)
> (In reply to Bastien Nocera from comment #11)
> Interesting, I am currently using the latest Flash plugin version
> 11.2.202.632 both with epiphany 3.18.5 and epiphany 3.21.4.

Current Chrome provided version is 22.0.0.192. You're running something full of security holes, in addition to the other problems mentioned by Michael.
Comment 15 Michael Catanzaro 2016-07-24 23:22:56 UTC
(In reply to Bastien Nocera from comment #14)
> Current Chrome provided version is 22.0.0.192. You're running something full
> of security holes, in addition to the other problems mentioned by Michael.

(Adobe is actually releasing security fixes for Linux still. No denying that Flash is the most vulnerable software on your computer nevertheless... but that's what click-to-play is meant to mitigate, after all.)
Comment 16 Michael Catanzaro 2017-01-23 19:32:47 UTC
Hm, this is really a WebKit issue. Nothing we can do about it in Epiphany.

Thanks for taking the time to report this.
This issue is most likely a bug in WebKit. Please report the bug to https://bugs.webkit.org/ including a link to this bug report and noting the version of WebKitGTK+ that you have installed. When reporting the WebKit bug, be sure to include the prefix '[GTK]' in the bug summary and select the 'WebKit Gtk' component.
Comment 17 Joachim Frieben 2017-02-05 09:40:02 UTC
This issue has been reported in WebKit's bugzilla as https://bugs.webkit.org/show_bug.cgi?id=167852.