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

New Manifest V3 on Chrome might have blocked event dispatching #1755

Open
kristofferpeterhansel opened this issue Sep 9, 2024 · 2 comments

Comments

@kristofferpeterhansel
Copy link

It seems chrome updated this extension today and I am no longer able to manually dispatch events. Just getting an error message

2024-09-09 11_13_35-Dev

From what I can tell there is a difference in the content_security_policy where it changed from

"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;",

to

"extension_pages": "script-src 'self'; object-src 'self'; style-src * 'unsafe-inline'; img-src 'self' data:;"

Manually downgrading to 3.1.10 solves the issue.

@kristofferpeterhansel
Copy link
Author

Actually, I might have been too hasty in asserting that it works with the downgraded version. I did seem to be able to dispatch events without errors. But going back to trying to actually doing the thing I was working on ended up with the same issue again with 3.1.10. So maybe it's a change in Chrome or something.

@kyranjamie
Copy link

+1 — this is completely broken at the moment

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