Javascript运行客户端程序?

问题描述:

I wander If it's possible  to run client side program using javascript or using WCF for windows service and call this service from web using javascript if it is possible  





我尝试了什么:



之前我使用过ActiveX但现在不支持activex所有浏览器所以我需要用JavaScript替换它



What I have tried:

I used ActiveX before but now activex not supported for all browser so I need to replace it with using JavaScript

如果你问的是如何在客户端浏览器中运行的javascript上运行客户端机器上的可执行文件,你不能。这是一个巨大的安全风险。
If you're asking how to run an executable on the client machine from javascript running in the client browser, you can't. This is a MASSIVE security risk.