javascript - Executing .EXE file from Browser -


hi using activexobject execute exe file working in ie. there thing works in browsers.

<script> function launchapp() { if (!document.all) {   alert ("available internet explorer.");   return; } var ws = new activexobject("wscript.shell"); ws.exec("c:\\program files\\xyz.exe"); } </script> 

why not create browser plugin browsers? sand-boxed , have less potential risk tanking user's system. never want let javascript arbitrarily run code on user's system. i'm sure anti-virus programs detect sort of behavior malware or sort of virus.

take @ kango or firebreath cross-browser plugin development frameworks.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -