IE7 有哪些 window.postMessage 模拟选项?
我知道使用哈希标签的黑客行为,但是,我需要具有更大有效负载和更高吞吐量的双向通信。是否有任何 Flash/ActiveX/etc 选项可以实现这一点?
I'm aware of the hacks using hash tags, however, I need bi-directional communication with larger payloads and higher throughput. Are there any Flash/ActiveX/etc options that make this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Jquery windowMsg 插件提供了一个良好的所有浏览器兼容的解决方案。
请参阅示例:
http:// iterativo.wordpress.com/2010/03/24/using-jquery-to-communicate- Between-browser-windows/
插件代码的链接:
http://go-trendy.com/javascripts/jquery.windowmsg-1.0.js?1279359701
Jquery windowMsg plugin provides a good all browser compliant solution.
See an example:
http://iterativo.wordpress.com/2010/03/24/using-jquery-to-communicate-between-browser-windows/
A link to the plugin code:
http://go-trendy.com/javascripts/jquery.windowmsg-1.0.js?1279359701
EasyXDM 是我能想到的最接近的,尽管它不是 postMessage() 填充,所以需要大量的工作。另外,截至 2012 年 9 月,有一条说明称 EasyXDM 不适用于 IE6/IE7 - YMMV。
EasyXDM is the closest I can think of, although it isn't a postMessage() polyfill, so would need a lot of work. Also as at Sept 2012, there is a note saying that EasyXDM isn't working for IE6/IE7 - YMMV.