by jsf01 · 3y ago · 0 comments
https://developer.mozilla.org/en-US/docs/Web/API/MutationObs...
I tried polling, but it was against the Chrome extension guidelines at the time, so I used a "mutationObserver" on page load and then a "scrollListener". I don't remember if I ever tried an "intersectionObserver" but that might be worth looking at.
https://github.com/rendall/twitter-like-hider/blob/master/co...