Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nonce to appended script #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nevenduranec
Copy link

The nonce is not added to the appended script after the inital inline script is added to DOM.

Probably relates to #26

Also every other script that gets inserted or inlined through the main script file https://static.hotjar.com/c/hotjar-xxx.js?sv=6 needs to have the nonce attribute set, otherwise the CSP will fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant