AdFreeway

BOT QUE REALIZA AS AÇÕES DO ADFREEWAY DE FORMA AUTOMATICA

  1. // ==UserScript==
  2. // @name AdFreeway
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description BOT QUE REALIZA AS AÇÕES DO ADFREEWAY DE FORMA AUTOMATICA
  6. // @author You
  7. // @license VSCoutinho
  8. // @match *://adfreeway.com/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=adfreeway.com
  10. // @grant none
  11. // @grant window.focus
  12. // ==/UserScript==
  13.  
  14. (async function() {
  15. 'use strict';
  16. window.NInteiro = 0;
  17. function sleep(ms) {
  18. return new Promise(resolve => setTimeout(resolve, ms));
  19. }
  20. function getRandomInt(max) {
  21. return Math.floor(Math.random() * max);
  22. }
  23. window.BotRandom = function(int){
  24. var EscolhaRand = getRandomInt(3);
  25.  
  26. if(EscolhaRand == 1){
  27. try {document.getElementsByClassName("left-btn-form")[int].getElementsByTagName("input")[2].click()} catch(err){}
  28. }
  29. if(EscolhaRand == 2){
  30. try {document.getElementsByClassName("right-btn-form")[int].getElementsByTagName("input")[2].click()} catch(err){}
  31. }
  32. }
  33. window.BotStart= async function() {
  34. if ( window.location.host == 'adfreeway.com' && window.location.pathname=='/myaccount/content'){
  35. BotRandom(window.NInteiro);
  36. await sleep(500);
  37. window.NInteiro=window.NInteiro +1
  38. BotRandom(window.NInteiro);
  39. await sleep(500);
  40. window.NInteiro=window.NInteiro +1
  41. BotRandom(window.NInteiro);
  42. await sleep(500);
  43. window.NInteiro=window.NInteiro +1
  44. BotRandom(window.NInteiro);
  45. await sleep(500);
  46. window.NInteiro=window.NInteiro +1
  47. BotRandom(window.NInteiro);
  48. await sleep(500);
  49. window.NInteiro=window.NInteiro +1
  50. window.location.reload();
  51.  
  52.  
  53.  
  54. }
  55. }
  56.  
  57. window.StartBot=function(){
  58. document.title = "BOT"
  59. try {document.getElementsByClassName("alert alert-success")[0].innerText= "Bot Ativado Com Sucesso\nAproveite :)\n"} catch(err){}
  60. try {
  61. var img = document.querySelector(".nav-logo");
  62. img.setAttribute('src', 'https://habbofont.net/font/hc_compact/bot+ativado.gif');
  63. } catch(err){}
  64. try {
  65. var img2 = document.querySelector(".left-nav-logo");
  66. img2.setAttribute('src', 'https://habbofont.net/font/hc_compact/bot+ativado.gif');
  67. } catch(err){}
  68. try {
  69. var img3 = document.querySelector("body > div.container-fluid.member-font > div > div.col-sm-12.col-lg-10.offset-lg-2.right-content.align-self-center > div.my-container > div:nth-child(6) > div.social-logo > img");
  70. img3.setAttribute('src', 'https://habbofont.net/font/hc_compact/bot+ativado.gif');
  71. } catch(err){}
  72.  
  73. setTimeout(BotStart, 10000);
  74.  
  75. }
  76.  
  77. window.onload = function () {
  78. StartBot();
  79. }
  80.  
  81. object.addEventListener("load", StartBot);
  82.  
  83. })();