- `MutationObserver` is constantly firing and rescanning the entire page - `getTextNodes()` scans the entire DOM tree every time - No debouncing or throttling for DOM changes - Regex patterns are being executed on every text node repeatedly - Large amount of DOM manipulation without optimization
MutationObserveris constantly firing and rescanning the entire pagegetTextNodes()scans the entire DOM tree every time