No description
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .gitattributes | ||
| .gitignore | ||
| dom-snapshotter.user.js | ||
| README.md | ||
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
- Install Tampermonkey browser extension
- Create a new script
- Paste contents of
dom-snapshotter.user.js - Save
Usage
- Click Tampermonkey menu > "Start recording"
- Select a folder to save snapshots to
- Use the page normally - snapshots record automatically
- 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 snapshot0001_*.html— Subsequent snapshots0001_*.diff— What changed from previous snapshotchanges.json— Metadata about all changes