https://github.com/klntsky/dom-update-highlighter
Highlight DOM updates on a webpage
https://github.com/klntsky/dom-update-highlighter
dom tool web webextension
Last synced: 5 months ago
JSON representation
Highlight DOM updates on a webpage
- Host: GitHub
- URL: https://github.com/klntsky/dom-update-highlighter
- Owner: klntsky
- Created: 2023-09-02T18:23:02.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-08T15:11:10.000Z (almost 2 years ago)
- Last Synced: 2025-01-04T23:20:36.117Z (6 months ago)
- Topics: dom, tool, web, webextension
- Language: JavaScript
- Homepage: https://dom-up.date/
- Size: 73.2 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DOM update highlighter
This WebExtension highlights [DOM](https://en.wikipedia.org/wiki/Document_Object_Model) updates as they happen on a webpage.
[](https://addons.mozilla.org/en-US/firefox/addon/dom-update-highlighter/) [](https://chrome.google.com/webstore/detail/dom-update-highlighter/ngbjjfmkdbnkobmnenaclacogdkalimn) [](https://klntsky.dev/donate.html)
It can be used by frontend developers to observe inefficiencies in working with DOM, such as excessive content updates or tree rebuilds.
## Video preview
[](https://youtu.be/x03lGEKPElk)
## Usage Instructions
See [the website](https://dom-up.date).
## Cheat sheet
- Tree updates - red outline
- Text content updates - green outline
- Attribute updates - blue outline## Implementation
This extension is powered by [MutationObserver](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver) API.