I want to execute my function when I either scroll past or load $("yt-next-continuation")
, this div is basically the extra videos that YouTube loads when you scroll to the bottom of the page. What is the easiest way to do this?
What I basically want to do is, add overlay over the thumbnails when youtube loads in more videos when you scroll down their page. Atm my code is running when I first refresh their site, but not when more videos load in.