的IFrame:该内容不能被显示在一个帧 [英] IFrame: This content cannot be displayed in a frame

查看:897
本文介绍了的IFrame:该内容不能被显示在一个帧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个内部网站。我想显示其他网站的iframe中一方的内容。但是我得到这个消息:此内容不能显示在框架中。我读过,我得到这个消息,但是,我想绕过它,因为网站是内部的,我不关心有人试图劫持我的用户的原因。我无法找到一个方法搜索互联网后,绕过它,但觉得它应该是可能的,因为消息的其余部分,似乎它暗示。

I have two internal sites. I'm trying to show one's content in the iframe of the other site. However I'm getting this message: "This content cannot be displayed in a frame." I've read the reason I'm getting this message but, I would like to bypass it since the sites are internal and I'm not concerned with someone trying to hijack my users. I couldn't find a way to bypass it after searching the internet, but feel like it should be possible because the rest of the message seems to hint at it.

为帮助保护您进入这个网站的信息的安全性,这些内容的发布者不允许它要显示在一个框架。

由于我的出版商我怎么能允许它显示在框架?谢谢!

Since I'm the publisher how can I allow it to be displayed in the frame? Thanks!

推荐答案

使用< META HTTP-EQUIV =X帧选项CONTENT =允许> 在一个iframe中显示,以允许它。

use <meta http-equiv="X-Frame-Options" content="allow"> in the one to show in the iframe to allow it.

这篇关于的IFrame:该内容不能被显示在一个帧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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