如何禁用 CDHtmlDialog 中所有可能的弹出消息?
我使用 CDHtmlDialog 来处理给定 URL 中某些 HTML 内容的 DOM。我需要禁用所有可能出现的弹出消息(例如安全警报),就像 InternetExplorer 浏览器一样。在 JScript 中,我可以将属性 Silent 设置为 true
var oIE = WScript.CreateObject("InternetExplorer.Application","EventIE_");
oIE.Silent = true;
,这样就可以了!如何在 CDHtmlDialog 中获得相同的行为?
谢谢
I use CDHtmlDialog to work with DOM of some HTML content from given URLs. I need to disable all possible popup messages (e.g Security alerts) that can appear as in case of InternetExplorer Browser. In JScript I can set property Silent to true
var oIE = WScript.CreateObject("InternetExplorer.Application","EventIE_");
oIE.Silent = true;
and that's work! How to get same behaviour in CDHtmlDialog?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案!
I found the solution!