+ 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.

2nd Sep 2020, 7:25 PM
Edward Asare
Edward Asare - avatar
5 ответов
+ 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.
2nd Sep 2020, 7:44 PM
JaScript
JaScript - avatar
3rd Sep 2020, 2:24 AM
Divya Mohan
Divya Mohan - avatar
0
Or SetTimeout(function(){alert("file is loading please wait..")},15000) ;
3rd Sep 2020, 2:29 AM
Divya Mohan
Divya Mohan - avatar
0
Here you will find a shortcut for a possible solution: https://code.sololearn.com/WvutKI1YcD6M/?ref=app
3rd Sep 2020, 7:06 PM
JaScript
JaScript - avatar
0
Thank everyone for your support.
3rd Sep 2020, 10:41 PM
Edward Asare
Edward Asare - avatar