简体   繁体   English

无法使用 javascript 创建 ActiveX object

[英]unable to create ActiveX object using javascript

i want to rum command using Windows Command Prompt but it require ActiveX object... Mozilla FireFox4 and Google Chrome are giving error我想使用 Windows 命令提示符来朗姆命令,但它需要 ActiveX object... Mozilla FireFox4 和 Google Chrome 出现错误

Uncaught ReferenceError: ActiveXObject is not defined

ActiveXObject is only supported in IE. ActiveXObject 仅在 IE 中受支持。 This is not a standard object and specific to IE and hence Windows.这不是标准的 object 并且特定于 IE,因此是 Windows。 Other browsers runs on multiple platforms and it doesn't make sense for them to implement this non standard object.其他浏览器运行在多个平台上,对他们来说实现这个非标准的 object 是没有意义的。

Only Internet Explorer allows for running ActiveX objects.只有 Internet Explorer 允许运行 ActiveX 对象。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM