Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message with inline style #4

Open
danmaz74 opened this issue Jan 12, 2020 · 2 comments
Open

Error message with inline style #4

danmaz74 opened this issue Jan 12, 2020 · 2 comments

Comments

@danmaz74
Copy link

danmaz74 commented Jan 12, 2020

When opening the popup, this error gets registered for the extension:

Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'".

Fresh install with Chrome Version 79.0.3945.117 (Official Build) (64-bit) [mac os]

@anishekm
Copy link

anishekm commented Mar 4, 2020

add below line to fix the issue

"content_security_policy": "default-src 'self'; style-src 'self' data: 'unsafe-inline';",

@sshah98
Copy link

sshah98 commented Apr 24, 2020

fyi make sure to load the unpacked extension again after running npx webpack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants