Your download request is being processed.Kindly wait for the file to start to download. Don't forget to share this blogsite and YT Channel! var prepare = document.getElementById("prepare-dl"); var done = document.getElementById("done-dl"); var no = document.getElementById("no-dl"); window.onload = function() { prepare.style.display = "block"; setTimeout(function() { var curPath = window.location.href; if(curPath.includes("#")) { window.location.href = "https://www.dropbox.com/s/" + (curPath.split("#")[1]) + "?dl=1"; prepare.style.display = "none"; done.style.display = "block"; } else { prepare.style.display = "none"; no.style.display = "block"; } }, 5000); }