NBTHUB Bypass Native Key

Automatically clicks the next button on the specified page after 3 seconds.

  1. // ==UserScript==
  2. // @name NBTHUB Bypass Native Key
  3. // @namespace OmegaLolBypasser
  4. // @namespace https://ads.luarmor.net/
  5. // @version 1.2
  6. // @description Automatically clicks the next button on the specified page after 3 seconds.
  7. // @author Your Name
  8. // @match *://loot-link.com/s?*
  9. // @match *://loot-links.com/s?*
  10. // @match *://lootlink.org/s?*
  11. // @match *://lootlinks.co/s?*
  12. // @match *://lootdest.info/s?*
  13. // @match *://lootdest.org/s?*
  14. // @match *://lootdest.com/s?*
  15. // @match *://links-loot.com/s?*
  16. // @match *://linksloot.net/s?*
  17. // @match *://ads.luarmor.net/s?*
  18. // @match https://ads.luarmor.net/get_key?for=Native_Main-FvLcrZfqqbWo
  19. // @match https://ads.luarmor.net/get_key?for=-FvLcrZfqqbWo
  20. // @match https://ads.luarmor.net/
  21. // @icon https://www.google.com/s2/favicons?domain=luarmor.net
  22. // @grant none
  23. // @license MIT
  24. // ==/UserScript==
  25.  
  26. (function() {
  27. 'use strict';
  28.  
  29. const hostname = window.location.hostname;
  30.  
  31. if (hostname === 'ads.luarmor.net') {
  32. function waitForElement(selector, callback, interval = 100, timeout = 5000) {
  33. const startTime = Date.now();
  34. const timer = setInterval(() => {
  35. const element = document.querySelector(selector);
  36. if (element) {
  37. clearInterval(timer);
  38. callback(element);
  39. } else if (Date.now() - startTime > timeout) {
  40. clearInterval(timer);
  41. console.error(`Element with selector "${selector}" not found within timeout.`);
  42. }
  43. }, interval);
  44. }
  45.  
  46. waitForElement('#nextbtn', (button) => {
  47. console.log('Next button found. Waiting for 3 seconds...');
  48. setTimeout(() => {
  49. console.log('Clicking the button now.');
  50. button.click();
  51. }, 5000);
  52. });
  53.  
  54. }
  55. else if (['loot-link.com', 'loot-links.com', 'lootlink.org', 'lootlinks.co',
  56. 'lootdest.info', 'lootdest.org', 'lootdest.com',
  57. 'links-loot.com', 'linksloot.net'].includes(hostname)) {
  58. function decodeURI(encodedString, prefixLength = 5) {
  59. let decodedString = '';
  60. const base64Decoded = atob(encodedString);
  61. const prefix = base64Decoded.substring(0, prefixLength);
  62. const encodedPortion = base64Decoded.substring(prefixLength);
  63.  
  64. for (let i = 0; i < encodedPortion.length; i++) {
  65. const encodedChar = encodedPortion.charCodeAt(i);
  66. const prefixChar = prefix.charCodeAt(i % prefix.length);
  67. const decodedChar = encodedChar ^ prefixChar;
  68. decodedString += String.fromCharCode(decodedChar);
  69. }
  70.  
  71. return decodedString;
  72. }
  73.  
  74. (function() {
  75. 'use strict';
  76.  
  77. const waitForElementAndModifyParent = () => {
  78. const modifyParentElement = (targetElement) => {
  79. const parentElement = targetElement.parentElement;
  80.  
  81. if (parentElement) {
  82. const images = document.querySelectorAll('img');
  83. let countdownSeconds = 60;
  84.  
  85. for (let img of images) {
  86. if (img.src.includes('eye.png')) {
  87. countdownSeconds = 13;
  88. break;
  89. } else if (img.src.includes('bell.png')) {
  90. countdownSeconds = 30;
  91. break;
  92. } else if (img.src.includes('apps.png') || img.src.includes('fire.png')) {
  93. countdownSeconds = 60;
  94. break;
  95. } else if (img.src.includes('gamers.png')) {
  96. countdownSeconds = 90;
  97. break;
  98. }
  99. }
  100.  
  101. parentElement.innerHTML = '';
  102.  
  103. const popupHTML = `
  104. <div id="tm-overlay" style="position:fixed; top:0; left:0; width:100%; height:100%; z-index:999999; display:flex; justify-content:center; align-items:center; overflow:hidden;">
  105. <video autoplay loop muted style="position:absolute; object-fit:cover; width:100%; height:100%;">
  106. <source src="https://nbthub.netlify.app/background.mp4" type="video/mp4">
  107. </video>
  108. <div style="position:relative; z-index:1; text-align:center; color:white;">
  109. <center>
  110. <div id="tm-popup" style="padding:40px; background:rgba(255,255,255,0.8); border-radius:5px; box-shadow:0 2px 10px rgba(0,0,0,0.5);">
  111. <div id="countdown" style="margin-bottom:20px;">
  112. <h4>(รอ 60 วิ)</h4>
  113. </div>
  114. <a href="https://nbthub.netlify.app/" target="_blank" style="text-decoration:none;">
  115. <button id="nbthub-button" style="padding:10px 20px; background:#4CAF50; color:white; border:none; border-radius:5px; cursor:pointer; font-size:16px;">
  116. NBTHUB
  117. </button>
  118. </a>
  119. <h1>Donate</h1>
  120. <img src="https://promptpay.io/0804753376//">
  121. </div>
  122. </center>
  123. </div>
  124. </div>
  125. `;
  126.  
  127. const startCountdown = (duration) => {
  128. let remaining = duration;
  129. const countdownTimer = setInterval(() => {
  130. remaining--;
  131. document.getElementById('countdown').textContent = `(รอ ${remaining} วิ)`;
  132. if (remaining <= 0) clearInterval(countdownTimer);
  133. }, 1000);
  134. };
  135.  
  136. const spinnerCSS = `
  137. .wheel-and-hamster {
  138. --dur: 1s;
  139. position: relative;
  140. width: 12em;
  141. height: 12em;
  142. margin: auto;
  143. }
  144. .wheel,
  145. .hamster,
  146. .hamster div,
  147. .spoke {
  148. position: absolute;
  149. }
  150. .wheel,
  151. .spoke {
  152. border-radius: 50%;
  153. top: 0;
  154. left: 0;
  155. width: 100%;
  156. height: 100%;
  157. }
  158. .wheel {
  159. background: radial-gradient(100% 100% at center,hsla(0,0%,60%,0) 47.8%,hsl(0,0%,60%) 48%);
  160. z-index: 2;
  161. }
  162. .hamster {
  163. animation: hamster var(--dur) ease-in-out infinite;
  164. top: 50%;
  165. left: calc(50% - 3.5em);
  166. width: 7em;
  167. height: 3.75em;
  168. transform: rotate(4deg) translate(-0.8em,1.85em);
  169. transform-origin: 50% 0;
  170. z-index: 1;
  171. }
  172. .hamster__head {
  173. animation: hamsterHead var(--dur) ease-in-out infinite;
  174. background: hsl(30,90%,55%);
  175. border-radius: 70% 30% 0 100% / 40% 25% 25% 60%;
  176. box-shadow:
  177. 0 -0.25em 0 hsl(30,90%,80%) inset,
  178. 0.75em -1.55em 0 hsl(30,90%,90%) inset;
  179. top: 0;
  180. left: -2em;
  181. width: 2.75em;
  182. height: 2.5em;
  183. transform-origin: 100% 50%;
  184. }
  185. .hamster__ear {
  186. animation: hamsterEar var(--dur) ease-in-out infinite;
  187. background: hsl(0,90%,85%);
  188. border-radius: 50%;
  189. box-shadow: -0.25em 0 hsl(30,90%,55%) inset;
  190. top: -0.25em;
  191. right: -0.25em;
  192. width: 0.75em;
  193. height: 0.75em;
  194. transform-origin: 50% 75%;
  195. }
  196. .hamster__eye {
  197. animation: hamsterEye var(--dur) linear infinite;
  198. background-color: hsl(0,0%,0%);
  199. border-radius: 50%;
  200. top: 0.375em;
  201. left: 1.25em;
  202. width: 0.5em;
  203. height: 0.5em;
  204. }
  205. .hamster__nose {
  206. background: hsl(0,90%,75%);
  207. border-radius: 35% 65% 85% 15% / 70% 50% 50% 30%;
  208. top: 0.75em;
  209. left: 0;
  210. width: 0.2em;
  211. height: 0.25em;
  212. }
  213. .hamster__body {
  214. animation: hamsterBody var(--dur) ease-in-out infinite;
  215. background: hsl(30,90%,90%);
  216. border-radius: 50% 30% 50% 30% / 15% 60% 40% 40%;
  217. box-shadow:
  218. 0.1em 0.75em 0 hsl(30,90%,55%) inset,
  219. 0.15em -0.5em 0 hsl(30,90%,80%) inset;
  220. top: 0.25em;
  221. left: 2em;
  222. width: 4.5em;
  223. height: 3em;
  224. transform-origin: 17% 50%;
  225. transform-style: preserve-3d;
  226. }
  227. .hamster__limb--fr,
  228. .hamster__limb--fl {
  229. clip-path: polygon(0 0,100% 0,70% 80%,60% 100%,0% 100%,40% 80%);
  230. top: 2em;
  231. left: 0.5em;
  232. width: 1em;
  233. height: 1.5em;
  234. transform-origin: 50% 0;
  235. }
  236. .hamster__limb--fr {
  237. animation: hamsterFRLimb var(--dur) linear infinite;
  238. background: linear-gradient(hsl(30,90%,80%) 80%,hsl(0,90%,75%) 80%);
  239. transform: rotate(15deg) translateZ(-1px);
  240. }
  241. .hamster__limb--fl {
  242. animation: hamsterFLLimb var(--dur) linear infinite;
  243. background: linear-gradient(hsl(30,90%,90%) 80%,hsl(0,90%,85%) 80%);
  244. transform: rotate(15deg);
  245. }
  246. .hamster__limb--br,
  247. .hamster__limb--bl {
  248. border-radius: 0.75em 0.75em 0 0;
  249. clip-path: polygon(0 0,100% 0,100% 30%,70% 90%,70% 100%,30% 100%,40% 90%,0% 30%);
  250. top: 1em;
  251. left: 2.8em;
  252. width: 1.5em;
  253. height: 2.5em;
  254. transform-origin: 50% 30%;
  255. }
  256. .hamster__limb--br {
  257. animation: hamsterBRLimb var(--dur) linear infinite;
  258. background: linear-gradient(hsl(30,90%,80%) 90%,hsl(0,90%,75%) 90%);
  259. transform: rotate(-25deg) translateZ(-1px);
  260. }
  261. .hamster__limb--bl {
  262. animation: hamsterBLLimb var(--dur) linear infinite;
  263. background: linear-gradient(hsl(30,90%,90%) 90%,hsl(0,90%,85%) 90%);
  264. transform: rotate(-25deg);
  265. }
  266. .hamster__tail {
  267. animation: hamsterTail var(--dur) linear infinite;
  268. background: hsl(0,90%,85%);
  269. border-radius: 0.25em 50% 50% 0.25em;
  270. box-shadow: 0 -0.2em 0 hsl(0,90%,75%) inset;
  271. top: 1.5em;
  272. right: -0.5em;
  273. width: 1em;
  274. height: 0.5em;
  275. transform: rotate(30deg) translateZ(-1px);
  276. transform-origin: 0.25em 0.25em;
  277. }
  278. .spoke {
  279. animation: spoke var(--dur) linear infinite;
  280. background:
  281. radial-gradient(100% 100% at center,hsl(0,0%,60%) 4.8%,hsla(0,0%,60%,0) 5%),
  282. linear-gradient(hsla(0,0%,55%,0) 46.9%,hsl(0,0%,65%) 47% 52.9%,hsla(0,0%,65%,0) 53%) 50% 50% / 99% 99% no-repeat;
  283. }
  284.  
  285. /* Animations */
  286. @keyframes hamster {
  287. from, to { transform: rotate(4deg) translate(-0.8em,1.85em); }
  288. 50% { transform: rotate(0) translate(-0.8em,1.85em); }
  289. }
  290. @keyframes hamsterHead {
  291. from, 25%, 50%, 75%, to { transform: rotate(0); }
  292. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(8deg); }
  293. }
  294. @keyframes hamsterEye {
  295. from, 90%, to { transform: scaleY(1); }
  296. 95% { transform: scaleY(0); }
  297. }
  298. @keyframes hamsterEar {
  299. from, 25%, 50%, 75%, to { transform: rotate(0); }
  300. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(12deg); }
  301. }
  302. @keyframes hamsterBody {
  303. from, 25%, 50%, 75%, to { transform: rotate(0); }
  304. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-2deg); }
  305. }
  306. @keyframes hamsterFRLimb {
  307. from, 25%, 50%, 75%, to { transform: rotate(50deg) translateZ(-1px); }
  308. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-30deg) translateZ(-1px); }
  309. }
  310. @keyframes hamsterFLLimb {
  311. from, 25%, 50%, 75%, to { transform: rotate(-30deg); }
  312. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(50deg); }
  313. }
  314. @keyframes hamsterBRLimb {
  315. from, 25%, 50%, 75%, to { transform: rotate(-60deg) translateZ(-1px); }
  316. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(20deg) translateZ(-1px); }
  317. }
  318. @keyframes hamsterBLLimb {
  319. from, 25%, 50%, 75%, to { transform: rotate(20deg); }
  320. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(-60deg); }
  321. }
  322. @keyframes hamsterTail {
  323. from, 25%, 50%, 75%, to { transform: rotate(30deg) translateZ(-1px); }
  324. 12.5%, 37.5%, 62.5%, 87.5% { transform: rotate(10deg) translateZ(-1px); }
  325. }
  326. @keyframes spoke {
  327. from { transform: rotate(0); }
  328. to { transform: rotate(-1turn); }
  329. }
  330. `;
  331.  
  332. parentElement.insertAdjacentHTML('afterbegin', popupHTML);
  333.  
  334. startCountdown(countdownSeconds);
  335.  
  336. const style = document.createElement('style');
  337. style.type = 'text/css';
  338. style.innerHTML = spinnerCSS;
  339. document.getElementsByTagName('head')[0].appendChild(style);
  340. }
  341. };
  342.  
  343. localStorage.clear();for(let i=0;i<100;i++)if(54!==i){var e,$="t_"+i,t={value:1,expiry:new Date().getTime()+6048e5};localStorage.setItem($,JSON.stringify(t))}
  344.  
  345. const observer = new MutationObserver((mutationsList, observer) => {
  346. for (const mutation of mutationsList) {
  347. if (mutation.type === 'childList') {
  348. const foundElement = Array.from(document.querySelectorAll('body *')).find(element => element.textContent.includes("UNLOCK CONTENT"));
  349. if (foundElement) {
  350. modifyParentElement(foundElement);
  351. observer.disconnect();
  352. break;
  353. }
  354. }
  355. }
  356. });
  357.  
  358. observer.observe(document.body, {
  359. childList: true,
  360. subtree: true
  361. });
  362. };
  363.  
  364. if (document.readyState === 'loading') {
  365. document.addEventListener('DOMContentLoaded', waitForElementAndModifyParent);
  366. } else {
  367. waitForElementAndModifyParent();
  368. }
  369. })();
  370.  
  371. (function() {
  372. const originalFetch = window.fetch;
  373. window.fetch = function(url, config) {
  374. if (url.includes(`${INCENTIVE_SYNCER_DOMAIN}/tc`)) {
  375. return originalFetch(url, config).then(response => {
  376. if (!response.ok) return JSON.stringify(response);
  377.  
  378. return response.clone().json().then(data => {
  379. let urid = "";
  380. let task_id = "";
  381. let action_pixel_url = "";
  382.  
  383. data.forEach(item => {
  384. urid = item.urid;
  385. task_id = 54;
  386. action_pixel_url = item.action_pixel_url;
  387. });
  388.  
  389. const ws = new WebSocket(`wss://${urid.substr(-5) % 3}.${INCENTIVE_SERVER_DOMAIN}/c?uid=${urid}&cat=${task_id}&key=${KEY}`);
  390.  
  391. ws.onopen = () => setInterval(() => ws.send('0'), 1000);
  392.  
  393. ws.onmessage = event => {
  394. if (event.data.includes('r:')) {
  395. PUBLISHER_LINK = event.data.replace('r:', '');
  396. }
  397. };
  398.  
  399. navigator.sendBeacon(`https://${urid.substr(-5) % 3}.${INCENTIVE_SERVER_DOMAIN}/st?uid=${urid}&cat=${task_id}`);
  400.  
  401. fetch(action_pixel_url);
  402.  
  403. fetch(`https://${INCENTIVE_SYNCER_DOMAIN}/td?ac=1&urid=${urid}&&cat=${task_id}&tid=${TID}`);
  404.  
  405. ws.onclose = () => window.location.href = decodeURIComponent(decodeURI(PUBLISHER_LINK));
  406.  
  407. return new Response(JSON.stringify(data), {
  408. status: response.status,
  409. statusText: response.statusText,
  410. headers: response.headers
  411. });
  412. });
  413. });
  414. }
  415.  
  416. return originalFetch(url, config);
  417. };
  418. })();
  419. }
  420. })();