Window title
Question: How do I change another window's title, that is, the content of title bar at the top of the window?
Answer:
To change another window's title, your script can write to that window
a string beginning with the following code:
'<html><head><title>Your new title here</title></head>'
Note that rewriting the other window's content will
erase everything previously displayed in that window.
Therefore, if you want the window's content to stay,
then, after changing the window title, you'll have to
write the old content to that window once again.
(If your script does not know what the old content was,
you'd rather not change the window title either!)
For more information on writing script-generated content to another window, see
Writing to a Window.
JavaScripter.net.
Copyright
© 1999-2006, Alexei Kourbatov