CoinPayz

Auto Shorts

目前为 2024-04-17 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CoinPayz
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.2
  5. // @description Auto Shorts
  6. // @author keno venas
  7. // @license MIT
  8. // @match https://coinpayz.xyz/*
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=coinpayz.xyz
  10. // @grant none
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. function clicarComDelay() {
  17. setTimeout(function() {
  18. var botao = document.querySelector('.col-lg-3:nth-child(1) .btn');
  19. if (botao) {
  20. botao.click();
  21. } else {
  22. console.log('Botão não encontrado.');
  23. }
  24. }, 5000);
  25. }
  26. clicarComDelay();
  27. if (window.location.href === "https://coinpayz.xyz/dashboard") {
  28. window.location.href = "https://coinpayz.xyz/links";
  29. }
  30. function removerCartoes() {
  31. var cartoes = document.querySelectorAll('div[class="col-lg-3"]');
  32. cartoes.forEach(function(cartao) {
  33. var textoCartao = cartao.innerText;
  34. if (textoCartao.includes("Earnow") ||
  35. textoCartao.includes("Revcut") ||
  36. textoCartao.includes("Cutlink") ||
  37. textoCartao.includes("Easycut") ||
  38. textoCartao.includes("Earnow") ||
  39. textoCartao.includes("Ctr.sh")) {
  40. // Remover o cartão
  41. cartao.remove();
  42. }
  43. });
  44. }
  45. removerCartoes();
  46. })();