Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of WebHID

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.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
WebHID implements the 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
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
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
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.6.2
Size
78.82 kB
Last updated
11 hours ago (6 Jul 2026)
Related Categories
  • Web Development
Licence
MIT Licence
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.