获得徽章 6
- 利用iframe在当前路由下,嵌入外部网站,但是拒绝连接,前端有啥解决方式呀
控制台报错:
Refused to frame 'www.baidu.com' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'
chat.baidu.com
mirror-chat.baidu.com
fj-chat.baidu.com
hba-chat.baidu.com
hbe-chat.baidu.com
njjs-chat.baidu.com
nj-chat.baidu.com
hna-chat.baidu.com
hnb-chat.baidu.com
debug.baidu-int.com".
展开22
![[流汗]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_26.1117a72.png)
![[流泪]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_6.dde0d83.png)
![[微笑]](http://lf-web-assets.juejin.cn/obj/juejin-web/xitu_juejin_web/img/jj_emoji_1.7d9f699.png)