I need to wrap an IE ajax request to notify me when it happens. ie i need to know when open is called on this:
var xhr = new ActiveXObject(“Microsoft.XMLHTTP”);
The only way to do that(i think) is to implement the ActiveXObject constructor to proxy open calls to the real constructor/object. Can you help me do that?
also:
i dont need to create the actual xhr object, so please dont tell me to use X framework because its easy.
all i need to know is when open is called (not by my code) on an MS xhr object.
Thank you very much!
Since the OP has posted a similar question, and I posted an answer which also happens to fit this question, he asked me to link to my answer, instead of repeating it here.
MSXML2.XMLHTTP