Yahoo searches for a keyword and then chaotic surfing on the site

opsfafsme

Well-Known Member
Rule The Universe
VIP
Joined
Jul 2, 2018
Messages
243
Reaction score
91
Website
OnlinePiercingShop.com
Achievement
hi guys, a very long time ago someone asked for something similar.

You need to change the settings to your needs.
keywords - an array of your keywords (the larger the array, the more human-like the search)
max_page - the maximum number of pages on which to search for your keywords
domain - your domain
Creating a campain set yahoo.com as a start page.
This is a simple script. Loads a yahoo.com, an arbitrary keyword from your array is entered in the search bar.
Pages are sequentially viewed if your domain is in the results, click on the link and then continue to randomly click on the website’s internal links.
If your domain is not found in the search results after viewing max_page, the script goes to the next random keyword from your list, etc.

JavaScript:
await Delay(Random(2500,3000));
await WaitForLoading();
var page, scrl, random_keyword, temp;
var max_page = 2;
var myDomain = "%onlinepiercingshop.com%";
var keywords = [
    "diamond nose stud",
    "h2ocean cleaning and healing solution",
    "citrine nose stud",
    "tinkerbell belly button ring"
    ];
do {
    await ClickByXpath(GenerateXpath("input", "type", "text"));
    await Delay(Random(2500,3000));
    await ClickById("sbq-clear");
    await Delay(Random(1000,1500));
    random_keyword = Math.floor(Math.random() * keywords.length);
    await Typing (keywords[random_keyword], 300, 500);
    await Delay(Random(1000,1500));
    await Typing ("\r\n");
    await Delay(Random(2500,3000));
    await WaitForLoading();
    page = 1;
    while ( page <= max_page ) {
        do { //scroll page
            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"))
        myTargetXpath = GenerateXpath("a", "href", myDomain);
        foundLink = await GetAttribute(myTargetXpath, "href");
        if ( foundLink ) {
//            await ClickByXpath(myTargetXpath);
            await EvaluateScript("window.open('" + foundLink + "','_self')");
            break;
        }
        else {
            await ClickByXpath(GenerateXpath("a", "class", "next"));
            await Delay(Random(2500,3000));
            await WaitForLoading();
            page = page+1;
        }
    }
    if ( foundLink ) { // random surf my site
        do {
            await Delay(Random(2500,3000));
            await WaitForLoading();
            do { //scroll page
                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(3000,5000));
            await ClickRandomInternalLink(true);
        } while (true)
    }
    else {
        keywords.splice(random_keyword, 1);
    }
} while (keywords.length);
Exit();
 
Last edited:

zerar

New Member
VIP
Joined
Jun 9, 2020
Messages
4
Reaction score
0
Achievement
Hi! Can U add click on "Accept" button" into Script for start to search. Without closes window of "Accept rules". Script not works.
 

kjtyit55

New Member
Joined
Dec 9, 2023
Messages
10
Reaction score
0
Achievement
Patti Sky, along with other online casino games, contributes to the continuous innovation and development of the online gambling industry. The game's success fuels the creation of new features https://3pattisky.app/ , improved graphics, and enhanced gameplay, providing an ever-evolving and engaging experience for players.
 

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