Rotator 25

try to take over the world!

  1. // ==UserScript==
  2. // @name Rotator 25
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.5
  5. // @description try to take over the world!
  6. // @author keno venas
  7. // @license MIT
  8. // @match https://onlyfaucet.com/*
  9. // @match https://freeltc.fun/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=freeltc.fun
  11. // @icon https://www.google.com/s2/favicons?sz=64&domain=onlyfaucet.com
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. 'use strict';
  19.  
  20. if (window.location.href === "https://freeltc.fun/") {
  21. window.location.href = "https://freeltc.fun/faucet/currency/ltc";
  22. }
  23. if (window.location.href === "https://onlyfaucet.com/") {
  24. window.location.href = "https://onlyfaucet.com/faucet/currency/ltc";
  25. }
  26. function redirecionarProximaURL() {
  27. const redirecionamentos = {
  28. "https://onlyfaucet.com/faucet/currency/ltc": "https://onlyfaucet.com/faucet/currency/doge",
  29. "https://onlyfaucet.com/faucet/currency/doge": "https://onlyfaucet.com/faucet/currency/usdt",
  30. "https://onlyfaucet.com/faucet/currency/usdt": "https://onlyfaucet.com/faucet/currency/sol",
  31. "https://onlyfaucet.com/faucet/currency/sol": "https://onlyfaucet.com/faucet/currency/trx",
  32. "https://onlyfaucet.com/faucet/currency/trx": "https://onlyfaucet.com/faucet/currency/bnb",
  33. "https://onlyfaucet.com/faucet/currency/bnb": "https://onlyfaucet.com/faucet/currency/bch",
  34. "https://onlyfaucet.com/faucet/currency/bch": "https://onlyfaucet.com/faucet/currency/dash",
  35. "https://onlyfaucet.com/faucet/currency/dash": "https://onlyfaucet.com/faucet/currency/dgb",
  36. "https://onlyfaucet.com/faucet/currency/dgb": "https://onlyfaucet.com/faucet/currency/eth",
  37. "https://onlyfaucet.com/faucet/currency/eth": "https://onlyfaucet.com/faucet/currency/fey",
  38. "https://onlyfaucet.com/faucet/currency/fey": "https://onlyfaucet.com/faucet/currency/btc",
  39. "https://onlyfaucet.com/faucet/currency/btc": "https://onlyfaucet.com/faucet/currency/ton",
  40. "https://onlyfaucet.com/faucet/currency/ton": "https://onlyfaucet.com/faucet/currency/zec",
  41. "https://onlyfaucet.com/faucet/currency/zec": "https://freeltc.fun/faucet/currency/ltc",
  42. "https://freeltc.fun/faucet/currency/ltc": "https://freeltc.fun/faucet/currency/doge",
  43. "https://freeltc.fun/faucet/currency/doge": "https://freeltc.fun/faucet/currency/dgb",
  44. "https://freeltc.fun/faucet/currency/dgb": "https://freeltc.fun/faucet/currency/trx",
  45. "https://freeltc.fun/faucet/currency/sol": "https://freeltc.fun/faucet/currency/trx",
  46. "https://freeltc.fun/faucet/currency/trx": "https://freeltc.fun/faucet/currency/bch",
  47. "https://freeltc.fun/faucet/currency/bnb": "https://freeltc.fun/faucet/currency/bch",
  48. "https://freeltc.fun/faucet/currency/bch": "https://freeltc.fun/faucet/currency/eth",
  49. "https://freeltc.fun/faucet/currency/dash": "https://freeltc.fun/faucet/currency/eth",
  50. "https://freeltc.fun/faucet/currency/eth": "https://freeltc.fun/faucet/currency/fey",
  51. "https://freeltc.fun/faucet/currency/fey": "https://freeltc.fun/faucet/currency/zec",
  52. "https://freeltc.fun/faucet/currency/zec": "hhttps://onlyfaucet.com/"
  53. };
  54.  
  55. const urlAtual = window.location.href;
  56. if (urlAtual in redirecionamentos) {
  57. const proximaURL = redirecionamentos[urlAtual];
  58. setTimeout(function() {
  59. window.location.href = proximaURL;
  60. }, 5000);
  61. }
  62. }
  63. function verificarMutacao(mutationsList, observer) {
  64. for (const mutation of mutationsList) {
  65. if (mutation.type === 'childList') {
  66. const alertPrimary = document.querySelector('div.alert-primary');
  67. if (alertPrimary) {
  68. redirecionarProximaURL();
  69. observer.disconnect();
  70. break;
  71. }
  72. }
  73. }
  74. }
  75. function detectTextOnPage(text) {
  76. return document.body.innerText.includes(text);
  77. }
  78. const observer = new MutationObserver(verificarMutacao);
  79. observer.observe(document.body, { childList: true, subtree: true });
  80. let claim2 = setInterval(function (){
  81. let turnstile = document.querySelector("input[name='cf-turnstile-response']")
  82. let button = document.querySelector("button[data-target='#myModal']:not([disabled])")
  83. let button2 = document.querySelector("button.btn",)
  84. if(button){
  85. button.click();
  86. }
  87. if(button2 && turnstile && turnstile.value.length > 0){
  88. setTimeout(function() { window.location.reload() }, 60000)
  89. button2.click();
  90. clearInterval(claim2);
  91. }
  92.  
  93. },2000)
  94. })();