Reputation: 11705
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?
Upvotes: 0
Views: 538
Reputation: 26882
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>
Upvotes: 2