function timer() { // Show the number of remaining seconds on the web page. var output = document.getElementById("displaySeconds"); output.innerHTML = count;
// Decrease the remaining number of seconds by one. count--;
// Check if the counter has reached zero. if (count < 0) { // If the counter has reached zero... // Stop the counter. clearInterval(counter); // Start the download. window.location.href = "https://drive.google.com/open?id=1FyBVcMATXsUGg0ujsDWRuiwe9jhkDILl"; return; } } // Start the countdown timer when the page loads. window.addEventListener("load", start, false);
Your download will begin in 15 seconds.
Hanest
Download