Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS 沙箱咱是不 也能借鉴一下 这个库的 Iframe 方式? #670

Closed
LengYXin opened this issue Nov 15, 2022 · 2 comments
Closed

Comments

@LengYXin
Copy link
Contributor

背景

描述您希望改进的问题。

期望的效果

https://github.com/Tencent/wujie

@jardenliu
Copy link
Contributor

也有一些奇怪的问题 例如我遇到的这个
Tencent/wujie#256

@LengYXin
Copy link
Contributor Author

也有一些奇怪的问题 例如我遇到的这个 Tencent/wujie#256

确实是。直接 instanceof HTMLElement 应该是当前 iframe window 里面的?然后创建的又是 window.top 顶层的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants