So here is the thing, I have an old chrome extension which was developed for an legacy web site is being replaced with a new one.
What the old extension did was to change the click event handlers for certain link types, this has happened when the page has loaded.
Now the website has moved to Angular 8 and the results are not being loaded right away but rather lazy loaded from a server after a certain action by a user, which means that there are simply no links to go over and change when the extension loads.
I have looked through the web and I couldn't find anything relveant. Ideally I would want to listen to a certain event and make the extension do it's thing, or at least be able to identify that the grid of links has loaded and fire the extension code.
Unfortunately, all I found was related to the registering to events when the DOM has loaded, which doesn't help much in my case.
The current code in the extension is super simple, in fact, I suppose it's too simple:
$('a[href^=im:]').
live('click', handleMouseClickOnLink)
Anyone has any suggestions?