Adblock Plus and (a little) more

Added support for the $csp filter option · 2018-04-21 17:30 by Dave Barker

Starting with Adblock Plus 3.1 for Chrome, Firefox and Opera (and development builds as of the $csp filter option is supported.

The $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 ||^$csp=script-src 'none' will block all JavaScript (including inline) from running in documents loaded from the domain

To the install page



(E-mail address is optional and will not be displayed, it is necessary if you want to get a notification about my replies)
Please note that comments not related to this blog post will be removed. For questions on Adblock Plus please use the forums.
  Textile Help