K
K
kbc5902014-04-24 21:33:08
JavaScript
kbc590, 2014-04-24 21:33:08

How to launch local *.exe files on Windows from Chrome browser?

I know that there is such an opportunity in IE when using ActiveXObject, but according to the conditions of the task, you must use Chrome.
There is access to the machine on which the application should run.
The question is, what can be installed for Chrome so that it is possible to call the application? We know the address of the application and put it there ourselves. You need to launch it on click from the browser.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Guketlev, 2014-04-24
@kbc590

Register an application to process some of your protocol and then display a link like
mymegaapp://do.smthing?with=parameters
Where, respectively, mymegaapp is your protocol. True, a warning will be displayed that a third-party application is being launched.

P
Pavel Volintsev, 2014-04-24
@copist

https://developer.chrome.com/extensions/messaging#...

Extensions can exchange messages with native applications. Native applications that support this feature must register a native messaging host that knows how to communicate with the extension. Chrome starts the host in a separate process and communicates with it using standard input and standard output streams.

E
EpikHigh, 2014-05-03
@EpikHigh

If the launch is specific on your computer using a static path - a simple link to file://
If the path to the application changes, then either write a plugin or register a URI

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question