3 ms·
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web... It was
by Macha 2y ago
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_messaging https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...
It was basically built so password manager extensions could communicate with password manager apps to do things like yubikey support etc. before browsers started handling webauthn
- dz0ny 2y agoOh wow, this is cool. Yep this would make USB Serial work on Firefox with a simple extension.
- Macha 2y agoExtension + a native program for the extension to talk to. The native program has to manage accessing the usb device and providing an interface to the browser extension.
- AshamedCaptain 2y agoYes, I have done this for (a fraction of) WebBluetooth. Albeit the extension API does not make it easy, and i don't know if you can implement the entire Web* API surface, but at least it is good enough for proofs of concept.