My website is a mix of pages using asp.net ajax calls and prototype ajax calls. I'm looking for a way to intercept all ajax requests regardless of their origin so that I can run a custom client script after each partial postback.
I want to keep this code in a .js file that is included on all pages of my site. Any suggestions on how to achieve this?