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

[Bug] inline script violates Chromes Content Security Policy #1502

Open
Berndsen420 opened this issue Oct 11, 2024 · 0 comments
Open

[Bug] inline script violates Chromes Content Security Policy #1502

Berndsen420 opened this issue Oct 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Berndsen420
Copy link

I get following errors when browsing 4chan threads:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Either the 'unsafe-inline' keyword, a hash ('sha256-dbsbTd+zMH5fmwZJYbTyyyWZKRNFxENqEg3GFayQAFI='), or a nonce ('nonce-...') is required to enable inline execution.
image

In the thread itself this is displayed as error even though it is available:

Thread is unavailable (№XXXXXXXXXXXX):
Internal error:
TypeError: Failed to fetch
at $ajax (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:6894:3)
at Object.runCachedAjax (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:7045:10)
at ajaxPostsLoad (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:7119:20)
at Thread.loadNewPosts (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:13948:10)
at Object._makeStep (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:14853:39)
at Object.start (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:14759:9)
at forceLoadPosts (chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:14913:14)
at chrome-extension://oeogcpbjfhhhklomgphkdjbfdmcjcehp/Dollchan_Extension_Tools.es6.user.js:14936:6
image

Most functions still work but auto-update does not. I'm using the newest v3 version.

@Berndsen420 Berndsen420 added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant