I need to show a symbol/message or spinner if any request start in the network tab
i can do that with
$( document ).ajaxSend(function() {
or
$( document ).ajaxComplete(function() {
and i can track clicks on a href or buttons
but instead of changing the entire code to track, is it possible to track if there is a new request in the network tab
i want to track it with javascript but if there is a library or something i don't mind using it