我的iframe不工作不显示我指定的地址 [英] My Iframes Is Not Working Not Showing The Address What I Specified

查看:101
本文介绍了我的iframe不工作不显示我指定的地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的iframe无法正常显示我指定的地址

My iframes is not working not showing the address what i specified

推荐答案

问题是Google将X-Frame-Options标头设置为SAMEORIGIN,并且将Google改为iframe ...

您可以在浏览器的控制台中看到错误...

The problem is that Google set the X-Frame-Options header to SAMEORIGIN, and that to prvent put Google into an iframe...
You can see the error in the console of your browser...
引用:

拒绝在一个框架中显示https://www.google.com/?gws_rd=ssl,因为它将X-Frame-Options设置为SAMEORIGIN。

Refused to display 'https://www.google.com/?gws_rd=ssl' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.



要了解有关X-Frame-Options的更多信息,请阅读: https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options [ ^ ]


这篇关于我的iframe不工作不显示我指定的地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆