AI Briefing
KO

WebUSB Extension for Firefox

·2026.04.21 13:11

Key point

An extension and native stub that let you use WebUSB in Firefox have been released.

Details

An extension that enables WebUSB functionality in Firefox, along with a native stub installed on the computer, have been released together. It aims for compatibility with Chrome's WebUSB implementation, but it cannot be used in Web Workers and is only exposed on the main page.

Installation is a two-step process.

  • The browser extension can be installed by opening the .xpi, provided as a binary on GitHub Releases, in Firefox.
  • The native stub is written in Rust, and if you download the prebuilt binary, you install it via install.sh on Linux/macOS or install.bat on Windows.

The prebuilt binaries support macOS x86_64/ARM64, Linux x86_64/aarch64, and Windows AMD64/ARM64. Android is not supported due to the absence of native messaging.

The system requirements are as follows.

  • macOS 10.15 or later
  • Windows 10 or later
  • Linux kernel 4.8 or later
  • On Linux, USBDEVFS_DISCONNECT_CLAIM support, /dev and /sys mounts, and a udev-compatible daemon are required.

To locate the native stub, a native manifest must be registered at an OS-specific location or in the Windows registry. The manifest includes name, description, path, type, and allowed_extensions, and the extension ID is [email protected].

Building from source can be done with cargo build in the native-stub directory; macOS uses a vendored .tbd file, and the Linux prebuilt binaries are distributed with musl-based static linking. The Windows prebuilt binaries are built for the UCRT target using mingw-w64, and building with the MSVC toolchain is not supported.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.