Some sites signal content change DOM events, such as:
pjax:end
on document used by many pjax-based sites e.g. GitHub;message
on window used by e.g. Google search in Chrome browser;yt-navigate-finish
used by Youtube
Currently, I'm using console.table(listAllEventListeners());
to list all the event listeners on a webpage, but what I want is to log to the console whenever one of these events is fired.
Is there a way to do this?