nandenjin / tsukimi

Utility as browser extension for Cosense (scrapbox.io) users
https://chrome.google.com/webstore/detail/tsukimi/cnabeodkjobnolgplpcalkkkjgjkjbad
0 stars 0 forks source link

Refused to load the script because it violates the following Content Security Policy directive #39

Closed nandenjin closed 3 weeks ago

nandenjin commented 3 weeks ago

Tsukimi seems to stop working with following error:

Refused to load the script 'chrome-extension://2d388cbc-698a-4908-a8d6-a67932c10ba4/vendor/vite-client.js' 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:". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

It might be from bug on Chromium:

https://github.com/crxjs/chrome-extension-tools/issues/918