我有一个页面通过 JS 创建一个简单的 iframe
document.createElement('iframe');
我可以他们做
frames['x'].postMessage(...);
现在,由于 Opera Mini 很特别,我一直在尝试将 postMessage 发送到 iframe。我尝试的一切都有同样的例外:
Uncaught exception: ReferenceError: Securiry error: attempted to read protected variable
是的,当我尝试做一些事情来摆弄框架对象时会发生异常。
有人遇到过这个问题吗?
提前致谢