iframe中的iframe其他选项 [英] Iframe other options in asp.net
本文介绍了iframe中的iframe其他选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
people saying never to use iFrame, but is there any way to do this without using iFrame?
external page
iFrame中的
不支持所有浏览器,但我想
in iFrame not support all browser, but i want to
external page
运行所有浏览器有什么选择吗?
我试过的:
< iframe src =http://www.google.co.in/>< / iframe>
run all browser have any option ?
What I have tried:
<iframe src="http://www.google.co.in/"></iframe>
推荐答案
Google通过发送带有值<的X-Frame-Options
标头,专门禁用在您的网站中嵌入其内容code> SAMEORIGIN 。
X-Frame-Options响应头 - HTTP | MDN [ ^ ]
您只能嵌入来自未指定此标头的网站的内容,或使用ALLOW-FROM
将您网站的网址作为允许来源的值。
Google specifically disable embedding their content in your site, by sending theX-Frame-Options
header with the valueSAMEORIGIN
.
The X-Frame-Options response header - HTTP | MDN[^]
You can only embed content from sites which either don't specify this header, or use theALLOW-FROM
value with your site's URL as the allowed origin.
这篇关于iframe中的iframe其他选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文