Animated smiley in page title

 You can animate the title in the browser tab (or window title) by setting 'document.title'.


I first tried setting the 'innerHTML' of the 'title' tab, but this does not work in Chrome.


I put a smiley in the page title and slowly change it. If I change the title quickly then the browser tab (or window title) changes in length which is a bit distracting.


I have read it is bad form to animate the page title.


I got the the list of smileys from the Linux 'smiley' program.


There are more tips at: bbingo.xyz/t

Comments

Popular posts from this blog

webkit-tap-highlight-color in CSS

Steve Jobs quotes