Refused to connect to [url] because it violates the following Content Security Policy directive Refused to connect to [url] because it violates the following Content Security Policy directive google-chrome google-chrome

Refused to connect to [url] because it violates the following Content Security Policy directive


Extensions should bypass a page's Content Security Policy when executing XMLHTTPRequest from a content script. They currently aren't, which is a bug. I've filed https://bugs.webkit.org/show_bug.cgi?id=104480 to take a look at fixing it.

Are you executing XHR from your extension's content script, or are you executing it in the background page? The latter should work right now.


The error message says your are trying to connect to 'https://api.microsofttranslator.com/ domain which is not specified in connect-src of CSP Directive

It seems you have listed

"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".

the above domains for connect-src policy, add the new domain microsofttranslator.com if it is valid.

Let me know if you need more information.


i had this problem out of the blue

paused ad-blocker on the domain, and now it works