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

fox-webusb by 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

ExperimentalExperimental
Available on Firefox for Android™Available on Firefox for Android™
0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file
Scan the QR code to open this extension in Firefox for Android

Extension Metadata

About this extension
fox-webusb is an experimental WebExtension that provides a WebUSB-compatible 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.usb and 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.
Developer comments
This is an experimental / pre-alpha implementation of WebUSB for Firefox.

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.
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 websites

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
0.0.0.3
Size
51.27 KB
Last updated
20 hours ago (Sep 23, 2026)
Related Categories
  • Other
License
MIT License
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 License v3.0 or any later version. Android is a trademark of Google LLC.