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

关于内嵌 iframe 场景下,不打开控制台,也会被触发的问题 #100

Open
weimengdexiaolaohu-8 opened this issue Jun 17, 2024 · 0 comments

Comments

@weimengdexiaolaohu-8
Copy link

父站点 A 内有一个 iframe,src 指向另一个站点 B,B 站点引用 disable-devtool工具。当打开 A 站点并访问 B ,不打开控制台,会被触发,导致内嵌 B 白屏。后来发现,添加disableIframeParents为false时,不会触发。查看源码,disableIframeParents此配置仅仅是控制是否禁用父 iframe 窗口的右键菜单。还请帮忙解答一下!

另外disable-devtool版本-0.3.7
使用的是 Mac 12.5.1 笔记本
谷歌浏览器版本-83.0.4103.61 64 位

还可以提供一个线索是:当我解开谷歌浏览器的跨域限制时,即是跨域浏览器,无此问题(不打开控制台,会被触发)。当不是跨域浏览器时,就有此问题!

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

1 participant