Reputation: 3706
I have a Windows desktop application which must work in collaboration with my Chrome extension.
Can I send a message to my desktop app somehow from Google Chrome extension?
Which IPC objects can I use?
Upvotes: 14
Views: 9481
Reputation: 16924
I see three options:
Upvotes: 11
Reputation: 2483
chrome extension has a native massage api
to communicate to native process,
see here:
https://developer.chrome.com/apps/nativeMessaging
Upvotes: 4
Reputation: 9085
These days you would use Chrome's native messaging API to send the message from your extension to a native messaging host. The latter can be a "real" executable that then passes the message on to your desktop application.
Documentation: http://developer.chrome.com/extensions/messaging#native-messaging-host
Upvotes: 10