dotjs icon indicating copy to clipboard operation
dotjs copied to clipboard

Violation to Content Security Policy

Open fklingler opened this issue 12 years ago • 2 comments

I don't really know what the problem is and if it can be fixed, but I tried to add a js file for Facebook and it did an error in the console log before loading successfully the file (twice though, I don't know if it's normal, I just installed dotjs for the first time)

Console error:

Refused to connect to 'https://localhost:3131/facebook.com.js' because it violates the following Content Security Policy directive: "connect-src https://.facebook.com http://.facebook.com https://.fbcdn.net http://.fbcdn.net .facebook.net *.spotilocal.com: https://.akamaihd.net ws://.facebook.com:* http://*.akamaihd.net".

fklingler avatar Jan 17 '13 21:01 fklingler

Edited, there is an error but after this the file is loaded

fklingler avatar Jan 17 '13 21:01 fklingler

Maybe relevant http://brianmayer.com/2012/12/defeating-chromes-content-security-policy-header-via-a-chrome-extension/

jasonm avatar Apr 03 '14 22:04 jasonm