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 许可证 发布

    下载 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 许可证 发布

    下载文件
  • 版本 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 许可证 发布

    下载文件
  • 版本 0.0.4

    发布于 2025年11月26日 - 296.74 KB
    适用于 firefox 109.0 及更高版本

    源代码遵循 MIT 许可证 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。