hi,
i've tried the following code :
(function(open) {
XMLHttpRequest.prototype.open = function(method, url, async, user, pass) {
this.addEventListener("readystatechange", function() {
console.log(this.readyState);
}, false);
open.call(this, method, url, async, user, pass);
};
})(XMLHttpRequest.prototype.open);
But it doesn't work with GM on firefox 3.07.
In JS console i can read the error : XMLHttpRequest.prototype is undefined
What's wrong ?
Thanks a lot