Added support for the $csp filter option · 2018-04-21 17:30 by Dave Vandyke
Starting with Adblock Plus 3.1 for Chrome, Firefox and Opera (and development builds as of 22.214.171.1248) the
$csp filter option is supported.
$csp filter option allows for the injection of additional Content Security Policies, which in turn allow for requests, frames, images, scripts and more to be blocked.
You might ask why this is useful, since we can already block requests. Well, the reason is that
$csp filters block things in a fundamentally different way which is harder for websites to circumvent. That said,
$csp filters are less fine-grained than traditional request blocking filters and so should be used as a last resort.
In fact, using a $csp filter is rather a sledgehammer approach, for example the filter
Commenting is closed for this article.