Send a message to a native application.

Latest Version

Version
1.0
Update
September 18, 2016
Size
39.49KiB
Developer
Category
Users
250
Rating
3.5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
NativeMessaging
See more

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

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