Custom-JavaScript-for-Websites-2 icon indicating copy to clipboard operation
Custom-JavaScript-for-Websites-2 copied to clipboard

CSP blocking imported scripts

Open Vermeille opened this issue 4 years ago • 2 comments

Hi!

CSP ( https://developer.chrome.com/extensions/contentSecurityPolicy ) is blocking scripts imports from pretty much everywhere, and breaking many of my own scripts.

Could I suggest to add https://cdnjs.cloudflare.com as a trusted source to the manifest, as well as https://gitcdn.link that allows to host one's scripts to sit on Github?

Thank you very much!

Vermeille avatar Apr 29 '20 00:04 Vermeille

Sure, I'll add this support soon.

xcv58 avatar Apr 29 '20 03:04 xcv58

Added in ca3b295a582c1817167551ea494ab9edf123dc7a and publish the v3.4.5 https://chrome.google.com/webstore/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk

Could you please double-check whether the new version works for you?

xcv58 avatar Apr 29 '20 03:04 xcv58