AdGuard, uBlock Origin, and Adblock Plus provide this option and it is quite popular among filter lists maintainers. The idea is that content blockers should be able to add custom Content Security policies to pages matching the "url-filter". Please note, that this can only make CSP stricter because existing CSP must stay untouched. Here's how it could look like: "action": { "type": "add-csp", "csp": "script-src 'self' 'unsafe-eval'" } Example: One of the most popular use cases for this type of rules is disabling inline scripts. If this feature request is implemented, it could be done with a rule like this: "action": { "type": "add-csp", "csp": "script-src 'self' 'unsafe-eval' http: https:" }
<rdar://problem/59084750>