Start an external application from a Google Chrome Extension?

Kristina Brooks picture Kristina Brooks · Apr 16, 2010 · Viewed 124k times · Source

How to start an external application from a Google Chrome Extension?

So basically I have an executable file which does the job when you launch it. I need to be able to start it without a window (it is a console application) and pass the current URL to it in an argument,

Answer

jnewbery picture jnewbery · Nov 12, 2013

Previously, you would do this through NPAPI plugins.

However, Google is now phasing out NPAPI for Chrome, so the preferred way to do this is using the native messaging API. The external application would have to register a native messaging host in order to exchange messages with your application.