Description Usage Arguments Value References
Tests for what a parsed CSP allows
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | allows_child_from_source(csp, URL)
allows_connect_to(csp, URL)
allows_font_from_source(csp, URL)
allows_form_action(csp, URL)
allows_frame_ancestor(csp, URL)
allows_frame_from_source(csp, URL)
allows_manifest_from_source(csp, URL)
allows_media_from_source(csp, URL)
allows_navigation(csp, URL)
allows_object_from_source(csp, URL)
allows_prefetch_from_source(csp, URL)
allows_script_from_source(csp, URL)
allows_script_with_nonce(csp, nonce)
allows_style_from_source(csp, URL)
allows_style_with_nonce(csp, nonce)
allows_unsafe_inline_script(csp)
allows_unsafe_inline_style(csp)
allows_worker_from_source(csp, URL)
|
csp |
a |
URL |
source or destination URL |
nonce |
logical
Content Security Policy Level 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.