Dynamic filtering: disabling cosmetic filtering for the current site - alexxroche/Blancher GitHub Wiki

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.

⚠️ **GitHub.com Fallback** ⚠️