There are many examples online of overriding XMLHttpRequest.prototype.open 
-- for example 
http://stackoverflow.com/questions/629671/how-can-i-intercept-xmlhttprequests-from-a-greasemonkey-script
 
-- -- all of which no longer work, it seems, due to the cloneInto 
requirement + @grant changes.

I want to catch XMLHttprequest responses and modify them before the page 
gets it. to do this i formerly overrode open and then onload as per:

https://monkeyguts.com/code.php?nav=code&id=280

The page I'm overriding is not using jquery.

I'm having a tough time getting my function called when i set it via 
cloneInto. Debugging this is hellish without any way to step through or any 
errors of any kind logging anywhere - it just silently fails. What's the 
proper way to do this?

thanks-

-Ben

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to