Note that there are some explanatory texts on larger screens.

plurals
  1. PORefused to connect to [url] because it violates the following Content Security Policy directive
    primarykey
    data
    text
    <p>I am the author of a Chrome extension that allows to translate status updates and comments right on Facebook: <a href="https://chrome.google.com/webstore/detail/facebook-translate/plofenifjagmdikfcobngnfmmnfmphin" rel="noreferrer">https://chrome.google.com/webstore/detail/facebook-translate/plofenifjagmdikfcobngnfmmnfmphin</a></p> <p>For some days now, my users and me are getting an error in the error console that sais:</p> <blockquote> <p>Refused to connect to '<a href="https://api.microsofttranslator.com/V2/Http.svc/Translate?appId=&amp;text=Chrome-Integration%3A+Google+bringt+Google+Now+auf+Desktop-PCs&amp;to=en&amp;contentType=text%2Fhtml" rel="noreferrer">https://api.microsofttranslator.com/V2/Http.svc/Translate?appId=&amp;text=Chrome-Integration%3A+Google+bringt+Google+Now+auf+Desktop-PCs&amp;to=en&amp;contentType=text%2Fhtml</a>' because it violates the following Content Security Policy directive: "connect-src https://<em>.facebook.com http://</em>.facebook.com https://<em>.fbcdn.net http://</em>.fbcdn.net *.facebook.net <em>.spotilocal.com:</em> https://<em>.akamaihd.net ws://</em>.facebook.com:* http://*.akamaihd.net".</p> </blockquote> <p>In my chrome extension I did set the content security policy as follow:</p> <blockquote> <p>"content_security_policy": "script-src 'self' <a href="https://ssl.google-analytics.com" rel="noreferrer">https://ssl.google-analytics.com</a>; object-src 'self'"</p> </blockquote> <p>The URIs in the error console, however, are FB URIs only so that's why I'm thinking Facebook did update their site to restrict access to remote URIs. I'm not certain if it could be a Chrome issue, so sorry if I started the topic on the wrong stackoverflow network. :)</p> <p>Can anyone confirm (and maybe point me to a possible solution for) this issue? Thanks everyone!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload