SUPER RANK ON BLOXD

Get super rank on bloxd

  1. // ==UserScript==
  2. // @name SUPER RANK ON BLOXD
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Get super rank on bloxd
  6. // @author Donezz BRASILLLL
  7. // @match *://bloxd.io/*
  8. // @match *://staging.bloxd.io/*
  9. // @match *://bloxdhop.io/*
  10. // @match *://bloxdk12.com/*
  11. // @match *://doodlecub.io/*
  12. // @match *://eviltower.io/*
  13. // @grant none
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. function mudarClasse() {
  20. const elementos1 = document.querySelectorAll('.CharCustomPartWrapper.DisabledCharCustomPartWrapper');
  21. const elementos2 = document.querySelectorAll('.fa-solid.fa-x.SmallTextBold');
  22.  
  23. elementos1.forEach((el) => {
  24. el.classList.remove('DisabledCharCustomPartWrapper');
  25. el.classList.add('EnabledCharCustomPartWrapper');
  26. });
  27.  
  28. elementos2.forEach((el) => {
  29. el.classList.remove('fa-x');
  30. el.classList.add('fa-check');
  31. });
  32. }
  33.  
  34. function mudarTexto() {
  35. const elementos = document.querySelectorAll('*');
  36.  
  37. elementos.forEach((el) => {
  38. if (el.children.length === 0 && el.textContent) {
  39. if (el.textContent.includes("Get Super Rank")) {
  40. el.textContent = el.textContent.replace(/Get Super Rank/g, "Super Rank");
  41. }
  42. if (el.textContent.includes("Get it Now")) {
  43. el.textContent = el.textContent.replace(/Get it Now/g, "Do Login");
  44. }
  45. }
  46. });
  47. }
  48.  
  49. function ocultarAnuncios() {
  50. const anuncios = [
  51. '.ad-banner',
  52. '.advertisement',
  53. '.ad-container',
  54. '.popup-ad',
  55. '.adsbygoogle',
  56. 'iframe[src*="ads"]'
  57. ];
  58.  
  59. anuncios.forEach(selector => {
  60. const elementos = document.querySelectorAll(selector);
  61. elementos.forEach((el) => {
  62. el.style.visibility = 'hidden';
  63. el.style.position = 'absolute';
  64. el.style.width = '0';
  65. el.style.height = '0';
  66. });
  67. });
  68. }
  69.  
  70. window.addEventListener('DOMContentLoaded', () => {
  71. mudarClasse();
  72. mudarTexto();
  73. ocultarAnuncios();
  74. });
  75.  
  76. const observer = new MutationObserver(() => {
  77. mudarClasse();
  78. mudarTexto();
  79. ocultarAnuncios();
  80. });
  81. observer.observe(document.body, { childList: true, subtree: true });
  82. })();