99faucet

Autologin e Auto shorts!

  1. // ==UserScript==
  2. // @name 99faucet
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description Autologin e Auto shorts!
  6. // @author Keno venas
  7. // @match https://99faucet.com/*
  8. // @require https://code.jquery.com/jquery-3.6.0.min.js
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=99faucet.com
  10. // @license MIT
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16. var messageDiv = document.createElement('div');
  17. messageDiv.style.position = 'fixed';
  18. messageDiv.style.top = '20px';
  19. messageDiv.style.left = '20px';
  20. messageDiv.style.padding = '10px';
  21. messageDiv.style.backgroundColor = 'blue';
  22. messageDiv.style.color = 'black';
  23. messageDiv.style.borderRadius = '5px';
  24. messageDiv.style.zIndex = '9999';
  25. messageDiv.textContent = 'Criado por Keno Venas !!!';
  26. document.body.appendChild(messageDiv);
  27. var botoesParaClicar = ['button.btn-submit'];
  28. function clicarNosBotoesComAtraso() {
  29. setTimeout(function() {
  30. clicarNosBotoes();
  31. }, 5000);
  32. }
  33. function clicarNosBotoes() {
  34. for (var i = 0; i < botoesParaClicar.length; i++) {
  35. var botao = document.querySelector(botoesParaClicar[i]);
  36. if (botao) {
  37. botao.click();
  38. }
  39. }
  40. }
  41. function isCaptchaChecked() {
  42. return grecaptcha && grecaptcha.getResponse();
  43. }
  44. var verificarCaptchaInterval = setInterval(function() {
  45. if (isCaptchaChecked()) {
  46. clearInterval(verificarCaptchaInterval);
  47. clicarNosBotoesComAtraso();
  48. }
  49. }, 1000);
  50. // Insira seu email e senha aqui
  51. var email = "seuemail@gmail.com";
  52. var senha = "suasenha";
  53. function preencherCampos() {
  54. var emailInput = document.querySelector('input[type="email"]');
  55. var senhaInput = document.querySelector('input[type="password"]');
  56.  
  57. if (emailInput && senhaInput) {
  58. emailInput.value = email;
  59. senhaInput.value = senha;
  60. }
  61. }
  62. window.addEventListener('load', preencherCampos);
  63. if (window.location.href === "https://99faucet.com/") {
  64. window.location.href = "https://99faucet.com/login";
  65. }
  66.  
  67. if (window.location.href === "https://99faucet.com/dashboard") {
  68. window.location.href = "http://linksfly.link/8Mjvyug";
  69. }
  70. function clicarBotaoComDelay(selector, delay) {
  71. setTimeout(function() {
  72. var botao = document.querySelector(selector);
  73. if (botao) {
  74. botao.click();
  75. }
  76. }, delay);
  77. }
  78. window.addEventListener('load', function() {
  79. clicarBotaoComDelay('.col-lg-6:nth-child(1) .claim-btn', 5000);
  80. clicarBotaoComDelay('button[class="btn btn-success btn-lg text-white"]', 15000);
  81. });
  82. function removerCartoes() {
  83. var cartoes = document.querySelectorAll('div[class="col-lg-6"]');
  84. cartoes.forEach(function(cartao) {
  85. var textoCartao = cartao.innerText;
  86. if (textoCartao.includes("Rsshort") ||
  87. textoCartao.includes("Clks") ||
  88. textoCartao.includes("CTR") ||
  89. textoCartao.includes("Shrinkme") ||
  90. textoCartao.includes("Shrinkearn") ||
  91. textoCartao.includes("Coinfays") ||
  92. textoCartao.includes("Clk Sh") ||
  93. textoCartao.includes("FC LC")) {
  94. cartao.remove();
  95. }
  96. });
  97. }
  98. removerCartoes();
  99. if(document.querySelector('#gpcaptcha')){
  100. const captchaImgs = document.querySelectorAll('#gpcaptcha .svg-padding');
  101. const hashes = [
  102. {"Key": "M512 176.001C512 273.203"},
  103. {"Flag": "M349.565 98.783C295.978"},
  104. {"Heart": "M414.9 24C361.8 24 312"},
  105. {"Car": "M499.991 168h-54.815l-7.854-20"},
  106. {"Plane": "M472 200H360.211L256.013"},
  107. {"House" :"M488 312.7V456c0 13.3-10.7"},
  108. {"Cup":"M192 384h192c53 0 96-43"},
  109. {"Tree" : "M377.33 375.429L293.906"},
  110. {"Star" : "M259.3 17.8L194 150.2 47.9"},
  111. {"Truck":"M624 352h-16V243.9c0-12.7-5"}
  112. ]
  113.  
  114. const selectedText = document.querySelector('#gpcaptcha p .text-capitalize').innerText.toLowerCase();
  115. const checkHash = hashes.find(hash => Object.keys(hash)[0].toLowerCase() === selectedText);
  116. const flagValue = checkHash ? Object.values(checkHash)[0] : null;
  117. console.log(selectedText, flagValue)
  118.  
  119. function checkImages() {
  120. Array.from(captchaImgs).forEach((img, i) => {
  121. const svg = img.querySelector('svg path').getAttribute('d');
  122. if (svg.startsWith(flagValue)) {
  123. img.click()
  124. console.log('Matched');
  125. }else{
  126. console.log('Doesnt match');
  127. }
  128. });
  129. }
  130.  
  131. setInterval(function(){
  132. checkImages();
  133. },10000)
  134. }
  135. })();