kxBypass Shortlinks Bypasser [READ DESCRIPTION]

Bypass annoying shortlinks and get to your destination!

  1. // ==UserScript==
  2. // @name kxBypass Shortlinks Bypasser [READ DESCRIPTION]
  3. // @namespace https://discord.gg/pqEBSTqdxV
  4. // @version 1.5.2
  5. // @description Bypass annoying shortlinks and get to your destination!
  6. // @author awaitlol.
  7. // @match https://bstlar.com/*
  8. // @match https://rekonise.com/*
  9. // @match https://mboost.me/*
  10. // @icon https://i.pinimg.com/736x/aa/2a/e5/aa2ae567da2c40ac6834a44abbb9e9ff.jpg
  11. // @grant none
  12. // @run-at document-end
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. "use strict";
  17.  
  18. const modalHTML = `
  19. <div id="kxBypass-modal">
  20. <div id="kxBypass-modal-content">
  21. <img src="https://i.pinimg.com/736x/aa/2a/e5/aa2ae567da2c40ac6834a44abbb9e9ff.jpg" id="kxBypass-logo">
  22. <h1>kxBypass Development</h1>
  23. <p>Bypass Successful! Here is your link:</p>
  24. <input type="text" id="kxBypass-link" value="" readonly>
  25. <button id="kxBypass-redirect">Redirect</button>
  26. <button id="kxBypass-close">✕</button>
  27. </div>
  28. </div>
  29. `;
  30.  
  31. const styleCSS = `
  32. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
  33.  
  34. #kxBypass-modal {
  35. position: fixed;
  36. top: 0;
  37. left: 0;
  38. width: 100%;
  39. height: 100%;
  40. background: rgba(0, 0, 0, 0.7);
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. z-index: 10000;
  45. font-family: 'Poppins', sans-serif;
  46. }
  47.  
  48. #kxBypass-modal-content {
  49. background: #fff;
  50. padding: 20px;
  51. border-radius: 12px;
  52. text-align: center;
  53. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  54. max-width: 400px;
  55. width: 100%;
  56. position: relative;
  57. }
  58.  
  59. #kxBypass-logo {
  60. width: 50px;
  61. height: 50px;
  62. border-radius: 50%;
  63. margin-bottom: 10px;
  64. }
  65.  
  66. #kxBypass-modal-content h1 {
  67. font-size: 20px;
  68. font-weight: 600;
  69. margin-bottom: 10px;
  70. color: #333;
  71. }
  72.  
  73. #kxBypass-modal-content p {
  74. font-size: 14px;
  75. color: #666;
  76. margin-bottom: 15px;
  77. }
  78.  
  79. #kxBypass-link {
  80. width: 100%;
  81. padding: 8px;
  82. border: 1px solid #ddd;
  83. border-radius: 6px;
  84. text-align: center;
  85. font-size: 14px;
  86. color: #333;
  87. margin-bottom: 15px;
  88. }
  89.  
  90. #kxBypass-modal-content button {
  91. width: 100%;
  92. padding: 10px;
  93. margin-top: 5px;
  94. border: none;
  95. border-radius: 6px;
  96. cursor: pointer;
  97. font-weight: 600;
  98. transition: 0.3s ease;
  99. }
  100.  
  101. #kxBypass-redirect {
  102. background: #3498db;
  103. color: #fff;
  104. }
  105.  
  106. #kxBypass-redirect:hover {
  107. background: #2980b9;
  108. }
  109.  
  110. #kxBypass-overlay {
  111. position: fixed !important;
  112. top: 0 !important;
  113. left: 0 !important;
  114. width: 100% !important;
  115. height: 100vh !important;
  116. background: rgba(255, 255, 255, 0.95) !important;
  117. display: flex !important;
  118. justify-content: center !important;
  119. align-items: center !important;
  120. z-index: 2147483647 !important;
  121. font-family: 'Poppins', sans-serif !important;
  122. animation: fadeIn 0.5s ease-in-out !important;
  123. }
  124.  
  125. @keyframes fadeIn {
  126. from { opacity: 0; }
  127. to { opacity: 1; }
  128. }
  129.  
  130. #kxBypass-content {
  131. display: flex !important;
  132. align-items: center !important;
  133. gap: 15px !important;
  134. max-width: 80% !important;
  135. background: white !important;
  136. padding: 20px !important;
  137. border-radius: 10px !important;
  138. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2) !important;
  139. }
  140.  
  141. #kxBypass-text h1 {
  142. font-size: 18px !important;
  143. font-weight: 600 !important;
  144. margin: 0 !important;
  145. color: #333 !important;
  146. }
  147.  
  148. #kxBypass-text p {
  149. font-size: 14px !important;
  150. margin: 5px 0 !important;
  151. color: #666 !important;
  152. }
  153.  
  154. #kxBypass-timer {
  155. margin: 10px 0;
  156. width: 100%;
  157. }
  158.  
  159. #kxBypass-time-left {
  160. font-size: 13px;
  161. color: #555;
  162. margin-bottom: 5px;
  163. text-align: center;
  164. }
  165.  
  166. #kxBypass-time-left span {
  167. font-weight: 600;
  168. color: #3498db;
  169. }
  170.  
  171. .kxBypass-progress-bar {
  172. height: 4px;
  173. background: #e0e0e0;
  174. border-radius: 2px;
  175. overflow: hidden;
  176. }
  177.  
  178. .kxBypass-progress {
  179. height: 100%;
  180. width: 100%;
  181. background: #3498db;
  182. border-radius: 2px;
  183. transition: width 1s linear;
  184. }
  185.  
  186. #kxBypass-logs {
  187. max-height: 100px !important;
  188. overflow-y: auto !important;
  189. font-size: 12px !important;
  190. padding: 5px !important;
  191. background: #f4f4f4 !important;
  192. border-radius: 5px !important;
  193. width: 100% !important;
  194. margin-bottom: 10px !important;
  195. }
  196.  
  197. #kxBypass-overlay #kxBypass-redirect {
  198. background: #3498db !important;
  199. color: white !important;
  200. border: none !important;
  201. padding: 10px 20px !important;
  202. border-radius: 5px !important;
  203. cursor: pointer !important;
  204. font-size: 14px !important;
  205. font-weight: 600 !important;
  206. transition: background 0.2s ease-in-out !important;
  207. }
  208.  
  209. #kxBypass-overlay #kxBypass-redirect:disabled {
  210. background: #999 !important;
  211. cursor: not-allowed !important;
  212. }
  213.  
  214. #kxBypass-overlay #kxBypass-redirect:not(:disabled):hover {
  215. background: #2980b9 !important;
  216. }
  217.  
  218. .kxBypass-invite {
  219. font-size: 14px !important;
  220. color: #3498db !important;
  221. text-decoration: none !important;
  222. font-weight: 600 !important;
  223. }
  224.  
  225. .kxBypass-invite:hover {
  226. text-decoration: underline !important;
  227. }
  228. `;
  229.  
  230. function showBypassModal(link) {
  231. const modalContainer = document.createElement("div");
  232. modalContainer.innerHTML = modalHTML;
  233. document.body.appendChild(modalContainer);
  234.  
  235. const linkInput = document.getElementById("kxBypass-link");
  236. if (linkInput) linkInput.value = link;
  237.  
  238. document.getElementById("kxBypass-redirect").addEventListener("click", () => {
  239. window.location.href = link;
  240. });
  241.  
  242. document.getElementById("kxBypass-close").addEventListener("click", () => {
  243. document.getElementById("kxBypass-modal").remove();
  244. });
  245. }
  246.  
  247. function hasCloudflare() {
  248. const pageText = document.body.innerText || "";
  249. const pageHTML = document.documentElement.innerHTML;
  250. return pageText.includes("Just a moment") || pageHTML.includes("Just a moment");
  251. }
  252.  
  253. function handleBstlar() {
  254. if (hasCloudflare()) return;
  255.  
  256. const path = new URL(window.location.href).pathname.substring(1);
  257.  
  258. fetch(`https://bstlar.com/api/link?url=${path}`, {
  259. headers: {
  260. "accept": "application/json, text/plain, */*",
  261. "accept-language": "en-US,en;q=0.9",
  262. "authorization": "null",
  263. "Referer": window.location.href,
  264. "Referrer-Policy": "same-origin"
  265. },
  266. method: "GET"
  267. })
  268. .then(response => response.json())
  269. .then(data => {
  270. if (data.tasks && data.tasks.length > 0) {
  271. const linkId = data.tasks[0].link_id;
  272. return fetch("https://bstlar.com/api/link-completed", {
  273. headers: {
  274. "accept": "application/json, text/plain, */*",
  275. "content-type": "application/json;charset=UTF-8",
  276. "authorization": "null",
  277. "Referer": window.location.href,
  278. "Referrer-Policy": "same-origin"
  279. },
  280. body: JSON.stringify({ link_id: linkId }),
  281. method: "POST"
  282. });
  283. }
  284. throw new Error("No tasks found in response!");
  285. })
  286. .then(response => response.text())
  287. .then(finalLink => showBypassModal(finalLink))
  288. .catch(console.error);
  289. }
  290.  
  291. function handleRekonise() {
  292. if (hasCloudflare()) return;
  293.  
  294. fetch(`https://api.rekonise.com/social-unlocks${location.pathname}/unlock`, {
  295. headers: {
  296. "accept": "application/json, text/plain, */*",
  297. "content-type": "application/json;charset=UTF-8",
  298. "authorization": "null",
  299. "Referer": window.location.href,
  300. "Referrer-Policy": "same-origin"
  301. },
  302. method: "GET"
  303. })
  304. .then(response => response.json())
  305. .then(data => {
  306. const responseText = JSON.stringify(data);
  307. const urlMatch = responseText.match(/(https?:\/\/[^\s"]+)/);
  308. const foundUrl = urlMatch ? urlMatch[0] : null;
  309.  
  310. if (foundUrl) {
  311. showBypassModal(foundUrl);
  312. } else {
  313. showBypassModal("Error, please join Discord Server in the Greasyfork script.");
  314. }
  315. })
  316. .catch(console.error);
  317. }
  318.  
  319. function handleMboost() {
  320.  
  321. const pageContent = document.documentElement.outerHTML;
  322. const targetUrlMatches = [...pageContent.matchAll(/"targeturl\\":\\"(https?:\/\/[^\\"]+)/g)];
  323.  
  324. targetUrlMatches.forEach((match, index) => {
  325. const url = match[1];
  326. showBypassModal(url);
  327. });
  328.  
  329. if (targetUrlMatches.length === 0) {
  330. showBypassModal('Could not find destination! Please join our Discord.');
  331. }
  332.  
  333. }
  334.  
  335. const style = document.createElement('style');
  336. style.textContent = styleCSS;
  337. document.head.appendChild(style);
  338.  
  339. if (window.location.href.includes("bstlar.com")) handleBstlar();
  340. else if (window.location.href.includes("rekonise.com/")) handleRekonise();
  341. else if (window.location.href.includes("mboost.me/")) handleMboost()
  342. })();