No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alex cc41f75d46 Move @name to header top and bump version to 1.5.3
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-12-03 21:57:38 +00:00
.gitattributes Initial commit: add gitattributes, gitignore, and README 2026-12-03 20:43:31 +00:00
.gitignore Initial commit: add gitattributes, gitignore, and README 2026-12-03 20:43:31 +00:00
dom-snapshotter.user.js Move @name to header top and bump version to 1.5.3 2026-12-03 21:57:38 +00:00
README.md Rewrite README: clear, concise, organized 2026-12-03 21:45:32 +00:00

DOM Snapshotter

Record snapshots of web page DOM as you interact with pages. Great for debugging and documentation.

What it does

  • Records HTML snapshots as the page changes
  • Saves each snapshot with a diff from the previous one
  • Organized folder structure by page and timestamp
  • Includes metadata about what changed

Install

  1. Install Tampermonkey browser extension
  2. Create a new script
  3. Paste contents of dom-snapshotter.user.js
  4. Save

Usage

  1. Click Tampermonkey menu > "Start recording"
  2. Select a folder to save snapshots to
  3. Use the page normally - snapshots record automatically
  4. Click "Stop recording" when done

Snapshots are organized by site, page title, and timestamp.

Output

Each recording creates a folder with:

  • 0000_initial.html — First snapshot
  • 0001_*.html — Subsequent snapshots
  • 0001_*.diff — What changed from previous snapshot
  • changes.json — Metadata about all changes