const statusMessages = [ | |
"Exploiting kernel...", | |
"Patching root filesystem...", | |
"Installing packages...", | |
"Finalizing setup..." | |
]; | |
let currentIndex = 0; | |
function updateStatus() { | |
if (currentIndex < statusMessages.length) { | |
document.getElementById("status").innerText = statusMessages[currentIndex]; | |
currentIndex++; | |
setTimeout(updateStatus, 2000); // 2 seconds delay between messages | |
} else { | |
window.location.href = "final.mp4"; | |
} | |
} | |
window.onload = function() { | |
setTimeout(updateStatus, 2000); // Start the status update process after 2 seconds | |
} |