使用 Chrome Frame 时打开 IE 的 iframe
我正在尝试将 Chrome Frame 用于商业网络应用程序,到目前为止一切运行良好。但是,我需要打开一个应该使用 IE 引擎而不是 Chrome Frame 渲染器渲染的 iframe。 iframe 没有 Chrome 框架的 meta
标记,但它使用插件进行渲染。
有没有办法从 Chrome Frame 渲染的应用程序中打开 IE 渲染的 iframe?
I'm trying to use Chrome Frame for a business web application and so far things are working well. However, I need to open an iframe that should be rendered using IE's engine and not Chrome Frame's renderer. The iframe doesn't have the meta
tag for Chrome Frame yet it renders with the plugin.
Is there a way to open an iframe that is rendered by IE from an app that is rendered by Chrome Frame?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好像还不支持。
来源:http://groups.google.com/group/google-铬框架/msg/e6d7a4c1c179c931
It seems like it's not supported yet.
Source: http://groups.google.com/group/google-chrome-frame/msg/e6d7a4c1c179c931
我对我所开发的一款业务应用程序也有同样的要求。经过相当多的研究,我发现在标签上指定 rel="noreferrer" 可以解决问题。因为根据 w3schools.com 上 noreferrer 的文档
我正在开发的业务应用程序是一个单页应用程序,因此我在父页面上放置了一个带有属性 rel="noreferrer" 的标签,就像这样
我还没有设置 'href' 属性这个标签,因为我想为这个标签分配动态href并手动触发点击,就像这样
你会注意到使用这种方法打开的新页面不是在chrome框架上渲染的。我已经在我的业务应用程序上成功运行了此代码。
我希望有人会觉得这很有用。
谢谢。
I had the same requirement for one of the business application that I worked on. After quite few researches, I found that specifying rel="noreferrer" on an tag will solve the problem. Because as per the documentation for noreferrer on w3schools.com
The business application that I'm working on is a single page application, so I placed an tag on the parent page with attribute rel="noreferrer", like this
I haven't set the 'href' attribute for this tag, since I would like to assign dynamic href to this tag and trigger the click manually, like this
You will notice that the new page opened using this method, is rendered not on chrome frame. I have this code running successfully on my business application.
I hope someone would find this useful.
thanks.