<p>I want to change the title showing in a page based on information I pick up from within the page (eg to show the number of inbox messages)</p>

<p><code>document.getElementsByTagName('title')[0].innerHTML="foo";</code> does change the title tag, but firefox does not update the displayed title (in window and tags) when this happens. </p>

<p>Is this possible? </p>

Try using this instead:
```
document.title = "MyTitle";
```