Quote:
Originally Posted by StefanM
(Random) delay while downloading
|
Quote:
Originally Posted by Jiaz
@mgpai: synchronous script
|
Code:
/*
Random delay before download
Trigger : A Download Started
IMPORTANT : Enable "Synchronous execution" checkbox in the top panel
*/
var seconds = Math.floor(Math.random() * 5) + 1 // 1 to 5 seconds
while (seconds && !link.aborting) {
sleep(seconds * 1000);
seconds--;
}