javascript - To check if ajax call is synchronous or asynchronous in Browser Dev Tools -
is there way confirm whether particular ajax request in async or sync in browser dev tools chrome developer tools or firebug.
for ajax request http request header not indicate whether sync or async.
x-requested-with:xmlhttprequest
no cant can run in console or add code
xmlhttprequest.prototype.open = (function(open){ return function(method, url, async, user, password) { console.log("xhr call: "+url +"isasync: "+async); open.apply(this, arguments); }; })(xmlhttprequest.prototype.open);
it logs infomation :d hope helpful
Comments
Post a Comment