[Greasemonkey] accessing sub frames
Dave Land
land at aol.com
Wed Apr 12 14:56:50 EDT 2006
On Apr 12, 2006, at 11:15 AM, Vectorspace wrote:
> I can access the dom of a sub frame using frames[i] or
> document.getElementsByTagName("frame")[i].contentDocument but
> neither allows me to go another level down in the frame tree. What
> is the best way of accessing the sub frames of a page, and their
> sub frames, and their sub frames, and so on? I'd like to go down
> 3-4 levels.
It would look something like this:
frames[i].frames[j].frames[k].frames[l]
Dave
More information about the Greasemonkey
mailing list