【问题标题】:Sending a large message from child iframe to parent in IE7在 IE7 中从子 iframe 向父级发送大消息
【发布时间】:2013-12-04 20:16:13
【问题描述】:

我正在为 IE8+ 使用 parent.postmessage。

我看到的 IE7 的唯一替代方法是使用 hash hack,例如"example.com/index.html#{the-message-here}",但我的消息可能有数千个字符长,并且此方法受到 2,083 个字符的限制。

还有其他选择吗?

【问题讨论】:

    标签: iframe internet-explorer-7 cross-domain same-origin-policy postmessage


    【解决方案1】:

    您引用的选项是您在 IE7 或更早版本中的唯一选择,因为 Web 消息传递 API 仅在 IE8 中首次得到支持。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-02-08
      • 2014-10-08
      • 1970-01-01
      • 1970-01-01
      • 2017-10-26
      • 2015-01-18
      • 1970-01-01
      • 2019-02-22
      相关资源
      最近更新 更多