Wanted to use this library but it violates CSP (Content security policy) because it injects and dynamically manipulates the Style Block.
jets.min.js:9 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src. Either the 'unsafe-inline' keyword, a hash ('sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='), or a nonce ('nonce-...') is required to enable inline execution.
Because changing the style block would recalculate the hash, it's obviously not feasible to make the hash part of the exception for CSP.
Wanted to use this library but it violates CSP (Content security policy) because it injects and dynamically manipulates the Style Block.
jets.min.js:9 Refused to apply inline style because it violates the following Content Security Policy directive: "style-src. Either the 'unsafe-inline' keyword, a hash ('sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='), or a nonce ('nonce-...') is required to enable inline execution.
Because changing the style block would recalculate the hash, it's obviously not feasible to make the hash part of the exception for CSP.