Autofaucet.org

Autologin

  1. // ==UserScript==
  2. // @name Autofaucet.org
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Autologin
  6. // @author keno venas
  7. // @match https://autofaucet.org/*
  8. // @match https://fc-lc.xyz/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=autofaucet.org
  10. // @grant GM_xmlhttpRequest
  11. // @grant GM_setValue
  12. // @grant GM_getValue
  13. // @license MIT
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18. function clicarComDelay() {
  19. setTimeout(function() {
  20. var botao = document.querySelector('button#invisibleCaptchaShortlink');
  21. if (botao) {
  22. botao.click();
  23. } else {
  24. console.log('Botão não encontrado.');
  25. }
  26. }, 2000);
  27. }
  28. clicarComDelay();
  29.  
  30.  
  31. var username = "seuusuario";
  32. var password = "suasenha";
  33.  
  34. function isCaptchaChecked() {
  35. return grecaptcha && grecaptcha.getResponse().length !== 0;
  36. }
  37.  
  38. if (window.location.href === "https://autofaucet.org/") {
  39. window.location.replace("https://cuty.io/quFOzb");
  40. }
  41.  
  42. if (window.location.href.includes("https://autofaucet.org/auth/signin")) {
  43. setInterval(function() {
  44. if (document.querySelector("#l-form-username")) {
  45. document.querySelector("#l-form-username").value = username;
  46. }
  47. if (document.querySelector("#l-form-password")) {
  48. document.querySelector("#l-form-password").value = password;
  49. }
  50.  
  51. if (isCaptchaChecked()) {
  52. if (document.querySelector(".btn.btn-primary.button")) {
  53. document.querySelector(".btn.btn-primary.button").click();
  54. }
  55. }
  56. }, 5000);
  57. }
  58.  
  59. if (window.location.href === "https://autofaucet.org/dashboard") {
  60. window.location.replace("https://cuty.io/8eryG9");
  61. }
  62.  
  63. document.addEventListener('DOMContentLoaded', function() {
  64. setInterval(() => {
  65. const rows = document.querySelectorAll('.item');
  66. const rowsToRemove = Array.from(rows).filter(row => {
  67. const searchText = [
  68. 'Clks',
  69. 'Rsshort',
  70. 'Earnow',
  71. 'Adlink',
  72. 'Shortyfi',
  73. 'CryptoShorty',
  74. 'Megaurl',
  75. 'Megafly',
  76. 'Shortox',
  77. ];
  78. return searchText.some(text => row.textContent.includes(text));
  79. });
  80. rowsToRemove.forEach(row => {
  81. row.remove();
  82. });
  83.  
  84. }, 0);
  85. });
  86. var clickInterval = 120000;
  87. var buttonSelectors = [
  88. 'button[class="btn btn-success visit-button"]'
  89. ];
  90. function doDelayedClick(elementSelector, delay) {
  91. var element = document.querySelector(elementSelector);
  92. if (element) {
  93. setTimeout(function() {
  94. element.click();
  95. }, delay);
  96. return true;
  97. }
  98. return false;
  99. }
  100. function runAutoClicker(index) {
  101. if (index >= buttonSelectors.length) {
  102. console.log("Não há mais botões disponíveis para clicar.");
  103. return;
  104. }
  105. var currentButtonSelector = buttonSelectors[index];
  106. setTimeout(function() {
  107. if (doDelayedClick(currentButtonSelector, 0)) {
  108. setTimeout(function() {
  109. runAutoClicker(index + 1);
  110. }, clickInterval);
  111. } else {
  112. console.log("Botão não encontrado para o seletor: " + currentButtonSelector);
  113. runAutoClicker(index + 1);
  114. }
  115. }, 5000);
  116. }
  117. if (window.location.href.includes('https://autofaucet.org/dashboard/shortlinks')) {
  118. runAutoClicker(0);
  119. }
  120. })();
  121.