문제

I know how to run an .exe using ActiveX, but that is Internet Explorer only, and I also know how with .hta, but that has to be installed/used as an application.

This doesn't have to be online: actually I'd prefer this locally.

This doesn't have to work with all browsers: the solution could would only with Firefox.

Thank you a lot in advance! :)

도움이 되었습니까?

해결책

It looks like you can run a .exe from Firefox using nsIProccess https://developer.mozilla.org/en-US/docs/Code_snippets/Running_applications so you should look into that.

however, it is not advisable to run a .exe from browser, as this can make your site look malicious.

I couldn't find anyway for chrome. however, you can load external libraries using the NPAPI, this may work for exe as well but I have no clue: http://developer.chrome.com/extensions/npapi.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top