I donβt know an easy way to track XHR requests, but you can track any changes made to the page structure by listening to the DOMSubtreeModified event. Therefore, when an ajax call is made, and the elements are added / removed / changed on the page, you will be notified.
document.addEventListener("DOMSubtreeModified", function(event){
source share