native-messaging
native-messaging copied to clipboard
Native Messaging Host Protocol for Browser Extensions
- Set message value length once - Store accrued message length read - Reset dynamic variables after sending accrued read message to client
Modify the following: example.js ``` function handleMessage (req) { // if (req.message === 'ping') { sendMessage(req) // {message: 'pong', body: 'hello from nodejs app'} // } } ``` background.js ```...
When multiple messages are sent at once from the browser and process.stdin.read() reads all of them, native-messaging only handles the first message and ignores the rest. This PR will fix...
Underscores are also allowed as delimiters in file names, e.g., $HOME/.config/chromium/NativeMessagingHosts/native_messaging_mkvmerge.json
Hi, sorry for my english. Sometimes the module can handle the request like so:  other times it splits the message in two parts and can't pass your if statement...