Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
DOM Time Machine Pro 预览

DOM Time Machine Pro 作者: scolastico

A powerful developer tool designed to capture a high-fidelity, chronological record of a webpage's DOM state. Capture, rewind, and inspect the code of a page at any point in time.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
DOM Time Machine Pro is a powerful developer tool designed to capture a high-fidelity, chronological record of a webpage's DOM state. Unlike standard screen recording, this extension captures the actual HTML structure and associated assets, allowing you to "rewind" and inspect the code of a page at any point in time.

Why It’s Useful
  • Debug Transient UI: Capture elusive states like toast notifications, hover effects, or race conditions that disappear before you can inspect them.
  • State Analysis: Compare how the DOM evolves after specific user actions or API responses.
  • Portable Recordings: Export your session as a JSON file to share with other developers or import later for further analysis.
  • Asset Persistence: Automatically inlines CSS and converts images to Base64 to ensure the recording remains intact even if the original website goes offline.

How It Works

The extension utilizes three distinct capture modes to suit different needs:
  1. Debounced (Mutation): Uses a MutationObserver to trigger a snapshot whenever the DOM changes, with a 100ms debounce to maintain performance.
  2. RequestAnimationFrame: Captures the DOM at the browser's refresh rate—useful for high-speed animations.
  3. MozAfterPaint (Firefox Recommended): Specifically designed for Firefox, this mode triggers a capture only after the browser actually paints a change to the screen.

Workflow:
  • Record: Select a mode from the popup to begin. The extension icon will turn red to indicate active recording.
  • Capture: The background script manages the storage of snapshots and assets while you navigate.
  • View: Once stopped, a dedicated "Viewer" tab opens. Use the slider or navigation buttons to travel through your recording timeline.

Browser Recommendation

While compatible with Chromium-based browsers, Firefox is highly recommended. Firefox supports the MozAfterPaint event (when enabled in about:config), which provides the most efficient and accurate "paint-based" recording triggers available.

Installation & Configuration

For Firefox users wanting to use the Paint mode:
  1. Navigate to about:config.
  2. Set dom.send_after_paint_to_content to true.

License

This project is licensed under the GNU Affero General Public License (AGPL-3.0). We believe in open-source collaboration and ensuring that any improvements to this tool remain available to the community.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 获取浏览器标签页

根据开发者所述,必要的数据收集:

  • 浏览活动
  • 网站内容
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.0.4
大小
18.38 KB
上次更新
22 天前 (2026年1月28日)
相关分类
  • 网页开发
许可证
仅 GNU Affero 通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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