ActiveXObject 在 IE 中有效,但在 Firefox 中无效

发布于 2024-09-19 19:23:19 字数 139 浏览 3 评论 0原文

new ActiveXObject("Scripting.FileSystemObject") 这个activex可以在ie中工作,但不能在firefox中工作,有人知道firefox、chrome、safari、opera等的等效项吗?

new ActiveXObject("Scripting.FileSystemObject") this activex works in ie but not in firefox anybodies know the equivalents to firefox, chrome, safari, opera, etc?

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

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

发布评论

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

评论(4

我不是你的备胎 2024-09-26 19:23:19

你不能。 ActiveX 是 IE 专用的东西。如果您需要跨浏览器支持,您将不得不重新考虑您要做什么......

You can't. ActiveX is an IE-only thing. If you need cross-browser support, you're gonna have to re-think what you're trying to do...

时光倒影 2024-09-26 19:23:19

ActiveXObject 仅适用于 IE,也许您应该尝试解释一下您想要实现的目标?

我猜测它与文件处理有关,更具体地说,我猜测它与上传有关,在这种情况下 您可能想在 Flash 中执行此操作

ActiveXObject only works in IE, maybe you should try and explain what you want to achieve?

I'm guessing it has something to do with file handling, more specifically I'm guessing it has something to do with uploading, in that case you probably want to do it in flash.

赢得她心 2024-09-26 19:23:19

我有一个适用于 Firefox 和 Firefox 的 ActiveX 主机的较新实现。铬合金。该项目托管在 Google 代码上 - http://code.google.com/p/ ff-activex-host/

它提供了一些安全措施,例如站点和 CLSID/PROGID 锁定,以便您可以确保没有人可以利用它来运行任何 ActiveX。

它针对的是 Web 开发人员,而不是最终用户,因为该插件需要在分发之前使用正确的安全设置进行编译。

编辑:您仍然无法使用 IE 兼容的 JS/HTML 代码来创建 ActiveX 对象,您需要使用稍微不同的表示法。只是更安全一点。

I have a newer implementation of an ActiveX host for Firefox & Chrome. The project is hosted on Google Code - http://code.google.com/p/ff-activex-host/.

It provides some security measures such as site and CLSID/PROGID locking, so that you can make sure no one can exploit it for running any ActiveX out there.

It's directed at web developers, not end users, as the plugin needs to be compiled with the correct security settings before distribution.

EDIT: You still won't be able to use IE-compatible JS/HTML code to create ActiveX objects, you'll need to use a slightly different notation. Just a bit more secure.

难以启齿的温柔 2024-09-26 19:23:19

我认为这个网站将帮助您更好地了解ActiveX,因为这是微软技术。

即使现在,他们也在新的 Windows 10 中告别了 ActiveX 对象。
Edge 不支持 ActiveX 对象。仅 Internet Explorer 支持 ActiveX 对象。

请查看此链接以获取更多信息。

ActiveX 控件

I think this site will help you better to understand the ActiveX because this is Microsoft Technology.

Even now they say goodbye to ActiveX object in new Windows 10.
Edge don't support the ActiveX object. Only Internet Explorer supports an ActiveX object.

Please check out this link for more information.

ActiveX Controls

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