有沒有辦法從 firefox 和 chrome 啟動 exe 應用程序 (Is there a way to launch exe application from firefox and chrome)


問題描述

有沒有辦法從 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....

(by DrewDarkAjax)

參考文件

  1. Is there a way to launch exe application from firefox and chrome (CC BY‑SA 3.0/4.0)

#exe #cross-browser






相關問題

lauch4j 你好世界程序 (lauch4j hello world program)

在具有提升權限的自己的目錄中啟動 .exe (Launching .exe in its own directory with elevation priviledges)

Я запампаваў файл .exe, але ён хутка зачыняецца пры адкрыцці (I've downloaded an .exe file but it closes quickly as it opens)

Ці добрая ідэя абараніць exe-файл з дапамогай os.path.exists? (Is it a good idea to protect a exe file using os.path.exists?)

如何將我的 Java 程序轉換為 .exe 文件? (How can I convert my Java program to an .exe file?)

有沒有辦法從 firefox 和 chrome 啟動 exe 應用程序 (Is there a way to launch exe application from firefox and chrome)

打開 .jar 文件時發生 java 異常 (a java exception has occured while opening .jar file)

錯誤,不運行程序(Windows) (error, not run program (windows))

如何從LabVIEW上編寫的應用程序(Exe)將數據返回到命令行界面? (How to return data to Command line Interface from Application (Exe) written on LabVIEW?)

pyinstaller --onefile 不會復制必要的文件 (pyinstaller --onefile doesn't copy necessary file)

系統找不到指定的路徑 - 批處理到exe (The system cannot find the path specified - batch to exe)

使用另一個 Python 文件的主 Python 文件(我想轉換為 .exe) (Main Python File Using Another Python File (I Want To Convert To .exe))







留言討論