Quantcast
Viewing all articles
Browse latest Browse all 40

MooTools Request.Spy – monitor all requests through the Request class prototype

An interesting question on StackOverflow prompted me to look into creating a universal spy/logger for all Requests that MooTools. The objective is: being able to log / spy on all XHR requests w/o modifying code anywhere. It is trivial to override the Request Class and change the prototype of the success and failure. The problem [...]

Viewing all articles
Browse latest Browse all 40

Trending Articles