Send a message to a native application.
Native Messaging Example Extension
Sample of Google Chrome Native Messaging
Extensions and apps can exchange messages with native applications using an API that is similar to the other message passing APIs. 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.
Read more
Extensions and apps can exchange messages with native applications using an API that is similar to the other message passing APIs. 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.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"name": "Native Messaging Example",\t"short_name": "NativeClient",\t"version": "1.0",\t"manifest_version": 2,\t"minimum_chrome_version": "33",\t"description": "Send a message to a native application.", "browser_action": { "default_icon": "icon-128.png", "default_popup": "main.html" },\t"icons": {"16": "icon-16.png","128": "icon-128.png"},\t"permissions": ["nativeMessaging"]}
Read more