Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
附加元件圖示

OPFS Explorer 版本紀錄 - 4 個版本

OPFS Explorer 作者: Hasan Bayat

目前沒有評分
0 顆星,滿分 5 顆星
5
0
4
0
3
0
2
0
1
0
OPFS Explorer 版本紀錄 - 4 個版本
  • 小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。

  • 最新版本

    版本 0.1.2

    發行於 2026年2月27日 - 427.54 KB
    適用於 firefox 109.0 與更新版本

    原始碼依照 MIT License 條款釋出

    下載 Firefox 並安裝擴充套件
    下載檔案
  • 較舊版本

    版本 0.1.1

    發行於 2026年2月23日 - 302 KB
    適用於 firefox 109.0 與更新版本
    • Binary file corruption on download: URL.revokeObjectURL() was called synchronously immediately after a.click(), before the browser had a chance to read the object URL. Downloads of binary files (Arrow, SQLite, Parquet, WASM, etc.) would produce 0-byte or truncated files. Revocation is now deferred by 30 seconds.
    • Binary write corruption for large files: The entire base64 payload was inlined as a string literal inside the inspectedWindow.eval() call, which can silently fail or corrupt data beyond undocumented size limits. Binary uploads are now staged into the inspected page's sessionStorage in 64 KB chunks, then reassembled and decoded inside OPFS atomically.
    • Binary files incorrectly classified as text: OPFS does not preserve MIME types — every file stored in OPFS has file.type === "". The previous __opfs_isTextFile check treated an empty type as text, causing binary files (Arrow, SQLite, WASM, Protobuf, .bin, etc.) to be read with file.text(), producing garbled UTF-8 in the editor. Classification now relies exclusively on file extension when the MIME type is absent.
    • btoa / Uint8Array.reduce call-stack overflow: Building the base64 binary string by reducing one character at a time over large Uint8Array buffers would exhaust the JavaScript call stack for images and binary previews beyond a few hundred KB. Replaced with an 8 KB chunked String.fromCharCode.apply loop.
    • escapeString missing null bytes and Unicode line separators: Null bytes (\x00) and Unicode line/paragraph separators (\u2028, \u2029) were not escaped, causing injected JavaScript to be syntactically invalid when file paths or text content contained these characters.
    • saveFile could corrupt binary/image files: The Cmd/Ctrl+S keyboard shortcut called saveFile even when viewing a binary file whose content was displayed as a [BINARY] or data:…;base64,… sentinel string. The sentinel text would be written back to OPFS, corrupting the file. A guard now blocks saves when the displayed content is a read-only sentinel.
    • stageBinaryData sessionStorage leak on error: If staging a chunk failed (e.g. sessionStorage quota exceeded), already-stored chunks were never removed, leaking __opfs_bin_* keys in the inspected page's sessionStorage indefinitely. Staged chunks are now cleaned up on any staging error.
    • Undefined base64 crashing upload: FileReader produces a data URL; content.split(',')[1] returns undefined on a malformed result. This was passed into stageBinaryData which then crashed with a misleading error. An explicit guard now throws a descriptive error.
    • Conflict resolution applied wrong target directory to pending uploads: After resolving a file conflict, remaining queued uploads were all sent to the first file's target directory, ignoring each file's own intended path. Each pending upload is now dispatched with its own original targetPath

    原始碼依照 MIT License 條款釋出

    下載檔案
  • 版本 0.1.0

    發行於 2026年2月11日 - 300.91 KB
    適用於 firefox 109.0 與更新版本
    v0.1.0 - Multi-Selection, Keyboard Shortcuts & Accessibility

    MULTI-SELECTION:
    • Ctrl+Click to toggle individual items
    • Shift+Click for range selection
    • Ctrl+A to select all visible items
    • Bulk delete and download for multiple selections
    • Visual checkbox indicators in multi-select mode

    KEYBOARD SHORTCUTS:
    • Ctrl+N / Cmd+N - New file
    • Ctrl+Shift+N / Cmd+Shift+N - New folder
    • F2 - Rename selected item
    • Delete / Backspace - Delete selected items
    • Arrow Up/Down - Navigate tree, Shift+Arrow to extend selection
    • Home/End - Jump to first/last tree item
    • Space - Toggle selection
    • Context menus show platform-aware shortcut hints

    ACCESSIBILITY (WCAG 2.1 AA):
    • ARIA tree pattern with roving tabindex navigation
    • Screen reader announcements via ARIA live regions
    • Focus trap in modal dialogs with return-focus-to-trigger
    • Skip navigation link for keyboard users
    • prefers-reduced-motion support (disables animations)
    • Windows High Contrast mode (forced-colors) support
    • focus-visible styling on all interactive elements
    • Descriptive aria-labels on all buttons and regions

    UI ENHANCEMENTS:
    • Context menus with icons, shortcut hints, and section separators
    • Type-ahead character search in context menus
    • Image preview keyboard shortcuts (+/- zoom, R rotate, 0 reset)
    • Keyboard-accessible resize handle (Shift+Arrow for larger steps)
    • Proper breadcrumb markup with aria-current
    • Storage bar with progressbar role and ARIA values

    This is a major UI/UX and accessibility update. The extension now meets WCAG 2.1 AA standards with comprehensive keyboard navigation and screen reader support.

    原始碼依照 MIT License 條款釋出

    下載檔案
  • 版本 0.0.4

    發行於 2025年11月26日 - 296.74 KB
    適用於 firefox 109.0 與更新版本

    原始碼依照 MIT License 條款釋出

    下載檔案
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。