Modules pour le navigateur Firefox
  • Extensions
  • ThĂšmes
    • pour Firefox
    • Dictionnaires et paquetages linguistiques
    • Sites pour les autres navigateurs
    • Modules pour Android
Connexion
Aperçu de fox-webusb

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

ExpérimentalExpérimental
Disponible sur Firefox pour AndroidℱDisponible sur Firefox pour Androidℱ
0 (0 critiques)0 (0 critiques)
TĂ©lĂ©charger Firefox et obtenir l’extension
Télécharger le fichier
Scannez le code QR pour ouvrir cette extension dans Firefox pour Android

MĂ©tadonnĂ©es de l’extension

À propos de cette 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.
Commentaires du développeur
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.
Noté 0 par 1 personne
Connectez-vous pour noter cette extension
Il n’y a aucune note pour l’instant

Le nombre d’étoiles est enregistrĂ©

5
0
4
0
3
0
2
0
1
0
Aucune critique pour l’instant
Autorisations et données

Autorisations nécessaires :

  • Communiquer avec d’autres programmes que Firefox
  • AccĂ©der Ă  vos donnĂ©es pour tous les sites web

Collecte de données :

  • Le dĂ©veloppeur indique que cette extension n’a pas besoin de collecter de donnĂ©es.
En savoir plus
Plus d’informations
Liens du module
  • Page d’accueil
  • Site d’assistance
  • E-mail d’assistance
  • Copier l’identifiant du module
Version
0.0.0.3
Taille
51,27 Ko
DerniĂšre mise Ă  jour
il y a un jour (23 sept. 2026)
Catégories associées
  • Autre
Licence
Licence MIT
Historique des versions
  • Voir toutes les versions
Ajouter Ă  la collection
Signaler ce module
Aller à la page d’accueil de Mozilla

Modules complémentaires

  • À propos
  • Blog des modules complĂ©mentaires Firefox
  • Atelier sur les extensions
  • PĂŽle dĂ©veloppeur
  • Politiques Ă  destination des dĂ©veloppeurs
  • Blog de la communautĂ©
  • Forum
  • Signaler un problĂšme
  • Guide de revue

Télécharger

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

DerniĂšres versions

  • Nightly
  • Beta

Firefox pour entreprise

  • Enterprise

Communauté

  • Connect
  • Contribute
  • Developer

Nous suivre

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • ConfidentialitĂ©
  • Cookies
  • Mentions lĂ©gales

Sauf mention contraire, le contenu de ce site est disponible sous licence Creative Commons Attribution Share-Alike v3.0 ou toute version supérieure. Android est une marque de Google LLC.