wheresrhys
wheresrhys

Reputation: 23570

Getting ajax history

Is it possible to get a history of all past ajax calls from the browser?

If not, are there any ffx plugins or similar that will store all your ajax request in a similar way to the normal browser history?

Upvotes: 5

Views: 431

Answers (3)

marr75
marr75

Reputation: 5725

Fiddler 2 and firebug work great. I recommend firebug because you can debug the javascript making the calls as well.

Upvotes: 0

Paul
Paul

Reputation: 27493

Hopefully not. This sounds remotely evil and tends to violate same origin policy. I mean, if this existed someone could, for instance, monitor all of a 3rd parties' activity on any web 2.0 site like gmail.

If this is for use within a single site, you want to have someone write a library that wraps the ajax calls and records a history and then get all the developers to use that instead of making ajax calls directly.

Maybe you want this Yahoo library as pointed out in this question.

I've used Firebug to debug a site that utilized ajax calls. So there is a ffx monitoring capability.

Upvotes: 3

Piskvor left the building
Piskvor left the building

Reputation: 92792

If you want to monitor your AJAX calls, install a HTTP Proxy (e.g. Fiddler if on Windows) and see the AJAX calls logged there (to the network, they're normal HTTP requests/responses, only their handling in browser differs).

Upvotes: 1

Related Questions