开发者

Display cross domain content in IFrame (IE8)

开发者 https://www.devze.com 2022-12-23 03:42 出处:网络
I realized that IE8 does not allow links from cross domains to be displayed in IFrame. It seems like there are only two Header options that Microsoft allows to modify.

I realized that IE8 does not allow links from cross domains to be displayed in IFrame. It seems like there are only two Header options that Microsoft allows to modify.

  1. X-FRAME-OPTIONS : "DENY" (This does not display any IFrame content )

  2. X-FRAME-开发者_如何学GoOPTIONS : "SAMEORIGIN" (Displays content from the same domain)

Is there a work around to allow content from other domains to be displayed?

Thanks in advance


Point your source to an internal, dynamic (server-generated) page that simply proxies the external web page. I.E. You hit src="myContent.asp", and you get www.google.com, or equivalent.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号