Script Modification Request

naseerz

New Member
VIP
Joined
Oct 23, 2021
Messages
1
Reaction score
0
Achievement
Hello,

There is this another script by a member which simulates website visits do scroll on the page and and then click on internal link of the website. Could some one help me to add a loop to click random number of internal pages (eg. 0 to 5) and also simulate mouse movements on the pages.

await Delay(Random(2500,3000));
await WaitForLoading();
do { //scroll
scrl = Random(3,9);
for (var i = 1; i < scrl; i++) {
await EvaluateScript("var ddE = document.documentElement; ddE.scrollTo(0, ddE.clientHeight/(Math.floor(Math.random()*3)+9) + ddE.scrollTop);");
await Delay(Random(100,150));
}
await Delay (Random(1000,1500));
} while (await EvaluateScript("var ddE = document.documentElement; ddE.clientHeight+ddE.scrollTop < ddE.scrollHeight"))
await Delay(Random(5000,7000));
await ClickRandomInternalLink(true);
await Delay(Random(2500,3000));
await WaitForLoading();
Exit();

Thanks

Naseer
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu