How to view the last GET HTTP request in JavaScript
How can I view the last GET http request in JavaScript? Basically what I am after is what I can see my firebug console. When XMLHttpRequests are showing in console I see a line that looks something like: GET http://www.domain.com/php/file.php?q0&c=1 200 OK 163ms How do I view that URL in JavaScript? EDIT: Just to be clear I'm looking for the URL between GET... and ...200. I don't care about anything else. I don't want any of the other info. You may want to modify the XMLHttpRequest.prototype.open to decorate it with your "tracking" code. Something like this: var ajaxCalls = []; XMLHttpRequest