Code:
<!DOCTYPE html>
<html>
<head>
<title>The Hard Coded Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
(function(){
var millis = 3000, // milliseconds between title changes
titles = [ // Configure titles below, original title will be automatically added to the end
"This is the Next Title",
"And the Next",
"The Next After That" // <-- No comma after the last title
], count = 0;
titles.push(document.title);
setInterval(function(){
document.title = titles[count % titles.length];
++count;
}, millis);
})();
</script>
</head>
<body>
</body>
</html>
Bookmarks