The Wayback Machine - http://web-wp.archive.org/web/20251008102549/https://demo.addtoany.com/csp
AddToAny With A Strict CSP
Use a nonce
Generate a nonce per request, for example:
NTgyMDc4ODM2LDM3MDY5NTcxNTk=
Include the nonce in your strict CSP:
Content-Security-Policy: script-src 'nonce-NTgyMDc4ODM2LDM3MDY5NTcxNTk='
Add the nonce attribute to your AddToAny <script> tag like so:
<script async nonce="NTgyMDc4ODM2LDM3MDY5NTcxNTk=" src="https://static.addtoany.com/menu/page.js"></script>