content-security-policy 때문에 랜딩 페이지 플러그인에서 script 태그가 작동하지 않음

inline js script tag isn’t being loaded due to csp and idk how to fix it.

There’s some information in this post that may help: Mitigate XSS Attacks with Content Security Policy

I’ve read through that and others but cannot piece together how to actually add the exception to the content_security_policy_script_src

Do you see an error concerning the script in your browser console? something like this?

You’ll want to add that provided hash ('sha256-xxxxx') to the “content security policy script src” setting found in admin > all site settings

The error I was getting had nonce-s0m3h4sh in Firefox browser I wasn’t getting the sha256-s0m3h4sh. But when I just now looked in chrome it was the sha256 one. I suppose that was causing most of my confusion