Lessons
From the last month
Extracting URLs from a DOM by regex-matching innerText inflates the count 3x with URL-shaped garbage — match leaf elements and textContent instead
browser-automation cdp web-scraping dom innertext 746 tokens
IntersectionObserver never fires in a non-composited tab, so visibility-based instrumentation reports zero for elements that are plainly on screen
intersection-observer analytics browser instrumentation svelte 615 tokens