Moonstone Client for bloxd.io

this is cool

目前为 2024-02-14 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Moonstone Client for bloxd.io
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description this is cool
  6. // @author someone
  7. // @match https://bloxd.io/
  8. // @grant GM_addStyle
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. setInterval(function() {
  13. 'use strict';
  14. document.title = "bloxd";
  15. const maintext = document.querySelector('.Title.FullyFancyText');
  16. maintext.style.fontFamily = "Reglisse-Fill, serif";
  17. maintext.style.textShadow = "none";
  18. maintext.style.webkitTextStroke = "none";
  19.  
  20. document.querySelector('.Title.FullyFancyText').textContent = "Moonstone Client";
  21. let background = document.getElementsByClassName("Background");
  22. background[0].src = "https://i.imgur.com/Vg1T5ap.png";
  23. let names = document.getElementsByClassName("AvailableGameText");
  24. let imgs = document.getElementsByClassName("AvailableGameImg")
  25. let imgedits = document.getElementsByClassName("AvailableGame");
  26. (function() {
  27. 'use strict';
  28. const fontLink = document.createElement('link');
  29. fontLink.href = 'https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap';
  30. fontLink.rel = 'stylesheet';
  31.  
  32. })
  33.  
  34. // Crosshair
  35. setInterval(function() {
  36. const crosshair = document.querySelector(".CrossHair");
  37. if (crosshair) {
  38. crosshair.textContent = "⨀";
  39. crosshair.style.width = "30px";
  40. crosshair.style.height = "30px";
  41. }
  42. }, 1000);
  43.  
  44. document.querySelectorAll('.AvailableGame').forEach(item => {
  45. item.style.border = "none";
  46. })
  47.  
  48.  
  49. names[0].textContent = "Survival";
  50. names[0].style.textShadow = "none";
  51. imgs[0].src = "https://i.imgur.com/G9bUnQO.png";
  52. names[1].textContent = "Peaceful";
  53. names[1].style.textShadow = "none";
  54. imgs[1].src = "https://i.imgur.com/xC9jltf.png";
  55. names[2].textContent = "Creative";
  56. names[2].style.textShadow = "none";
  57. imgs[2].src = "https://i.imgur.com/BQEsCog.png";
  58. names[3].textContent = "Bedwars Squads";
  59. names[3].style.textShadow = "none";
  60. imgs[3].src = "https://i.imgur.com/TaF7UmB.png";
  61. names[4].textContent = "Bedwars Duos";
  62. names[4].style.textShadow = "none";
  63. imgs[4].src = "https://i.imgur.com/QqM1WwQ.png";
  64. names[5].textContent = "Skywars";
  65. names[5].style.textShadow = "none";
  66. imgs[5].src = "https://i.imgur.com/1EvgKmL.png";
  67. names[6].textContent = "Oneblock";
  68. names[6].style.textShadow = "none";
  69. imgs[6].src = "https://i.imgur.com/aXstUVN.png";
  70. names[7].textContent = "Greenville";
  71. names[7].style.textShadow = "none";
  72. imgs[7].src = "https://i.imgur.com/YQsbnFc.png";
  73. names[8].textContent = "Cube Warfare";
  74. names[8].style.textShadow = "none";
  75. imgs[8].src = "https://i.imgur.com/heFKXJ6.png";
  76. names[9].textContent = "Eviltower";
  77. names[9].style.textShadow = "none";
  78. imgs[9].src = "https://i.imgur.com/Gpm1cvW.png";
  79. names[10].textContent = "Doodlecube";
  80. names[10].style.textShadow = "none";
  81. imgs[10].src = "https://i.imgur.com/hjUAKVI.png";
  82. names[11].textContent = "BloxdHop";
  83. names[11].style.textShadow = "none";
  84. imgs[11].src = "https://i.imgur.com/MPRY80l.png";
  85. names[12].textContent = "Hide & Seek";
  86. names[12].style.textShadow = "none";
  87. imgs[12].src = "https://i.imgur.com/UXVWqA5.png";
  88. names[14].textContent = "Plots(superflat)";
  89. imgs[14].src = "https://i.imgur.com/mMwt42i.png";
  90. names[14].style.textShadow = "none";
  91. names[16].textContent = "Worlds";
  92. imgs[16].src = "https://i.imgur.com/TWCWlyP.png";
  93. names[16].style.textShadow = "none";
  94.  
  95. imgedits[0].style.border = "none";
  96. imgedits[0].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  97. imgedits[1].style.border = "none";
  98. imgedits[1].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  99. imgedits[2].style.border = "none";
  100. imgedits[2].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  101. imgedits[3].style.border = "none";
  102. imgedits[3].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  103. imgedits[4].style.border = "none";
  104. imgedits[4].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  105. imgedits[5].style.border = "none";
  106. imgedits[5].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  107. imgedits[6].style.border = "none";
  108. imgedits[6].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  109. imgedits[7].style.border = "none";
  110. imgedits[7].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  111. imgedits[8].style.border = "none";
  112. imgedits[8].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  113. imgedits[9].style.border = "none";
  114. imgedits[9].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  115. imgedits[10].style.border = "none";
  116. imgedits[10].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  117. imgedits[11].style.border = "none";
  118. imgedits[11].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  119. imgedits[12].style.border = "none";
  120. imgedits[12].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  121. imgedits[13].style.border = "none";
  122. imgedits[13].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  123. imgedits[14].style.border = "none";
  124. imgedits[14].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  125. imgedits[15].style.border = "none";
  126. imgedits[15].style.boxShadow = "0px 10px 20px rgba(0, 0, 0, 0.3)";
  127.  
  128. },100);
  129.  
  130. //Ad Blocker
  131. document.getElementsByClassName('partnersAndCredits SmallTextLight')[0].remove();
  132. document.getElementsByClassName('SmallTextLight')[0].remove();
  133. document.getElementsByClassName('AdContainer')[0].remove();
  134.  
  135. (function() {
  136. 'use strict';
  137. const fontLink = document.createElement('link');
  138. fontLink.href = 'https://db.onlinewebfonts.com/c/68c9057f4e4dc415b2648f88526aeea7?family=Reglisse-Fill';
  139. fontLink.rel = 'stylesheet';
  140.  
  141. /*
  142. const text = document.createElement('div');
  143. text.style.position = "fixed";
  144. text.style.color = "#fff";
  145. text.textContent = "Moonstone Client";
  146. text.style.top = "85%";
  147. text.style.left = "50%";;
  148. text.style.zIndex = "10000";
  149. text.style.fontWeight = "bold";
  150. text.style.borderRadius = "25px";
  151. text.style.fontSize = "18px";
  152. text.style.height = "6vh";
  153. text.style.display = "flex";
  154. text.style.paddingTop = "0.1rem";
  155. text.style.justifyContent = "center";
  156. text.style.width = "10vw";
  157. text.style.height = "5vh";
  158. text.style.transform = "translateX(-50%)";
  159. text.style.textAlign = "center";
  160. text.style.lineHeight = "50px";
  161. text.onclick = "opener()"
  162. text.style.boxShadow = "rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px";
  163. text.style.backgroundColor = "rgba(0,0,0,.4";
  164. text.style.cursor = "pointer";
  165. */
  166.  
  167. document.head.appendChild(fontLink);
  168. //document.body.appendChild(text);
  169. })();
  170.  
  171. // Hotbar
  172. (function() {
  173. 'use strict';
  174.  
  175. setInterval(function() {
  176. const hotbarslots = document.querySelectorAll(".item");
  177. const selectedslot = document.querySelectorAll(".SelectedItem");
  178. if (hotbarslots) {
  179. hotbarslots.forEach(function(hotbar) {
  180. hotbar.style.borderRadius = "8px";
  181. hotbar.style.borderColor = "#303a5900";
  182. hotbar.style.backgroundColor = "#D13D2E";
  183. hotbar.style.boxShadow = "inset -2px -2px 10px 0px rgb(133, 0, 0), inset 0.3px 0.3px 5px 0px rgb(255, 255, 255)"
  184. hotbar.style.outline = "transparent"
  185. });
  186. }
  187. if (selectedslot) {
  188. selectedslot.forEach(function(slot) {
  189. slot.style.backgroundColor = "#c9991c";
  190. slot.style.boxShadow = "inset -2px -2px 10px 0px rgb(210, 183, 45), inset 0.3px 0.3px 5px 0px rgb(255, 255, 255)";
  191. slot.style.borderColor = "#b88c1a";
  192. slot.style.outline = "transparent";
  193. });
  194. }
  195. }, 1);
  196. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址