Refused to load the script because it violates the following Content Security Policy directive: "scr

Refused to load the script because it violates the following Content Security Policy directive: "script-src 'self'微信


最近在使用Chrome 54 版本编辑微信订阅号素材的时候,发现不少图片之类 的资源显示不出来,新浪微博我的中心主页也是彻底没有样式了,根本没办法用了,搜索了一下Content Security Policy 相关的,都是对其自己的介绍,参考:https://content-security-policy.com/网站

,还有就是在开发的时候如何使用,但却没有人说在浏览别人的网站 的时候遇到这种问题怎么办。spa

因为我用的Chrome 是好久以前安装的,好久没有用过了,最近使用的时候 就遇到 了这个问题。那么想到的最直接的办法就是升级更新,果真,更新以后问题就消失了。图片

但按照上面给出的参考网址很低的版本就开始支持了,然而我遇到的问题说明根本不行。ip