nico3333fr / CSP-useful

Collection of scripts, thoughts about CSP (Content Security Policy)
MIT License
486 stars 59 forks source link

Explanation: "blocked-uri": "inline" and similar #69

Open Zenexer opened 5 years ago

Zenexer commented 5 years ago

This happens if you don't allow inline scripts--that is, <script> with no src attribute, but rather embedded JavaScript. Inline JavaScript has to be explicitly allowed via 'inline'.

Note that some analytics tools and other libraries may inject their own inline <script> tags.