[Greasemonkey] script in a frame

Mark Pilgrim pilgrim at gmail.com
Tue Jul 19 14:30:47 EDT 2005


On 7/19/05, Tobias Orterer <orterer at gmail.com> wrote:
> is it possible for a script that matches with a frame in a frameset to
> change the title of the index (frameset) page?
> 
> example:
>        index.html
>         |          |
> nav.html   content.html
> 
> greasemonkey @includes */nav.html
> and in the index.html i want to change the title tag after doing
> something with the nav.html.

Try window.top.document.title = 'foo';

-- 
Cheers,
-Mark


More information about the Greasemonkey mailing list