WebHID by Kazoku
Brings the WebHID API to Firefox, letting websites talk directly to HID devices like controllers and stream decks via a fast local daemon.
Extension Metadata
About this extension
WebHID implements the
Features:
- Full W3C-spec-compliant WebHID polyfill, with a WASM-based HID descriptor parser producing collections output matching Chromium's
- High-performance WebSocket + SharedArrayBuffer data plane, with optional fire-and-forget sendReport mode (~3ms avg latency vs ~50ms over Native Messaging)
- Cross-platform HID access via hidapi (Linux, Windows, macOS), with stable device IDs that survive reboots
- Automatic reconnection across 4 layers (Native Messaging host, WebSocket, worker, SAB drain loop) with exponential backoff
- Native hot-plug device monitoring (udev on Linux, RegisterDeviceNotification on Windows, IOHIDManager on macOS)
- Per-site settings via popup (fire-and-forget, SAB toggle, SAB buffer capacity) plus global defaults (including log level)
- Security: FIDO/U2F device blocklist, localhost-only WebSocket, token authentication over the WebSocket subprotocol, toggleable COOP/COEP header injection
Requires a companion daemon to communicate with HID hardware. Download and setup instructions available at: https://github.com/K4zoku/FF-WebHID
navigator.hid WebHID API in Firefox, enabling websites to interact with HID hardware (game controllers, stream decks, and other specialized input devices) that Firefox does not natively support.Features:
- Full W3C-spec-compliant WebHID polyfill, with a WASM-based HID descriptor parser producing collections output matching Chromium's
- High-performance WebSocket + SharedArrayBuffer data plane, with optional fire-and-forget sendReport mode (~3ms avg latency vs ~50ms over Native Messaging)
- Cross-platform HID access via hidapi (Linux, Windows, macOS), with stable device IDs that survive reboots
- Automatic reconnection across 4 layers (Native Messaging host, WebSocket, worker, SAB drain loop) with exponential backoff
- Native hot-plug device monitoring (udev on Linux, RegisterDeviceNotification on Windows, IOHIDManager on macOS)
- Per-site settings via popup (fire-and-forget, SAB toggle, SAB buffer capacity) plus global defaults (including log level)
- Security: FIDO/U2F device blocklist, localhost-only WebSocket, token authentication over the WebSocket subprotocol, toggleable COOP/COEP header injection
Requires a companion daemon to communicate with HID hardware. Download and setup instructions available at: https://github.com/K4zoku/FF-WebHID
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Exchange messages with programs other than Firefox
- Access your data for all web sites
Optional permissions:
- Access your data for all web sites
Required data collection, according to the developer:
- Web site content
More information
- Add-on Links
- Version
- 1.6.2
- Size
- 78.82 kB
- Last updated
- 11 hours ago (6 Jul 2026)
- Related Categories
- Licence
- MIT Licence
- Version History
- Add to collection