Ublock: Offer click to allow once replacements for certain content

Created on 15 Aug 2016  路  5Comments  路  Source: gorhill/uBlock

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.

Most helpful comment

@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!

All 5 comments

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

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.

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

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

@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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Darkspirit picture Darkspirit  路  4Comments

GSNord picture GSNord  路  3Comments

Travisi picture Travisi  路  3Comments

splattadat picture splattadat  路  4Comments

UnicornVariant picture UnicornVariant  路  3Comments