X
Tap here to go to the mobile version of the site.

Support Forum

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

Posted

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.

Additional System Details

Installed Plug-ins

  • Google Update
  • Shockwave Flash 11.9 r900
  • MindSpark Toolbar Platform Plugin Stub for 32-bit Windows
  • IE Tab plugin
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 10.4.1 for Mozilla browsers
  • Adobe PDF Plug-In For Firefox and Netscape
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0

More Information

philipp
  • Top 10 Contributor
  • Moderator
2793 solutions 12989 answers

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

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

Helpful Reply

what could be the code to achieve this in mozilla

what could be the code to achieve this in mozilla

Question owner

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

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
philipp
  • Top 10 Contributor
  • Moderator
2793 solutions 12989 answers

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!

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!
cor-el
  • Top 10 Contributor
  • Moderator
11981 solutions 111344 answers

See also the XPCOM documentation on MDN.

See also the XPCOM documentation on MDN. *https://developer.mozilla.org/en-US/docs/Mozilla/XPCOM