-
Notifications
You must be signed in to change notification settings - Fork 202
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
All content scripts blocked due to Content Security Policy enforcement in Chrome v130+ #927
Comments
Related issues |
The problem is not CSP but the change in the chrome.runtime.getURL() which now generates url chrome- |
I tried to make this patch locally, just replacing
Trying to add that file to the |
According to the chromium issue, it's the |
This is being tracked on #918. There are workarounds for the problem posted there |
This was fixed in 2.0.0-beta.26. Closing in favor of #918 so people don't get confused. |
Build tool
Rollup
Where do you see the problem?
Describe the bug
Content scripts don't load. Followed all of the steps in the documentation to create a starter chrome extension, the content script doesn't load anymore on Chrome V130 (works on <=Chrome V129)
Error
On closer inspection, it appears that this is due to Manifest V3 security policies being enforced. Which is weird because the template itself uses manifest version 3?
Reproduction
Update Chrome to V130
Any chrome extension with content script created using this template with Vite 2 will have the same error
npm init vite@^2.9.4
Logs
No response
System Info
Severity
blocking all usage of RPCE
The text was updated successfully, but these errors were encountered: