In a chrome content script I need to check if a link dynamically appears on a page, specifically a youtube link. I've already tried just looping the code, which is clearly not the right solution and the change event in jquery.
I'm guessing the best way is just an event in js that I haven't stumbled upon yet. If there is another way to check if the link has appeared I'd be glad to do that as well.