⇐ Home

contentsecuritypolicy2 "Can I use..." widgets

Mitigate cross-site scripting attacks by only allowing certain sources of script, style, and other resources. CSP 2 adds hash-source, nonce-source, and five new directives

What browser do support contentsecuritypolicy2 widget

Add this code to your website
<script data-feature="contentsecuritypolicy2" defer src="https://cdn.caniusewidgets.com/scripts/overviewtable.js"></script>
to display the following widget

How many browsers globally do support contentsecuritypolicy2 widget

Add this code to your website
<script data-feature="contentsecuritypolicy2" defer src="https://cdn.caniusewidgets.com/scripts/browsersupport.js"></script>
to display the following widget

Is contentsecuritypolicy2 supported in my browser widget

Add this code to your website
<script data-feature="contentsecuritypolicy2" defer src="https://cdn.caniusewidgets.com/scripts/single.js"></script>
to display the following widget
caniusewidgets.com/contentsecuritypolicy2
Change caniuse.com to caniusewidgets.com to get to this page

Other interesting features:

Give feedback
All feature data is provided by caniuse.com