打开iframe作为新的干净文档/窗口
我正在尝试将代码从代码和iframe加载,但不会加载。
可能是在检查是否有父窗口从其他域中打开它。
有什么方法可以将其隐藏并让它像在新的干净窗口中打开一样。
我无法使用嵌入的codesandbox,因为它正在引入另一个嵌套帧,这使我无法postmessage
到我的代码中。
I am trying to load code from codesandbox into iframe, but it is not going to load.
Probably it is checking if there is parent window opening it from other domain.
Is there any way to hide it and make it think like it was open in new clean window.
I can't use codesandbox embed, because it is introducing another nested frame, which makes impossible for me to postMessage
to my code in sandbox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论