Sounds quite simple but when I try to do that it only works for xhr
fired from my chrome extension and not from website i am browsing:
for example i want to report xhr to console:
------------------------------
var XMLHttpRequestWrapper = function(activeXObject){
console.log("xhr!!!!!!!!!!!");
new XMLHttpRequest();
}
var _XMLHttpRequest = XMLHttpRequest;
window.XMLHttpRequest = function()
{
return new XMLHttpRequestWrapper();
};
-------------------------------
it only fires on my own xhrs not on those from website.
Maybe You know why?
Great thanks for help. I really appreciate.
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en.