-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Content Security Policy error in Firefox extension #37
Comments
This comment has been minimized.
This comment has been minimized.
Ah, I missed. This error is caused by WebWorker in background. editor/packages/webextension/app/scripts/background/textlint.ts Lines 51 to 56 in 6fbef2e
Probably, We can resolve this issue by moving textlint script worker to CotentScript. |
Thanks for the quick confirmation. I'm not familiar with extention and WebWorker, so I don't know if I can help, but I'll take a look at it myself. |
I've moved WebWorker to ContentScript from BackgroundScript and I've met another problem. Work on no-CSP website I'll investigate |
Probably, #39 will fix CSP error. |
Thank you for the quick response. I was able to confirm the fix in my environment. |
Thank you for developing such a great extension.
I'm using Firefox and it seems to be stuck on the Content Security Policy issue and the worker doesn't work properly.
In the console of Service Workers, I am getting the following error.
Is there any way to solve this problem?
I know that there is a workaround to turn off the CSP for your entire browser in Firefox by disabling security.csp.enable in the about:config menu.
The text was updated successfully, but these errors were encountered: