問題描述
有沒有辦法從 firefox 和 chrome 啟動 exe 應用程序 (Is there a way to launch exe application from firefox and chrome)
I have an intranet site, so i'm not worried about security. What I need to do is allow my users to launch putty.exe from a browser link. The point is that there are numerous putty connections on different ip's ports etc.
Currently we use IE and activex. But we want to use chrome or firefox.
I've heard of ie tab and locallink, but they're not that feasible.
Is there a way to launch a program from a link, crossbrowser? ie <a href="c:\program file\putty.exe ‑ip=2.3.4.5 ‑port=1111 ‑user=user ‑pass=pass">Putty</a>
‑‑‑‑‑
參考解法
方法 1:
Being that the program you want to use is PuTTY, in you could do something like:
<a href="telnet://<your‑ip and some other parameters>">Putty</a>
Which in Chrome and Firefox will prompt you to choose the appropiate program for that protocol the first time, after that the program should start automatically...
You could also use ssh
or ssh2
instead of telnet
if your client software (in this case PuTTY) has those URI schemes registered....