1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-29 06:07:11 +02:00

Destroyed Dynamic filtering: disabling cosmetic filtering for the current site (markdown)

Raymond Hill 2017-04-08 00:07:35 -04:00
parent ce012706ab
commit 99a314182b

@ -1,12 +0,0 @@
[Back to "Dynamic-filtering"](https://github.com/gorhill/uBlock/wiki/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](https://raw.githubusercontent.com/gorhill/uBlock/master/doc/img/df-turn-off-cosmetic.gif)<br>
<sup>Only `twitter.com` is whitelisted, `google-analytics.com` is still blocked.</sup>
Using an `allow` rule for the current site will disable network **and** cosmetic filtering for the 1st-party domain.