Guest User

Code cleanup

a guest
Dec 9th, 2021
2,995
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Bypass All Shortlinks
  3. // @namespace    Violentmonkey Scripts
  4. // @version      8.1
  5. // @description  Bypass All Shortlinks Sites Automatically Skips annoying link shorteners
  6. // @author       Bloggerpemula
  7. // @match      *://tech.dutchycorp.space/*
  8. // @match      *://anime.dutchycorp.space/*
  9. // @match      *://movies.dutchycorp.space/*
  10. // @match      *://cool-time.dutchycorp.space/*
  11. // @match      *://dutchycorp.space/s*/*
  12. // @match      *://dutchycorp.ovh/s*/*
  13. // @match      *://tmearn.com/*
  14. // @match      *://droplink.co/*
  15. // @match      *://tny.so/*
  16. // @match      *://ouo.io/*
  17. // @match      *://ouo.press/*
  18. // @match      *://short.goldenfaucet.io/*
  19. // @match      *://short.croclix.me/*
  20. // @match      *://m.zolomix.com/*
  21. // @match      *://makemoneywithurl.com/*
  22. // @match      *://*.insuranceblog.xyz/*
  23. // @match      *://coinsparty.mcrypto.club/*
  24. // @match      *://sehati.xyz/*
  25. // @match      *://rifurl.com/*
  26. // @match      *://pennbookcenter.com/*
  27. // @match      *://wordcounter.icu/*
  28. // @match      *://publicananker.com/*
  29. // @match      *://watchdoge.xyz/*
  30. // @match      *://short.cryptolink.space/*
  31. // @match      *://claimcoins.club/shortcoin/*
  32. // @match      *://mikl4forex.com/*
  33. // @match      *://michaelemad.com/*
  34. // @match      *://miklpro.com/*
  35. // @match      *://zoss.me/*
  36. // @match      *://shrinke.me/*
  37. // @match      *://clik.pw/*
  38. // @match      *://zirof.com/*
  39. // @match      *://arenaboard.xyz/*
  40. // @match      *://newforex.online/*
  41. // @match      *://forex-golds.com/*
  42. // @match      *://nawahi1.com/*
  43. // @match      *://mmo1s.com/*
  44. // @match      *://passgen.icu/*
  45. // @match      *://adshort.live/*
  46. // @match      *://go.leolink.co/*
  47. // @match      *://clickIfElementExistssl.xyz/*
  48. // @match      *://xz2.xyz/*
  49. // @match      *://bshopme.site/*
  50. // @match      *://100count.net/*
  51. // @match      *://fire-link.net/*
  52. // @match      *://go.fire-link.net/*
  53. // @match      *://bigb0ss.net/*
  54. // @match      *://short.toptap.website/*
  55. // @match      *://mcmcryptos.xyz/short/*
  56. // @match      *://mitly.us/*
  57. // @match      *://cashurl.in/*
  58. // @match      *://linkad.in/*
  59. // @match      *://linksly.co/*
  60. // @match      *://bitcoinly.in/*
  61. // @match      *://bitlinks.pw/*
  62. // @match      *://owllink.net/*
  63. // @match      *://mozlink.net/*
  64. // @match      *://go.mozlink.net/*
  65. // @match      *://neonlink.net/*
  66. // @match      *://aii.sh/*
  67. // @match      *://blog.earn4fun.in/*
  68. // @match      *://iir.ai/*
  69. // @match      *://*.5golink.com/*
  70. // @match      *://yousm.link/*
  71. // @match      *://forex-trnd.com/*
  72. // @match      *://hoshilink.com/*
  73. // @match      *://birdurls.com/*
  74. // @match      *://bit-url.com/*
  75. // @match      *://cuts-url.com/*
  76. // @match      *://coinlyhub.com/*
  77. // @match      *://popimed.com/*
  78. // @match      *://phoenixshorts.com/*
  79. // @match      *://short.clickscoin.com/*
  80. // @match      *://url.namaidani.com/*
  81. // @match      *://urlfiles.com/*
  82. // @match      *://katflys.com/*
  83. // @match      *://shrinkpay.xyz/*
  84. // @match      *://bitcomarket.net/*
  85. // @match      *://*.crazyblog.in/*
  86. // @match      *://sl.claimfreebits.com/*
  87. // @match      *://shortenbuddy.com/*
  88. // @match      *://go.zolomix.in/*
  89. // @match      *://wplink.online/*
  90. // @match      *://arbweb.info/sl/*
  91. // @match      *://sl.proinfinity.fun/*
  92. // @match      *://icut.click/*
  93. // @match      *://www.yofaurls.com/*
  94. // @match      *://kiemlua.com/*
  95. // @match      *://rodjulian.com/*
  96. // @match      *://cryptofuns.ru/*
  97. // @match      *://cashearn.clickIfElementExists/*
  98. // @match      *://o.ovlinks.com/*
  99. // @match      *://adfloz.co/*
  100. // @match      *://shortlink.prz.pw/*
  101. // @match      *://makeeasybtc.website/*
  102. // @match      *://express-cut.ovh/*
  103. // @match      *://uebnews.online/*
  104. // @match      *://gobits.me/*
  105. // @match      *://dogecoin.click/*
  106. // @match      *://claimcrypto.clickIfElementExists/*
  107. // @match      *://paid4.link/*
  108. // @match      *://illink.net/*
  109. // @match      *://kekolink.com/*
  110. // @match      *://linkres.in/*
  111. // @match      *://smoner.com/*
  112. // @match      *://linkfly.io/*
  113. // @match      *://coinadfly.com/*
  114. // @match      *://coinshub.icu/*
  115. // @match      *://mycut.my.id/*
  116. // @match      *://zagl.info/*
  117. // @match      *://shornet.com/*
  118. // @match      *://jameeltips.us/*
  119. // @match      *://genpassword.top/*
  120. // @match      *://bitshort.co/*
  121. // @match      *://gtlink.co/*
  122. // @match      *://earnload.co/*
  123. // @match      *://adfloz.co/*
  124. // @match      *://*.snkra.com/*
  125. // @match      *://clixshort.com/*
  126. // @match      *://earnflies.com/*
  127. // @match      *://*.fullreviews.org/*
  128. // @match      *://c2g.at/*
  129. // @match      *://urlty.com/*
  130. // @match      *://clk.asia/*
  131. // @match      *://adsgo.xyz/*
  132. // @match      *://vshort.link/*
  133. // @match      *://shrlink.top/*
  134. // @match      *://sakastau.com/*
  135. // @match      *://adsmoker.com/*
  136. // @match      *://gainprofit.xyz/*
  137. // @match      *://claimclicks.com/*
  138. // @match      *://doctor-groups.com/*
  139. // @match      *://url.acefaucet.com/*
  140. // @match      *://earnwithshortlink.com/*
  141. // @match      *://bitzite.com/*
  142. // @match      *://m.imagenesderopaparaperros.com/*
  143. // @match      *://link1s.com/*
  144. // @match      *://gameen.xyz/*
  145. // @match      *://fameen.xyz/*
  146. // @match      *://yameen.xyz/*
  147. // @match      *://link.sh2rt.com/*
  148. // @match      *://noweconomy.live/*
  149. // @match      *://deportealdia.live/*
  150. // @match      *://techgeek.digital/*
  151. // @match      *://sanoybonito.club/*
  152. // @match      *://staaker.com/*
  153. // @match      *://lucidcam.com/*
  154. // @match      *://*.byboe.com/*
  155. // @match      *://coinsparty.com/*
  156. // @match      *://123link.biz/*
  157. // @match      *://qualitystudymaterial.in/*
  158. // @match      *://cutdl.xyz/*
  159. // @match      *://cryptourl.net/*
  160. // @match      *://ponselharian.com/*
  161. // @match      *://maroclickIfElementExistslickers.xyz/*
  162. // @match      *://cryptonetos.ru/page/redirect*
  163. // @match      *://liinkat.com/*
  164. // @match      *://landing.adly.fun/*
  165. // @match      *://m.w4earn.com/*
  166. // @match      *://mixespecialidades.live/*
  167. // @match      *://thegoneapp.com/*
  168. // @match      *://alocd.com/*
  169. // @match      *://azsoft.biz/*
  170. // @match      *://mobi2c.com/*
  171. // @match      *://*.medcpu.com/*
  172. // @match      *://*.nousdecor.com/*
  173. // @match      *://t2l.one/*
  174. // @match      *://sh2rt.com/*
  175. // @match      *://link.rota.clickIfElementExists/*
  176. // @match      *://world-trips.net/*
  177. // @match      *://studyuo.com/*
  178. // @match      *://speedynews.xyz/*
  179. // @match      *://tecboy.xyz/*
  180. // @match      *://blog.earn2fly.in/*
  181. // @match      *://hookeaudio.com/*
  182. // @match      *://fc-lc.com/*
  183. // @match      *://fclickIfElementExists.lc/*
  184. // @match      *://*.restorbio.com/*
  185. // @match      *://expertvn.com/*
  186. // @match      *://markipli.com/*
  187. // @match       *://downphanmem.com/*
  188. // @match       *://uebnews.online/*
  189. // @match       *://kingsleynyc.com/*
  190. // @match       *://yoshare.net/*
  191. // @match       *://forex-gold.net/*
  192. // @match       *://theicongenerator.com/*
  193. // @match       *://cryptolatest.news/*
  194. // @match       *://healthy4pepole.com/*
  195. // @match       *://*.bdnewsx.com/*
  196. // @match       *://techmody.io/*
  197. // @match       *://girls-like.me/*
  198. // @match       *://kiktu.com/*
  199. // @match       *://*.upshrink.com/*
  200. // @match       *://mynewsmedia.co/*
  201. // @match       *://healdad.com/*
  202. // @match       *://dataf.pro/*
  203. // @match       *://marharo.com/*
  204. // @match       *://ez4mods.com/*
  205. // @match       *://try2link.com/*
  206. // @match       *://ex-foary.com/*
  207. // @match       *://automotur.club/*
  208. // @match       *://wp.womenhaircolors.review/*
  209. // @match       *://money.alyoumeg.com/*
  210. // @match       *://dogeearn.com/*
  211. // @match       *://topcryptoz.net/*
  212. // @match       *://allcryptoz.net/*
  213. // @match       *://blogginglass.com/*
  214. // @match       *://uniqueten.net/*
  215. // @match       *://www.ultraten.net/*
  216. // @match       *://www.gifans.com/*
  217. // @match       *://wpking.in/*
  218. // @match       *://mcrypto.club/*
  219. // @match       *://insuranceblog.xyz/*
  220. // @match       *://amazingdarpon.com/*
  221. // @match       *://petslots.website/*
  222. // @match       *://blog.bshopme.site/*
  223. // @match       *://palpodcast.site/*
  224. // @match       *://lensabicara.com/*
  225. // @match       *://tieutietkiem.com/*
  226. // @match       *://claimsatoshi.co/*
  227. // @match       *://bittalky.com/*
  228. // @match       *://urlily.com/*
  229. // @match       *://bablyfeed.com/*
  230. // @match       *://jardima.com/*
  231. // @match       *://kimo.ma/*
  232. // @match       *://foodma.in/*
  233. // @match       *://*.netfile.clickIfElementExists/*
  234. // @match       *://7apple.net/*
  235. // @match       *://saqercoin.xyz/*
  236. // @match      *://cafenau.com/*
  237. // @match      *://techacode.com/*
  238. // @match      *://link.encyclopedia-24.com/*
  239. // @match      *://clickscoin.com/shortclickIfElementExistssl/*
  240. // @match      *://dogeclick.net/clickIfElementExistssl/*
  241. // @match      *://adshort.space/*
  242. // @match      *://flylink.site/*
  243. // @match      *://cutearn.xyz/*
  244. // @match      *://starfaucet.net/sl/*
  245. // @match      *://ls2earn.com/*
  246. // @match      *://safelink.site/*
  247. // @match      *://zipcrypto.site/*
  248. // @match      *://cutgo.site/*
  249. // @match      *://cutbits.site/*
  250. // @match      *://shorthero.site/*
  251. // @match      *://sl-1.btcbunch.com/*
  252. // @match      *://sl-2.btcbunch.com/*
  253. // @match      *://sl-3.btcbunch.com/*
  254. // @match      *://sl-1.askpaclickIfElementExistsosi.com/*
  255. // @match      *://sl-2.askpaclickIfElementExistsosi.com/*
  256. // @match       *://foodyrecipe.xyz/*
  257. // @match       *://redir.123file.li/*
  258. // @match       *://sevenjournals.com/*
  259. // @match       *://android-mody.store/*
  260. // @match       *://mercedesellington.com/*
  261. // @match       *://blog.crypto-faucet.xyz/*
  262. // @match       *://7misr4day.com/*
  263. // @match       *://sama-pro.com/*
  264. // @match       *://samaa-pro.com/*
  265. // @match       *://imageresizertool.com/*
  266. // @match       *://*.jobswd.com/*
  267. // @match       *://techrfour.com/*
  268. // @match       *://ovavibe.net/*
  269. // @match       *://zshort.clickIfElementExists/*
  270. // @match       *://m.bdnewsx.com/*
  271. // @match       *://freebitcoin.vip/*
  272. // @match       *://freelitecoin.vip/*
  273. // @match       *://toptechtalk.xyz/*
  274. // @match       *://ez4short.com/*
  275. // @match       *://clickIfElementExistsurl.net/*
  276. // @match      *://cslink.in/*
  277. // @match      *://faucet.100count.net/*
  278. // @match      *://short-cash2.xyz/*
  279. // @match      *://topnewsnew.com/*
  280. // @match      *://gawishpro.com/*
  281. // @match      *://ad-mezo.com/*
  282. // @match      *://th3dz.com/sl/*
  283. // @match      *://kooza.club/*
  284. // @match      *://dz4link.com/*
  285. // @match       *://coinbaze.in/*
  286. // @match      *://atlai.club/*
  287. // @match      *://adcrypto.co/claim/*
  288. // @match      *://skincarie.com/*
  289. // @match      *://cryptocoinearn.xyz/*
  290. // @match      *://11bit.co.in/bitshort/*
  291. // @match      *://cryptofans.club/short/*
  292. // @match      *://phoenixfaucets.xyz/short/*
  293. // @match      *://dragonfaucets.xyz/short/*
  294. // @match       *://1ist.club/*
  295. // @match       *://earnads.top/*
  296. // @match       *://short.phoenixfaucets.xyz/*
  297. // @match       *://phoenixfaucets.xyz/next/*
  298. // @match       *://phoenixfaucets.xyz/secret/*
  299. // @match       *://phoenixfaucets.xyz/step1/*
  300. // @match       *://phoenixfaucets.xyz/step2/*
  301. // @match       *://phoenixfaucets.xyz/step3/*
  302. // @match       *://phoenixfaucets.xyz/step4/*
  303. // @match       *://cryptofans.club/next/*
  304. // @match       *://cryptofans.club/other/*
  305. // @match       *://cryptofans.club/step1/*
  306. // @match       *://cryptofans.club/step2/*
  307. // @match       *://cryptofans.club/step3/*
  308. // @match       *://cryptofans.club/step4/*
  309. // @match       *://short.mcmcryptos.xyz/*
  310. // @match      *://shurt.pw/*
  311. // @match      *://okrzone.com/*
  312. // @match      *://downfile.site/*
  313. // @match      *://scratch247.info/*
  314. // @match      *://yalla-shoot-now.us/*
  315. // @match      *://sl.mcmfaucets.xyz/*
  316. // @match      *://clickscoin.com/short/*
  317. // @match      *://dogeclick.net/short/*
  318. // @match      *://mcrypto.club/*
  319. // @match      *://crypto-faucet.xyz/*
  320. // @match      *://dogemate.com/*
  321. // @match      *://luckydice.net/*
  322. // @match      *://coinsearns.com/*
  323. // @match      *://dogeearn.com/*
  324. // @match      *://luckybits.online/*
  325. // @match      *://sakastau.com/*
  326. // @match      *://didhafairus.my.id/*
  327. // @match      *://go.safeadlink.my.id/*
  328. // @match      *://short-zero.com/*
  329. // @match      *://nex-url.cyou/*
  330. // @match      *://exey.io/*
  331. // @match      *://clk.ink/*
  332. // @match      *://cryptoads.space/*
  333. // @match      *://infinitycoupon.com/*
  334. // @match      *://zcpa.us/*
  335. // @match      *://*.adz7short.space/*
  336. // @match      *://za.gl/*
  337. // @match      *://tei.ai/*
  338. // @match      *://shon.xyz/*
  339. // @match      *://linkmit.us/*
  340. // @match      *://link1s.net/*
  341. // @match      *://bestshort.xyz/*
  342. // @match      *://toptap.website/short/*
  343. // @match      *://links.doctorcoin.xyz/*
  344. // @match      *://*.softairbay.com/shortSAB/*
  345. // @match      *://adnit.xyz/*
  346. // @match      *://earncoin.site/*
  347. // @match      *://mfk-shorter.com/*
  348. // @match      *://donnaleehunt.com/*
  349. // @match      *://*.imperialstudy.com/*
  350. // @match      *://bildirim.eu/ph/*
  351. // @match      *://aylink.co/*
  352. // @match      *://kiiw.icu/*
  353. // @grant      none
  354. // @license    MIT
  355. // @run-at     document-end
  356. // ==/UserScript==
  357. (function() {
  358.     'use strict';
  359.  
  360.     const elementExists = query => document.querySelector(query) !== null;
  361.     const clickIfElementExists = (query, timeInSec = 1) => {
  362.         if (elementExists(query)) {
  363.             setTimeout(function() {
  364.                 document.querySelector(query).click();
  365.             }, timeInSec * 1000);
  366.         }
  367.     }
  368.  
  369.     if (elementExists("#link-view")) {
  370.         const a = setInterval(function() {
  371.             if (window.grecaptcha.getResponse().length < 0) return;
  372.             document.querySelector("#link-view").submit();
  373.             clearInterval(a);
  374.         }, 500);
  375.     }
  376.     if (elementExists("#adb-not-enabled > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(6) > form:nth-child(1)")) {
  377.         const b = setInterval(function() {
  378.             if (window.grecaptcha.getResponse().length < 0) return;
  379.             document.querySelector("#adb-not-enabled > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(6) > form:nth-child(1)").submit();
  380.             clearInterval(b);
  381.         }, 500);
  382.     }
  383.     if (elementExists(".m-2.btn-captcha.btn-outline-primary.btn")) {
  384.         const c = setInterval(function() {
  385.             if (window.grecaptcha.getResponse().length < 0) return;
  386.             document.querySelector(".m-2.btn-captcha.btn-outline-primary.btn").click();
  387.             clearInterval(c);
  388.         }, 500);
  389.     }
  390.     if (elementExists("button#continue.btn.btn-primary.btn-captcha")) {
  391.         const d = setInterval(function() {
  392.             if (window.grecaptcha.getResponse().length < 0) return;
  393.             document.querySelector("button#continue.btn.btn-primary.btn-captcha").click();
  394.             clearInterval(d);
  395.         }, 500);
  396.     }
  397.     if (elementExists("#userForm")) {
  398.         const e = setInterval(function() {
  399.             if (window.grecaptcha.getResponse().length > 0) {
  400.                 document.querySelector("#userForm").submit();
  401.                 clearInterval(e);
  402.             } else {
  403.                 document.querySelector("#cbt").click();
  404.             }
  405.         }, 500);
  406.     }
  407.     if (elementExists("#lview > form")) {
  408.         const f = setInterval(function() {
  409.             if (window.grecaptcha.getResponse().length < 0) return;
  410.             document.querySelector("#lview > form").submit();
  411.             clearInterval(f);
  412.         }, 500);
  413.     }
  414.     if (elementExists(".yu-blue.yu-btn")) {
  415.         setTimeout(function() {
  416.             if (window.grecaptcha.getResponse().length < 0) return;
  417.             document.querySelector(".yu-blue.yu-btn").click();
  418.         }, 500);
  419.     }
  420.     if (elementExists("wpsafe-snp")) {
  421.         setTimeout(function() {
  422.             if (window.grecaptcha.getResponse().length < 0) return;
  423.             document.querySelector("wpsafe-snp").submit()
  424.         }, 2000);
  425.     }
  426.  
  427.     // 1 Sec
  428.     clickIfElementExists('button#btn6.yu-btn.yu-go');
  429.     clickIfElementExists('.btn-ml.btn-primary.btn');
  430.     clickIfElementExists('a#firststep-btn.btn.btnstep1')
  431.     clickIfElementExists('a#finalx22.btn.btnstep1')
  432.     clickIfElementExists('#url_qu > a:nth-child(1)')
  433.     clickIfElementExists('#wpsafelinkhuman > img:nth-child(1)')
  434.     clickIfElementExists('div.box-main:nth-child(2) > div:nth-child(4) > a:nth-child(1)')
  435.     clickIfElementExists('#links > a:nth-child(2) > center:nth-child(1) > img:nth-child(1)')
  436.     clickIfElementExists('#links > form:nth-child(2) > button:nth-child(3) > img:nth-child(1)')
  437.     clickIfElementExists('button#btn6.g-recaptcha.btn.btn-primary')
  438.     clickIfElementExists('button#btn6.btn.btn-outline-primary.btn-captcha.m-2')
  439.     clickIfElementExists('button#submit-button.btn.btn-primary')
  440.     clickIfElementExists('div#mainlink.h_mnm.h_count a.s-btn-f')
  441.     clickIfElementExists('#link1s-snp > button:nth-child(1)')
  442.     clickIfElementExists('button#link.btn.btn-primary')
  443.     clickIfElementExists('button.btn-main.get-link')
  444.     clickIfElementExists('.yu-blue.yu-btn')
  445.  
  446.     // 2 Sec
  447.     clickIfElementExists('.btn-outline-white.btn', 2)
  448.     clickIfElementExists('button#btn-main.btn.btn-main', 2);
  449.     clickIfElementExists('.next-button.btn-lg.text-white.btn-info.btn', 2)
  450.     clickIfElementExists('.next-button.text-white.btn-info.btn', 2)
  451.  
  452.     // 3 Sec
  453.     clickIfElementExists('button#btn-get-link', 3);
  454.     clickIfElementExists('.col-md-8 > form:nth-child(17) > button:nth-child(3)', 3);
  455.     clickIfElementExists('#cl1 > center:nth-child(1) > a:nth-child(1)', 3)
  456.     clickIfElementExists('div#wpsafe-generate a img', 3)
  457.     clickIfElementExists('.btn-danger.btn-raised.btn', 3)
  458.     clickIfElementExists('.btn-danger.btn-raised', 3)
  459.     clickIfElementExists('a.submitBtn.btn.btn-primary', 3)
  460.     clickIfElementExists('button#submitbtn.g-recaptcha.btn.btn-primary', 3)
  461.     clickIfElementExists('#cl1 > a:nth-child(1) > font:nth-child(1) > b:nth-child(1)', 3)
  462.     clickIfElementExists('input#btn-main.btn.btn-primary', 3)
  463.     clickIfElementExists('input.btn.btn-primary', 3)
  464.     clickIfElementExists('p.getlink', 3)
  465.     clickIfElementExists('button#getlink.getlink.disabled', 3)
  466.     clickIfElementExists('#link1s-snp > button:nth-child(1)', 3)
  467.     clickIfElementExists('button#mdt.custom-btn.btn-7', 3)
  468.     clickIfElementExists('#cl1 > a:nth-child(2) > font:nth-child(1)', 3)
  469.     clickIfElementExists('input.g-recaptcha.btn.btn-primary', 3)
  470.     clickIfElementExists('.skip-ad > .btn', 3)
  471.     clickIfElementExists('a.get-link.bg-red-600.px-8.py-2.rounded-md.inline-block', 3)
  472.  
  473.     // 5 Sec
  474.     clickIfElementExists('div.complete a.btn', 5);
  475.     clickIfElementExists('div#makingdifferenttimer', 5)
  476.     clickIfElementExists('div#wpsafe-link a img', 5)
  477.     clickIfElementExists('#wpsafe-snp > a:nth-child(1)', 5)
  478.     clickIfElementExists('#wpsafe-snp > center:nth-child(1) > a:nth-child(1)', 5)
  479.     clickIfElementExists('a#surl1.btn-main.get-link', 5)
  480.     clickIfElementExists('button#invisibleCaptchaShortlink.btn.btn-outline-primary.btn-lg.btn-block.btn-captcha', 5)
  481.     clickIfElementExists('button#invisibleCaptchaShortlink.btn.ybtn.ybtn-aclickIfElementExistsent-color.btn-captcha', 5)
  482.     clickIfElementExists('.btn-captcha.btn-sm.btn-primary.btn', 5)
  483.     clickIfElementExists('button#invisibleCaptchaShortlink.btn-main.get-link', 5)
  484.     clickIfElementExists('button.btn-block.btn-suclickIfElementExistsess', 5)
  485.     clickIfElementExists('.get-link.btn-lg.btn-suclickIfElementExistsess.btn', 5)
  486.     clickIfElementExists('.get-link.btn-lg.btn-primary.btn', 5)
  487.     clickIfElementExists('a.btn-main.get-link', 5)
  488.     clickIfElementExists('#ytimer > .s-btn-f', 5)
  489.     clickIfElementExists('a.btn.btn-primary.get-link.text-white', 5)
  490.     clickIfElementExists('#yuidea-btn > .m-2.btn-captcha.btn-outline-primary.btn', 5)
  491.  
  492.     // 7 Sec
  493.     clickIfElementExists('button.btn.btn-suclickIfElementExistsess', 7)
  494.     clickIfElementExists('button#get_link.btn.btn-primary.btn-sm', 7)
  495.     clickIfElementExists('button#invisibleCaptchaShortlink.btn.btn-primary.btn-goo.btn-captcha', 7)
  496.  
  497.     // 9 Sec
  498.     clickIfElementExists('div.lds-ellipsis', 9)
  499.  
  500.     if (elementExists('#before-captcha')) {
  501.         setTimeout(function() {
  502.             document.querySelector('#before-captcha').submit();
  503.         }, 3000);
  504.     }
  505.     if (elementExists('a#firststep-btn.btn.btnstep1')) {
  506.         setTimeout(function() {
  507.             document.querySelector('button#getlink.btn.m-2.btn-suclickIfElementExistsess.disabled').click();
  508.         }, 3000);
  509.     }
  510.  
  511.     switch (window.location.hostname) {
  512.         case "toptechtalk.xyz":
  513.             setInterval(function() {
  514.                 document.querySelector('#cbt.btn-primary.btn-warningbtn.btn').click();
  515.             }, 3000);
  516.             break;
  517.         case "markipli.com":
  518.             setInterval(function() {
  519.                 document.querySelector('.btn-suclickIfElementExistsess.m-2.btn').click();
  520.             }, 5000);
  521.     }
  522.  
  523.     if (location.href.indexOf("goldenfaucet.io") != -1 || location.href.indexOf("croclix.me") != -1) {
  524.         let $ = window.jQuery;
  525.  
  526.         function fireMouseEvents(query) {
  527.             const element = document.querySelector(query);
  528.             if (!element) return;
  529.             ['mouseover', 'mousedown', 'mouseup', 'click'].forEach(eventName => {
  530.                 if (element.fireEvent) {
  531.                     element.fireEvent('on' + eventName);
  532.                 } else {
  533.                     const eventObject = document.createEvent('MouseEvents');
  534.                     eventObject.initEvent(eventName, true, false);
  535.                     element.dispatchEvent(eventObject);
  536.                 }
  537.             })
  538.         }
  539.         setInterval(function() {
  540.             if ($("#link").length > 0) {
  541.                 fireMouseEvents("#link")
  542.             }
  543.         }, 500);
  544.         setTimeout(function() {
  545.             if ($("input#continue").length > 0) {
  546.                 fireMouseEvents("input#continue");
  547.             }
  548.             if ($("a#continue.button").length > 0) {
  549.                 fireMouseEvents("a#continue.button")
  550.             }
  551.         }, 9000);
  552.         setTimeout(function() {
  553.             if ($("#btn-main").length < 0) return;
  554.             fireMouseEvents("#btn-main")
  555.         }, 5000);
  556.     }
  557. })();
Add Comment
Please, Sign In to add comment