I am looking for a listener to receive ajax events before any Ajax method is invoked. I see there is an ajaxLIstsner in JQuery which would work if all my ajax requests were coming from JQuery. But there are not. So, question is how would I implement such a listener in core JavaScript.
Thanks.