[Greasemonkey] nodeTree...

Nic Ferrier nferrier at tapsellferrier.co.uk
Thu Jul 14 01:45:55 EDT 2005


Tobias Orterer <orterer at gmail.com> writes:

> On 7/14/05, Nic Ferrier <nferrier at tapsellferrier.co.uk> wrote:
>> Use xpath?
>
> how i do this inside my code?
> outgoing from the td node.


something like this:

  font_content = document.evaluate("//font", 
                                   td, 
                                   null,
                                   XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, 
                                   null);

Dive into GM has some good tutorial on all this.


Nic


More information about the Greasemonkey mailing list