This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 5 replies
  • 14 have this problem
  • 3737 views
  • Paskiausią atsakymą parašė 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.

All Replies (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.