![]() |
creating ActiveXobject in mozilla, invoking shell commands.
Hi,
I'm unable to run the below script in the mozilla browser, i get error 'ActiveXobject not defined'. Is there an alternate way of fixing this in mozilla? kindly send me the code or resource links kindly suggest. ************************************************** ********* <html> <head> <script language="JavaScript" type="text/javascript"> function execute() { var obj = new ActiveXObject( "WScript.Shell" ) ; obj.Run("notepad.exe") ; } </script> </head> <body> <button onclick="execute()">open Notepad</button> </body> </html> |
Re: creating ActiveXobject in mozilla, invoking shell commands.
Mohd Ebrahim wrote:
> Hi, > > I'm unable to run the below script in the mozilla browser, i get error > 'ActiveXobject not defined'. Is there an alternate way of fixing this in > mozilla? > > kindly send me the code or resource links > > kindly suggest. > https://support.mozilla.com/en-US/kb/ActiveX |
Re: creating ActiveXobject in mozilla, invoking shell commands.
On Jul 11, 3:06*pm, Mohd Ebrahim
<MohdEbra...@discussions.microsoft.com> wrote: > Hi, > > I'm unable to run the below script in the mozilla browser, i get error > 'ActiveXobject not defined'. Is there an alternate way of fixing this in > mozilla? > > kindly send me the code or resource links > > kindly suggest. > > ************************************************** ********* > > <html> > *<head> > * * *<script language="JavaScript" type="text/javascript"> * > * * * * *function execute() * > * * * * *{ * > * * * * * *var obj = new ActiveXObject( "WScript.Shell" ) ; > * * * * * *obj.Run("notepad.exe") ; * > * * * * } * > > * * </script> > *</head> > *<body> > * * <button onclick="execute()">open Notepad</button> > *</body> > </html> Firefox does not support ActiveX technology for multiple reasons. * ActiveX is only available on Windows operating systems, and as a result webpages that require it will not work on Linux or Mac. * ActiveX integration with the Windows operating system has made it a target for malicious software. http://support.mozilla.com/en-us/kb/activex Best regards. |
| All times are GMT. The time now is 10:19 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.