为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

what is equivalent to 'new ActiveXObject("Scripting.FileSystemObject")' in javascript for mozilla

  • 5 个回答
  • 14 人有此问题
  • 3737 次查看
  • 最后回复者为 cor-el

more options

To find the hard disk serial number of client system while accessing website in mozilla. By using 'new ActiveXObject("Scripting.FileSystemObject")' in javascript acheived above, but not in mozilla.

To find the hard disk serial number of client system while accessing website in mozilla. By using 'new ActiveXObject("Scripting.FileSystemObject")' in javascript acheived above, but not in mozilla.

所有回复 (5)

more options

hello madhavithallam, activeX is a proprietary format by microsoft - this won't work through plain javascript.

more options

what could be the code to achieve this in mozilla

more options

new ActiveXObject("Scripting.FileSystemObject")' is working in Internet Explorer not in mozilla, so any other way to do this in javascript for mozilla. Any smart solution please as it is immediate requirement for us

more options

hello, i don't think this possible at all but i'm in no way an expert on this. for developer oriented questions you also might be better off asking them in a specialised forum like http://forums.mozillazine.org/viewforum.php?f=25 since we here at support.mozilla.org are rather focused on support for firefox end-users. thank you for your understanding!

more options

See also the XPCOM documentation on MDN.