-
Notifications
You must be signed in to change notification settings - Fork 67
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 in Chrome #436
Comments
have 2 chrome types installed, It seems for Chrome standard something was changed between 127.0.6533.88 and 127.0.6533.89 that has started causing this issue. BlockTube 0.4.2 |
stange but advanced blocking started working. on same chrome canary version 129.0.6629.0 after a bit . |
I have also experienced this issue, upgraded Chrome (126.0.6478.126-1 ⇒ 127.0.6533.88-1). Meaning, the change wasn't done on Chrome's side (in fact, "Trusted Types" were a thing in Chrome since 2020-05-19), but on YouTube's. I haven't figured out the way to bypass this locally, but it's clear that this requires some code changes in the extension. |
As a (potentially unsafe) workaround, you can override the Content Security Policy on YouTube. The following rule in the Content Security Policy Override extension removes the requirement for Trusted Types: [
["https://www\\.youtube\\.com", [
["require-trusted-types-for 'script'", ""]
]]
] |
I'm attempting to solve this issue in PR #448 directly in BlockTube without having to install additional extensions. I would be glad to get some feedback on this. |
Advanced blocking seems to be working without workaround now. |
When using advanced blocking I recently started to get the following error:
As a result, advanced blocking rules no longer work. Can it be fixed?
BlockTube 0.4.2, Chrome 127.0.6533.89
The text was updated successfully, but these errors were encountered: