WebExtensions/Native Messaging: Difference between revisions

no edit summary
(Changed path for manifest for Linux / User from "/.mozilla/NativeMessagingHosts" to "/.mozilla/native-messaging-hosts" ref message from jonny at pluckeye)
No edit summary
Line 1: Line 1:
This page is about the project to add APIs related to native messaging to WebExtensions.  The APIs will be based on the [https://developer.chrome.com/extensions/nativeMessaging native messaging APIs from Chrome].  The overall tracking bug for this project is [https://bugzilla.mozilla.org/show_bug.cgi?id=1190682 bug 1190682].
This page is about the project to add APIs related to native messaging to WebExtensions.  The APIs will be based on the [https://developer.chrome.com/extensions/nativeMessaging native messaging APIs from Chrome].  The overall tracking bug for this project is [https://bugzilla.mozilla.org/show_bug.cgi?id=1190682 bug 1190682].
== Testing ==
If you want to use native messaging, then you'll need some documentation and learn how to write an add-on using runtime.connectNative.
MDN: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/Runtime/connectNative
Chrome docs: https://developer.chrome.com/extensions/nativeMessaging
You'll need to know where to write the manifest files and that's contained below.


== Overview of native messaging ==
== Overview of native messaging ==
Confirmed users
1,158

edits