Bundle Inject By Links (Open Source)

easy inject your bundle to the game no limited bundle no change the script one fast and sec

  1. // ==UserScript==
  2. // @name Bundle Inject By Links (Open Source)
  3. // @version 1
  4. // @description easy inject your bundle to the game no limited bundle no change the script one fast and sec
  5. // @author Ha Thu
  6. // @namespace https://cheatx.myz.info/
  7. // @match *://sandbox.moomoo.io/*
  8. // @run-at document-start
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const bundles = {
  16. //example "name your bundle": "your link to the bundle like: https://stingy-incandescent-explanation.glitch.me/script.js",
  17. //i recommend using glitch to put bundle in it for easy inject or github , etc...
  18. "": "",
  19. "": "",
  20. "": "",
  21. "": "", //add more if need
  22. };
  23. // menu
  24. function createMenu() {
  25. const overlay = document.createElement('div');
  26. overlay.style.position = 'fixed';
  27. overlay.style.top = '0';
  28. overlay.style.left = '0';
  29. overlay.style.width = '100%';
  30. overlay.style.height = '100%';
  31. overlay.style.backgroundColor = 'rgba(0, 0, 0, 0.5)';
  32. overlay.style.zIndex = '9999';
  33. overlay.style.backdropFilter = 'blur(5px)';
  34.  
  35. const menu = document.createElement('div');
  36. menu.style.position = 'absolute';
  37. menu.style.top = '50%';
  38. menu.style.left = '50%';
  39. menu.style.transform = 'translate(-50%, -50%)';
  40. menu.style.padding = '20px';
  41. menu.style.backgroundColor = '#fff';
  42. menu.style.borderRadius = '8px';
  43. menu.style.boxShadow = '0 0 15px rgba(0, 0, 0, 0.5)';
  44. menu.style.zIndex = '10000';
  45. menu.style.animation = 'fadeIn 0.3s';
  46. menu.style.width = '300px';
  47. menu.style.boxSizing = 'border-box';
  48. // font
  49. const style = document.createElement('style');
  50. style.textContent = `
  51. @import url('https://fonts.googleapis.com/css2?family=Passion+One&display=swap');
  52. @keyframes fadeIn {
  53. from { opacity: 0; }
  54. to { opacity: 1; }
  55. }
  56. @keyframes fadeOut {
  57. from { opacity: 1; }
  58. to { opacity: 0; }
  59. }
  60. .custom-menu-title {
  61. font-family: 'Passion One', cursive;
  62. margin: 0 0 10px 0;
  63. font-size: 18px;
  64. text-align: center;
  65. }
  66. .custom-menu-button {
  67. display: block;
  68. width: 100%;
  69. padding: 10px;
  70. margin-bottom: 10px;
  71. cursor: pointer;
  72. font-family: 'Passion One', cursive;
  73. font-size: 18px;
  74. color: white;
  75. background-color: #007bff;
  76. border: none;
  77. border-radius: 5px;
  78. transition: background-color 0.3s, transform 0.2s;
  79. }
  80. .custom-menu-button:hover {
  81. background-color: #0056b3;
  82. transform: scale(1.05);
  83. }
  84. .close-button {
  85. position: absolute;
  86. top: 10px;
  87. right: 10px;
  88. background-color: #ff4d4d;
  89. color: white;
  90. border: none;
  91. border-radius: 50%;
  92. width: 30px;
  93. height: 30px;
  94. cursor: pointer;
  95. font-weight: bold;
  96. font-size: 18px;
  97. line-height: 30px;
  98. text-align: center;
  99. transition: background-color 0.3s, transform 0.2s;
  100. box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  101. }
  102. .close-button:hover {
  103. background-color: #ff1a1a;
  104. transform: scale(1.1);
  105. }
  106. `;
  107. document.head.appendChild(style);
  108. // text of the menu
  109. const title = document.createElement('h3');
  110. title.className = 'custom-menu-title';
  111. title.textContent = 'Select Injects';
  112. menu.appendChild(title);
  113.  
  114. Object.keys(bundles).forEach(bundleName => {
  115. const button = document.createElement('button');
  116. button.className = 'custom-menu-button';
  117. button.textContent = bundleName;
  118.  
  119. button.onclick = function() {
  120. replaceScript(bundles[bundleName]);
  121. const feedback = document.createElement('div');
  122. feedback.textContent = `${bundleName} selected!`;
  123. feedback.style.marginTop = '10px';
  124. feedback.style.textAlign = 'center';
  125. feedback.style.color = '#007bff';
  126. menu.appendChild(feedback);
  127. };
  128.  
  129. menu.appendChild(button);
  130. });
  131. // close the menu
  132. const closeButton = document.createElement('button');
  133. closeButton.textContent = '×';
  134. closeButton.className = 'close-button';
  135. closeButton.onclick = function() {
  136. menu.style.animation = 'fadeOut 0.3s';
  137. setTimeout(() => {
  138. document.body.removeChild(overlay);
  139. document.body.removeChild(menu);
  140. }, 300);
  141. };
  142. menu.appendChild(closeButton);
  143.  
  144. document.body.appendChild(overlay);
  145. document.body.appendChild(menu);
  146. }
  147. // do inject the orig bundle
  148. function replaceScript(newScriptUrl) {
  149. const scripts = document.getElementsByTagName('script');
  150. for (let i = 0; i < scripts.length; i++) {
  151. if (scripts[i].src.includes('index-6b10514b.js')) {
  152. const newScript = document.createElement('script');
  153. newScript.src = newScriptUrl;
  154. scripts[i].parentNode.replaceChild(newScript, scripts[i]);
  155. return;
  156. }
  157. }
  158. }
  159. // load the menu
  160. window.addEventListener('load', createMenu);
  161. })();

QingJ © 2025

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