任何 IE 安全设​​置都会阻止访问 WebBrowser 的 ObjectForScripting 吗?

发布于 2024-12-02 14:39:34 字数 406 浏览 3 评论 0原文

我有一个应用程序将 WebBrowserObjectForScripting 属性设置为自定义对象,以便用户可以使用 window.external。它一直工作得很好,但现在我的一位客户似乎无法访问它。

我不能 100% 确定问题是什么,因为我必须访问他的计算机,而且我不想打扰他那么多,因为他是客户,而且似乎他找到了解决他想要做的事情的方法。但在我看来,他无法访问 window.external 处的对象。

除了取消选中 Active Scripting(实际上并不会阻止访问 window.external)之外,您是否知道任何会阻止访问 处的对象的安全设置窗口.外部

I have an application that sets a WebBrowser's ObjectForScripting property to a custom object so that the user can access it from javascript code using window.external. It have always worked fine but now one of my customers seems unable to access it.

I cannot be 100% sure what the problem is because I'd have to access his computer and I don't want to bug him that much since he's a customer and seems like he found a workaround to what he was trying to do. But it seems to me like he cannot access the object at window.external.

Other than unchecking Active Scripting (which doesn't actually prevents access to window.external), do you know any security setting that will prevent access to the object at window.external?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

木格 2024-12-09 14:39:34

确保外部对象安全允许编写脚本。

make sure the external object is safe or allowed for scripting.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文