payup

O amanha será tarde dmais !!!

  1. // ==UserScript==
  2. // @name payup
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description O amanha será tarde dmais !!!
  6. // @author keno venas
  7. // @license MIT
  8. // @match https://payup.video/*
  9. // @match https://premiumbspot.blogspot.com/*
  10. // @match https://www.youtube.com/*
  11. // @require https://code.jquery.com/jquery-3.6.0.min.js
  12. // @icon https://www.google.com/s2/favicons?sz=64&domain=payup.video
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18. var botoesParaClicar = ['button.bg-blue4'];
  19. function clicarNosBotoes() {
  20. for (var i = 0; i < botoesParaClicar.length; i++) {
  21. var botao = document.querySelector(botoesParaClicar[i]);
  22. if (botao) {
  23. botao.click();
  24. }
  25. }
  26. }
  27. function isCaptchaChecked() {
  28. return grecaptcha && grecaptcha.getResponse();
  29. }
  30. var verificarCaptchaInterval = setInterval(function() {
  31. if (isCaptchaChecked()) {
  32. clearInterval(verificarCaptchaInterval);
  33. clicarNosBotoes();
  34. }
  35. }, 1000);
  36. var email = "seu email@gmail.com";
  37. var senha = "sua senha ";
  38. function preencherFormulario() {
  39. var emailInput = document.querySelector('.form-group:nth-child(1) > .form-control');
  40. var senhaInput = document.querySelector('.form-group:nth-child(2) > .form-control');
  41.  
  42. if (emailInput && senhaInput) {
  43. emailInput.value = email;
  44. senhaInput.value = senha;
  45. }
  46. }
  47. window.onload = function() {
  48. preencherFormulario();
  49. };
  50. if (window.location.href === "https://payup.video/") {
  51. // Redireciona para a nova URL
  52. window.location.href = "https://payup.video/signin/";
  53. }
  54. if (window.location.href === "https://payup.video/dashboard/") {
  55. // Redireciona para a nova URL
  56. window.location.href = "https://payup.video/tasks/video/";
  57. }
  58. function verificaURL() {
  59. return window.location.href.startsWith('https://payup.video/tasks/video/');
  60. }
  61. function recarregarPagina() {
  62. if (verificaURL()) {
  63. setTimeout(function() {
  64. location.reload();
  65. }, 25000);
  66. }
  67. }
  68. function criarContador() {
  69. const contador = document.createElement('div');
  70. contador.style.position = 'fixed';
  71. contador.style.top = '10px';
  72. contador.style.right = '10px';
  73. contador.style.padding = '5px 10px';
  74. contador.style.background = 'blue';
  75. contador.style.color = 'black';
  76. contador.style.fontWeight = 'bold';
  77. contador.style.borderRadius = '5px';
  78. document.body.appendChild(contador);
  79. function atualizarContador(segundos) {
  80. contador.textContent = `Próximo recarregamento em ${segundos} segundos`;
  81. }
  82. let tempoRestante = 25;
  83. setInterval(() => {
  84. tempoRestante--;
  85. if (tempoRestante === 0) {
  86. tempoRestante = 25;
  87. }
  88. atualizarContador(tempoRestante);
  89. }, 1000);
  90. }
  91. recarregarPagina();
  92. criarContador();
  93. window.addEventListener('hashchange', recarregarPagina, false);
  94. window.addEventListener('popstate', recarregarPagina, false);
  95. function fecharAba() {
  96. window.close();
  97. }
  98. if (window.location.href.startsWith("https://www.youtube.com/")) {
  99. fecharAba();
  100. }
  101. function clicarComDelay(selector, delay) {
  102. setTimeout(function() {
  103. $(selector)[0].dispatchEvent(new MouseEvent('click', { bubbles: true }));
  104. }, delay);
  105. }
  106. $(document).ready(function() {
  107. clicarComDelay('button.card_run', 2000);
  108. clicarComDelay('button[class="ytp-large-play-button ytp-button ytp-large-play-button-red-bg"]', 1000);
  109. });
  110. })();