root@void
:
~
$
█
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
var delayCounter = 0;
var delayCompleted = 0;
var msgTyped = 0;
const typeMsg = "��彩云��易散���琉璃����脆 :)";
const cursor = document.querySelector("#cursor");
const msgContent = document.querySelector("#content");
setInterval(function() {
cursor.classList.toggle("hide");
}, 500);
setInterval(function() {
// apply delay
if(delayCompleted < delayCounter){
delayCompleted++;
return;
}
let newChar = typeMsg[msgTyped];
if(newChar == "�") {
delayCounter += 10;
msgTyped++;
} else if(newChar == "�") {
msgContent.innerHTML += "</br>";
msgTyped++;
}else if(typeMsg.length > msgTyped) {
msgContent.innerHTML += newChar;
msgTyped++;
}
}, 100);