-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
the protocol seems well developed:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging
a "client" installs wiith a single command:
https://github.com/andy-portmen/native-client/releases
and it works:
https://add0n.com/open-in.html
The way this seems to work is, the "client installer" puts a file like this:
{
"name": "com.add0n.node",
"description": "Node Host for Native Messaging",
"path": "/home/koom/.config/com.add0n.node/run.sh",
"type": "stdio",
"allowed_extensions": ["{b8fa78dd-dae1-4839-9d0e-ce5e213083ce}","{5610edea-88c1-4370.....
}
into ~/.mozilla/native-messaging-hosts/com.add0n.node.json where the browser picks it up.
and /home/koom/.config/com.add0n.node/run.sh is your code (or andy-portmen's code) that runs whatever it's told to.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels