Skip to content

CSP violation #44

Description

@Rakshasas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions