Skip to content

Dynamic filtering: disabling cosmetic filtering for the current site

SW1FT edited this page Mar 27, 2015 · 7 revisions

Back to "Dynamic-filtering"


Someone asked me if it was possible to disable cosmetic filtering for the current site, without disabling uBlock, so as to keep the ability to block 3rd parties, to prevent them from injecting their ads, trackers, analytics, etc.

This is actually possible using dynamic filtering: a simple local allow rule (green) for the current site:

Toggling on/off cosmetic filtering
Only twitter.com is whitelisted, google-analytics.com is still blocked.

Using an allow rule for the current site will disable network and cosmetic filtering for the 1st-party domain.

Clone this wiki locally