[Greasemonkey] nodeTree...

Jeremy Dunck jdunck at gmail.com
Wed Jul 13 19:59:50 EDT 2005


On 7/13/05, Tobias Orterer <orterer at gmail.com> wrote:
> ah sorry...
> td[i]...
> 
> now it works great!
> THX!
> 
> (but the bookmarklet things from bill are nice, don't know how it
> works but sounds cool :P)
> 

Tobias, the JS Shell bookmarklet allows you to type and immediately
evaluate js in the context of the page you were on when you clicked
it.  That bit you had before "props(....)" yeilding 0,1,2, so on.. 
that was actually working.

props is a function supplied by the js shell which enumerates the
properties of a given object.  It appears that the object resulting
from your chain of calls was a string of len 8.

Try this instead: 
props(document)

Next, try this:
alert(document.title)

I think you'll get the point.  :)


More information about the Greasemonkey mailing list