+ 1
Can anyone help me with a script to set a specific page as a landing page for all my files link and wait for a countdown?
Let say when someone visit my site and want to download a file. I need a script that will redirect the person to a specific page eg. /p/download.html and wait for a countdown of 15 seconds before the final link shows up for the person to download.
5 odpowiedzi
+ 2
Qool idea. By the way, did you it already know? Here is valid first your own attempt is shown and then will be asked if it does not work as you want.
0
Go through this ithink it will help you.
https://stackoverflow.com/questions/1106377/detect-when-browser-receives-file-download
0
Or
SetTimeout(function(){alert("file is loading please wait..")},15000) ;
0
Here you will find a shortcut for a possible solution:
https://code.sololearn.com/WvutKI1YcD6M/?ref=app
0
Thank everyone for your support.