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
Post a Comment