Advertisement
loller5

Untitled

Dec 31st, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. async function move(frame) {
  2.     let qsa = (s) => frame.document.querySelectorAll(s);
  3.  
  4.     var mouseMoveCount = rndInt(1, 4);
  5.     for (x = 0; x < mouseMoveCount; x++) {
  6.         var els = qsa("a");
  7.         var el = rnd(els);
  8.  
  9.         await clickAsync(el, {
  10.             onlyMove: true
  11.         });
  12.  
  13.         var pause = rndInt(1000, 3000);
  14.         await waitAsync(pause);
  15.     }
  16. }
  17.  
  18.  
  19. await paramsAsync("mouse", 1);
  20. let qsa = (s) => frame.document.querySelectorAll(s);
  21.  
  22. var baseUrl = "http://tisipis.blogspot.com";
  23. var referrerUrls = ["https://google.com", "https://yandex.ru"];
  24. var referrerUrl = rnd(referrerUrls);
  25. var frame = await navigateAsync(baseUrl, referrerUrl, {
  26.     onFrame: "DOMContentLoaded"
  27. });
  28.  
  29. var pause = rndInt(30000, 35000);
  30.  
  31. await waitAsync(pause);
  32. await move(frame);
  33.  
  34. var clickCount = rndInt(1, 3);
  35.  
  36. for (x = 0; x < clickCount; x++) {
  37.     var els = qsa("a[href*='http: //click.wmlink.ru']");
  38.     var el = rnd(els);
  39.  
  40.     await clickAsync(el, {
  41.         frameReloadEvent: "DOMContentLoaded"
  42.     });
  43.  
  44.     var pause = rndInt(600000, 1200000);
  45.     await waitAsync(pause);
  46.     await move(frame);
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement