dotjs
dotjs copied to clipboard
Violation to Content Security Policy
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".
Edited, there is an error but after this the file is loaded
Maybe relevant http://brianmayer.com/2012/12/defeating-chromes-content-security-policy-header-via-a-chrome-extension/