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

Extension fails to start due to CSP error #14

Closed
Spurlos opened this issue Sep 27, 2024 · 1 comment
Closed

Extension fails to start due to CSP error #14

Spurlos opened this issue Sep 27, 2024 · 1 comment

Comments

@Spurlos
Copy link

Spurlos commented Sep 27, 2024

Using Chrome Beta 130 and I have started getting the following error while the extension tires to start:

Refused to load the script 'chrome-extension://82f4afa8-5c67-41c6-bde0-f31887f3fb17/assets/content.ts-CfJfSHwP.js' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
(anonymous)	@	content.ts-loader-CDQca05a.js:8

It seems a misconfiguration of Manifest V3 for the CSP policies.
image

Unfortunately i can't go back to Chrome stable, but I believe it has\will get the same behaviour when v130 lands in stable.

@Zortrox
Copy link
Owner

Zortrox commented Sep 27, 2024

Thank you for catching that! I have a workaround fix in version 1.0.1 if you want to test on your end. I submitted this to the Chrome Web Store already and am just waiting for Google to review it.

For reference, I used a fix by another developer since the build tool I have hasn't fixed this on their end yet. I'll leave this open until I confirm the store version is working.

@Zortrox Zortrox closed this as completed Oct 3, 2024
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

2 participants