I have an extension for Firefox written in Javascript that I would like to make able to append text to the window's titlebar. Is this possible?
+2
A:
You can just use the document.title property to dynamically change your page's title, which is what it shows in the window's titlebar:
<script type="text/javascript">
document.title += "The Text You Want To Add";
</script>
Parrots
2010-01-12 15:26:09
Will this change when the user navigates to another page? Is there a way to make it permanent.
directedition
2010-01-12 15:37:36
Not sure on that one. I'd assume not, you'd have to run the document.title on every page load. Can't say for sure though.
Parrots
2010-01-12 15:47:17
Yes, you would have to set this on every page seperately.
tomlog
2010-01-12 16:36:40