fox-webusb di steck0714
Adds a navigator.usb (WebUSB) polyfill to Firefox via a local Native Messaging host. Firefox does not implement WebUSB natively (see README). Install the host with: pip install fox-webusb-host
SperimentâlSperimentâl
Disponibil su Firefox par Androidâ˘Disponibil su Firefox par Androidâ˘
Scansione il codiç QR par vierzi cheste estension in Firefox par Android
Metadâts de estension
Informazions su la estension
fox-webusb is an experimental WebExtension that provides a WebUSB-compatible
Firefox does not implement WebUSB natively. fox-webusb bridges WebUSB API calls from web pages to a locally installed Native Messaging host, which handles communication with USB devices.
The native host is distributed separately as the
Install it with:
After installation, follow the project README for Native Messaging host registration and setup instructions.
fox-webusb is an experimental WebUSB-compatible implementation for Firefox.
It is intended to provide a compatible WebUSB API rather than claim that Firefox has native WebUSB support. Some behavior, limitations, and compatibility may differ from Chromium's native WebUSB implementation.
Physical USB hardware and WebUSB website compatibility are still under active testing.
The implementation is actively developed and may change between releases.
If you want to inspect the actual implementation of the latest Firefox version, including the WebExtension, Native Messaging bridge, native host, tests, and supporting components, see the
https://github.com/steck0714/fox-webusb/tree/firefox
The
Repository:
https://github.com/steck0714/fox-webusb
fox-webusb is part of the Mock-webusb project, which explores WebUSB-compatible APIs for environments where native WebUSB support is unavailable.
navigator.usb API in Firefox.Firefox does not implement WebUSB natively. fox-webusb bridges WebUSB API calls from web pages to a locally installed Native Messaging host, which handles communication with USB devices.
The native host is distributed separately as the
fox-webusb-host Python package.Install it with:
pip install fox-webusb-host
After installation, follow the project README for Native Messaging host registration and setup instructions.
- Provides
navigator.usband WebUSB-compatible interfaces - USB device selection through
requestDevice() - Device open and close operations
- Interface claiming and releasing
- Configuration and alternate-interface selection
- Control, bulk, and isochronous transfers
- Device reset and endpoint halt management
- USB connect and disconnect events
- Origin-based permission and device management
- Extension options page for managing permissions and known devices
- Popup diagnostics for native-host connection status
- Optional Rust acceleration for faster Base64 processing
Web page
â
â navigator.usb
âź
fox-webusb WebExtension
â
â Native Messaging
âź
fox-webusb-host
â
â PyUSB / libusb
âź
USB device
fox-webusb is an experimental WebUSB-compatible implementation for Firefox.
It is intended to provide a compatible WebUSB API rather than claim that Firefox has native WebUSB support. Some behavior, limitations, and compatibility may differ from Chromium's native WebUSB implementation.
Physical USB hardware and WebUSB website compatibility are still under active testing.
The implementation is actively developed and may change between releases.
If you want to inspect the actual implementation of the latest Firefox version, including the WebExtension, Native Messaging bridge, native host, tests, and supporting components, see the
firefox branch of the project repository:https://github.com/steck0714/fox-webusb/tree/firefox
The
firefox branch contains the current Firefox-specific implementation and is the best place to inspect the implementation in detail.Repository:
https://github.com/steck0714/fox-webusb
fox-webusb is part of the Mock-webusb project, which explores WebUSB-compatible APIs for environments where native WebUSB support is unavailable.
Valutât 0 di 0 recensôrs
Permès e dâts
Permès obligatoris:
- Scambiâ messaçs cun programs diviers di Firefox
- Acedi ai tiei dâts di ducj i sÎts web
Racuelte dâts:
- Il svilupadôr al declare che cheste estension no domande la racuelte di dâts.
Altris informazions
- Colegaments component adizionâl
- Version
- 0.0.0.3
- Dimension
- 51,27 kB
- Ultin inzornament
- ××¤× × 21 ׊ע×ת (23 ץפ×׳ 2026)
- Categoriis coreladis
- Licence
- Licence MIT
- Cronologjie versions
- Zonte ae racuelte
fox-webusb uses Firefox Native Messaging to communicate with a separately installed native host. The native host handles USB communication through PyUSB.
Physical USB hardware support is still under verification. The current verification log documents the tested API behavior, Native Messaging communication, and known limitations.
Verification log:
https://github.com/steck0714/fox-webusb/blob/main/checklog2.md
The native host is not bundled with the WebExtension and must be installed separately.