Skip to content

Content Security Policy blocking images #166

@silverwind

Description

@silverwind

Looks like Chrome enforces CSP for userstyles, white Firefox doesn't. Github only allows these domains to server images:

assets-cdn.github.com identicons.github.com www.google-analytics.com collector.githubapp.com *.githubusercontent.com *.gravatar.com *.wp.com

I see a few ways to solve this:

  1. Inline all our images. This would bump our size above the limit for userstyles.org
  2. Open an issue at Stylish for Chrome
  3. Serve images from raw.githubusercontent.com
  4. Ask GitHub to include github.io in above list

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions