תגית סקריפט JS מוטמעת לא נטענת עקב CSP ואני לא יודע איך לתקן את זה.
סיכום מבוסס בינה מלאכותית
TheNab is encountering issues with a script tag not loading in a landing pages plugin due to the content-security-policy (CSP). awesomerobot provided a link to a Discourse meta post detailing CSP and third-party integrations, suggesting checking browser console for script sources and adding them to the content_security_policy_script_src setting. TheNab stated they’ve reviewed related posts but struggles to implement the exception. awesomerobot asked about browser console errors and provided an example image of a CSP error related to inline script execution, suggesting adding the sha256-xxxxx hash to the site setting. TheNab reported receiving a nonce-s0m3h4sh error in Firefox, but a sha256-s0m3h4sh error in Chrome, implying the hash value differs by browser.
There’s some information in this post that may help: Mitigate XSS Attacks with Content Security Policy
קראתי את זה ואחרים, אבל לא מצליח להבין איך בעצם להוסיף את החריג ל-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
השגיאה שקיבלתי כללה nonce-s0m3h4sh בדפדפן פיירפוקס, אך לא קיבלתי את sha256-s0m3h4sh. אבל כשבדקתי עכשיו בכרום, זו הייתה הגרסה של sha256
