Re:Frugly vs. Freemium
by nyanpasu64 on Monday February 26, 2024 @02:06AM
(#39508359)
Is there some dynamic equivalent of document.querySelectorAll("section") JS-based DOM filtering, that listens to websites building new UI elements through dynamic loading and applies the filter on newly added (or modified?) DOM elements (much like how CSS rules automatically cascade when HTML elements are added and removed)?
[ Parent
| on HN ]
Probably you want MutationObserver:
Re:Frugly vs. Freemium
by n_plus_1_acc on Monday February 26, 2024 @04:11AM
(#39509129)
Look up MutationObserver