Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async function move(frame) {
- let qsa = (s) => frame.document.querySelectorAll(s);
- var mouseMoveCount = rndInt(1, 4);
- for (x = 0; x < mouseMoveCount; x++) {
- var els = qsa("a");
- var el = rnd(els);
- await clickAsync(el, {
- onlyMove: true
- });
- var pause = rndInt(1000, 3000);
- await waitAsync(pause);
- }
- }
- await paramsAsync("mouse", 1);
- let qsa = (s) => frame.document.querySelectorAll(s);
- var baseUrl = "http://tisipis.blogspot.com";
- var referrerUrls = ["https://google.com", "https://yandex.ru"];
- var referrerUrl = rnd(referrerUrls);
- var frame = await navigateAsync(baseUrl, referrerUrl, {
- onFrame: "DOMContentLoaded"
- });
- var pause = rndInt(30000, 35000);
- await waitAsync(pause);
- await move(frame);
- var clickCount = rndInt(1, 3);
- for (x = 0; x < clickCount; x++) {
- var els = qsa("a[href*='http: //click.wmlink.ru']");
- var el = rnd(els);
- await clickAsync(el, {
- frameReloadEvent: "DOMContentLoaded"
- });
- var pause = rndInt(600000, 1200000);
- await waitAsync(pause);
- await move(frame);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement