Refused to execute inline script because it violates the following Content Security Policy directive

Issue #166 new
KauĂȘ Gimenes created an issue

After a chrome update atlasboard does not work because its using a inline script

<script>
        var GRID_COLUMNS = 6;
        var GRID_ROWS = 4;
</script>

Chrome Console Error:

Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self' *.domain.com". Either the 'unsafe-inline' keyword, a hash ('sha256-+.../...='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.

Its possible to fix this using this extension: https://chrome.google.com/webstore/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden

Comments (0)

  1. Log in to comment