mirror of
https://github.com/byReqz/youtube-landingpage.git
synced 2024-11-23 12:34:55 +00:00
25 lines
477 B
JavaScript
25 lines
477 B
JavaScript
if(document.addEventListener){
|
|
document.addEventListener("DOMContentLoaded", function(){
|
|
loaded();
|
|
});
|
|
} else if(document.attachEvent){
|
|
document.attachEvent("onreadystatechange", function(){
|
|
loaded();
|
|
});
|
|
}
|
|
|
|
function loaded(){
|
|
|
|
setInterval(loop, 600);
|
|
|
|
}
|
|
|
|
var x = 0;
|
|
|
|
var titleText = [ "b", "by", "byR", "byRe", "byReq", "byReqz", "byReqz.d", "byReqz.de" ];
|
|
|
|
function loop(){
|
|
|
|
document.getElementsByTagName("title")[0].innerHTML = titleText[x++%titleText.length];
|
|
|
|
} |