Posted By

avioli on 02/15/08


Tagged

javascript textmate title


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

adix
Wiederkehr
SpinZ


Set html document title (page must be loaded)


 / Published in: Other
 

  1. document.setTitle = function(newTitle) {
  2. this.getElementsByTagName('title')[0].text = newTitle;
  3. }
  4.  

Report this snippet  

You need to login to post a comment.