[Greasemonkey] Question: XPath on XMLHttpRequests

Edward Lee edilee at gmail.com
Sat Apr 16 01:30:41 EDT 2005

On 4/15/05, Aaron Boodman <zboogs at gmail.com> wrote:
> The way I've seen it done is to create an IFRAME then set it's
> document.getElementsByTagName("HTML")[0].innerHTML to the
> responseText.
> Then you can run xpath's against it's root node.

Oh. Very cool ;) Thanks. Would it be possible for me to look at where
you've seen it done?

_frame.contentDocument.documentElement seems to work.


More information about the Greasemonkey mailing list