Skip to content

Avoid more CSP violations errors #775

Description

@Siltaar

Hi,

I'm using ListJS v2.3.5 from @lovasoa in the Meta-Press.es WebExtension, with strict CSP rules "default-src 'self'".

ListJS generates a lot of CSP violation error messages while I'm just displaying 20 items in one list, and 1 item in another.

 Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src 'self'”

24622 occurrences at list.min.js:1:12740

I also get 490 occurrences from list.min.js:1:12027

Would it be possible to have the styles in a separate file ? (considering it would avoid further CSP violation error messages).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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