[Greasemonkey] responseXML missing from GM_xmlhttpRequest?

Mark Pilgrim pilgrim at gmail.com
Wed May 4 08:49:04 EDT 2005


On 5/4/05, Erik Kastner <kastner at gmail.com> wrote:
> Since this is such a "big" thing - could there be a flag in
> GM_xmlhttpRequest, say "returnXML: true" that would do the domparser
> for us (and maybe toss it in responseXML as well)?

Again, I believe that things that can be done in unprivileged
Javascript should be documented, not built-in.  I will add a pattern
to give examples of parsing a random XML string into a DOM tree, and
also an example that combines it with a call to GM_xmlhttpRequest. 
Expect it on diveintogreasemonkey.org within 24 hours.

-- 
Cheers,
-Mark


More information about the Greasemonkey mailing list