uBlock icon indicating copy to clipboard operation
uBlock copied to clipboard

Offer click to allow once replacements for certain content

Open yoshimo opened this issue 8 years ago • 5 comments

Some pages implement Widgets for comments , videos or music, which is at first a tracking problem as it requests data from a thirdparty domain. Sometimes you want to participate in the discussion though or watch the video. It would be cool to have a "allow once and reload" button instead of the original content. Disquus for example could need such a click-to-play implementation.

yoshimo avatar Aug 15 '16 12:08 yoshimo

For Disqus, import the following URL itself (experimental) into the custom filter list in the "3rd-party filters" pane:

https://gist.githubusercontent.com/gorhill/ef1b62d606473c68d524/raw/f8181faac18cb5172c7c9bca8e5a3b22f0c925d0/gistfile1.txt

gorhill avatar Aug 15 '16 12:08 gorhill

it would be cool if you could decide in the filter wether something is completely removed or replaced with a placeholder like with flash that can be activated when needed.

elypter avatar Aug 15 '16 13:08 elypter

For Flash applets, just use the browser's own click-to-play feature.

gorhill avatar Aug 15 '16 13:08 gorhill

@gorhill it is just an analogy to flash, not about flash itself.

yoshimo avatar Aug 15 '16 14:08 yoshimo

@gorhill I've been noticing a trend recently of a lot of websites moving away from Disqus for comments sections. (Anecdotally I have seen the shift go sometimes towards live fyre but MOSTLY towards facebook comment sections.)

I could see a 'click to allow' functionality being very useful for things such as Brightcove's media player, facebook comments, embedded youtube videos, etc.

This is not a request of you per se, but is it possible for anyone to create a filter list with the same type of functionality as your 'Disqus click to load' filterlist for other external web components or would that require modifying uBlock Origin? e.g. In order for it to work beyond Disqus, would we need to add in our own special injected scripts within uBlock for the same Disqus functionality to work with any other external request?

I personally love the way the 'click to load for Disqus' was implemented and use it very frequently but I imagine it is a pretty hidden option / not used by very many users unless they are the type to go digging through the issue tracker here.

It would be awesome if this is possible for other sites already and is just an issue of starting a 'click to load' filterlist for common third party web elements. This would allow filterlist maintainers to expand on your initial thought and start using it for other external requests.

Again, this is not a request for you to develop this, just wondering if it is possible with how uBlock is currently setup for anyone to come up with filters to emulate the 'click to load' functionality of Disqus for other sites.

Cheers!

jjohns71 avatar Apr 04 '17 17:04 jjohns71