Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Xem trước fox-webusb

fox-webusb bởi 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

Thử nghiệmThử nghiệm
Có sẵn trên Firefox dành cho Android™Có sẵn trên Firefox dành cho Android™
0 (0 đánh giá)0 (0 đánh giá)
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin
Quét mã QR để mở tiện ích mở rộng này trong Firefox dành cho Android

Siêu dữ liệu mở rộng

Về tiện ích mở rộng này
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.
Chú thích của nhà phát triển
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.
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Quyền hạn bắt buộc:

  • Giao tiếp với các ứng dụng khác bên ngoài Firefox
  • Truy cập dữ liệu của bạn trên mọi trang web

Thu thập dữ liệu:

  • Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang chủ
  • Trang hỗ trợ
  • Email hỗ trợ
  • Sao chép ID tiện ích
Phiên bản
0.0.0.3
Kích cỡ
51,27 KB
Cập nhật gần nhất
một ngày trước (23 Thg 09 2026)
Thể loại có liên quan
  • Khác
Giấy phép
Giấy phép MIT
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Tải xuống

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

Bản dựng mới nhất

  • Nightly
  • Beta

Firefox dành cho doanh nghiệp

  • Enterprise

Cộng đồng

  • Connect
  • Contribute
  • Developer

Theo dõi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này. Android là thương hiệu của Google LLC.