拒绝在Chrome中加载脚本错误

时间:2013-02-25 20:14:27

标签: javascript google-chrome same-origin-policy

在我的网站上加载页面时,我在Chrome中收到以下错误:HTML5页面:

Refused to load the script 'data:application/x-javascript;base64,LyohICRGaWxlVmVyc2lvbj0xLjYuMTczICovIA…ExMTIyQTYyNjUzRjZDQzcyOEIwRjZFRjJGRkMxQ0E3QjU3OUY0RDIyNERBRDY0QUI2RDRFQUFD' because it violates the following Content Security Policy directive: "script-src https://*.facebook.com http://*.facebook.com https://*.fbcdn.net http://*.fbcdn.net *.facebook.net *.google-analytics.com *.virtualearth.net *.google.com 127.0.0.1:* *.spotilocal.com:* chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl 'unsafe-inline' 'unsafe-eval' https://*.akamaihd.net http://*.akamaihd.net".

有没有办法解决这个问题。我可以完全控制服务器(Amazon EC2),因此无法进行任何必要的更改。感谢

0 个答案:

没有答案