Content Security Policy (or CSP) generator using nonces.
Either config using config/content-security-policy.php
or use nonces:
<script src="url/of/script.js" nonce="{{ cspNonce('script-src') }}"></script>
<link href="url/of/style.css" rel="stylesheet" nonce="{{ cspNonce('style-src') }}" />
Installation Instructions
To install this plugin, copy the command above to your terminal.
Active Installs
217
License
MIT
Last release
July 3, 2023
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs