-
Notifications
You must be signed in to change notification settings - Fork 1k
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
CSP Error #546
Comments
Probably related |
It's related to https://bugzilla.mozilla.org/show_bug.cgi?id=1267027. Some workarounds other extensions are exploring:
Another workaround is to include extension's injected script in our npm package, so you can include it directly for such cases. |
I looked through the workarounds in the issues above, none suits our usecase. We cannot include clients scripts in the extension like ublock does, and providing a sha-code to be added on the client side would be the same as including the script from npm. However, I see we still can inject the script from devpanel. The problem is that we need it to be done before the page is loaded, so we'll need to reload the page (probably adding a button for this case): chrome.devtools.inspectedWindow.reload({ injectedScript: 'our page script here' }) This should go with our new pooling method planned for 3.0. |
Hey @zalmoxisus, may I ask if there's any possible solution to get rid of that error in the logs as of today? |
OS X
Firefox
With redux devtools enabled, I have CSP error in Firefox. Chrome extension works.
https://market.yandex.ru/
The text was updated successfully, but these errors were encountered: