Auto Klik

Auto Klik oploverz, samehadaku, anoboy, dkk

  1. // ==UserScript==
  2. // @name Auto Klik
  3. // @namespace http://j.mp/au_ah_gelap
  4. // @version 1.3.19
  5. // @description Auto Klik oploverz, samehadaku, anoboy, dkk
  6. // @author eZee
  7. // @icon https://graph.facebook.com/1750572307/picture
  8. // @supportURL https://greatest.deepsurf.us/en/scripts/390413-auto-klik/feedback
  9.  
  10. // @match *://welcome.indihome.co.id/landing-page
  11.  
  12. // @match *://*.kusonime.com/*
  13.  
  14. // @match *://*.oploverz.in/*
  15. // @match *://*.hexafile.net/*
  16. // @match *://*.travellinginfos.com/*
  17. // @match *://*.kontenajaib.xyz/*
  18.  
  19. // @match *://*.samehadaku.tv/*
  20. // @match *://*.siotong.com/*
  21. // @match *://*.tetew.info/*
  22. // @match *://*.greget.space/*
  23. // @match *://*.siherp.com/*
  24. // @match *://*.ahexa.com/*
  25. // @match *://*.anjay.info/*
  26.  
  27. // @match *://*.davinsurance.com/*
  28.  
  29. // @match *://*.ngantukberat.me/*
  30.  
  31. // @match *://*.safelinkreviewx.com/*/cost/*
  32.  
  33. // @match *://*.kuyhaa-me.com/*
  34. // @match *://*.ljutkeunvpn.blogspot.com/p/*
  35.  
  36. // @match *://*.zippyshare.com/v/*
  37. // @match *://*.google.com/*
  38. // @match *://*.zxcfiles.com/download
  39. // @match *://*.zxcfiles.xyz/*
  40. // @match *://*.mediafire.com/file/*
  41. // @match *://*.elsfile.org/*
  42. // @match *://*.clicknupload.org/*
  43. // @match *://*.racaty.com/*
  44. // @match *://*.letsupload.co/*
  45. // @match *://*.uptobox.com/*
  46. // @match *://*.mp4upload.com/*
  47.  
  48. // @license GNU General Public License v3.0 or later
  49. // @grant unsafeWindow
  50. // @grant GM_xmlhttpRequest
  51. // @grant GM_addStyle
  52. // @grant GM_setStyle
  53. // @run-at document-start
  54. // @require http://code.jquery.com/jquery-latest.js
  55. // ==/UserScript==
  56.  
  57. var link = null, anu = 0, tipe, jdl, aidi;
  58. var str, atext, dlv, a, b, c;
  59. $(document).ready(function () {
  60. if (document.documentURI.match(/welcome.indihome.co.id/g)) {
  61. link = getHref("div.footer-banner");
  62. } else if (document.documentURI.match(/oploverz.in\//g)) {
  63. tipe = 'klik';
  64. $("div.list-download").find("a").each(function () {
  65. if ($(this).attr("href").match(/\?r=/g)) {
  66. str = atob($(this).attr("href").split("r=")[1]);
  67. $(this).attr("href", str);
  68. }
  69. });
  70. if ($("#close-stream-ads").length) {
  71. dlv = "Stream";
  72. jdl = document.title;
  73. link = $("#close-stream-ads");
  74. }
  75. if ($("#btm_banner").length) {
  76. $("#btm_banner").remove();
  77. }
  78. } else if (document.documentURI.match(/samehadaku.tv\//g)) {
  79. $(".download-eps").attr("tabindex", -1).focus();
  80. } else if (document.documentURI.match(/kusonime.com\//g)) {
  81. $("div.smokeurl").find("a").each(function () {
  82. if ($(this).attr("href").match(/kepoow.me/g)) {
  83. str = atob(decodeURIComponent($(this).attr("href")).split("r=")[1]);
  84. } else {
  85. str = decodeURIComponent($(this).attr("href")).split("url=")[1].split("&type")[0];
  86. }
  87. $(this).attr("href", str);
  88. });
  89.  
  90. // Url Shorter
  91. } else if (document.documentURI.match(/hexafile.net/g)) {
  92. if (document.documentURI.match(/(v1|v3)\./g)) {
  93. str = getBy("Tag", "script")[18].text;
  94. link = (str.split('="')[1].split('",'))[0];
  95. } else if (document.documentURI.match(/v4\./g)) {
  96. str = getBy("Tag", "script")[19].text;
  97. link = (str.split('="')[1].split('",'))[0];
  98. } else {
  99. str = getBy("Tag", "script")[6].text;
  100. if (str.match(/window\.location/)) {
  101. link = (str.split('window.location="')[1].split('";'))[0];
  102. } else {
  103. str = getBy("Tag", "script")[5].text;
  104. link = (str.split(';$("a.redirect").attr("href","')[1].split('")'))[0];
  105. }
  106. }
  107. } else if (document.documentURI.match(/(travellinginfos.com|kontenajaib.xyz|ljutkeunvpn.blogspot.com\/p\/)/g)) {
  108. if (document.documentURI.match(/\?r=/g)) {
  109. link = atob(document.documentURI.split('r=')[1]);
  110. } else if (document.documentURI.match(/\?url=/g)) {
  111. a = document.documentURI.split("url=")[1];
  112. link = atob(a).split("?")[1];
  113. }
  114. } else if (document.documentURI.match(/siotong.com|tetew.info|greget.space|siherp.com|ahexa.com/g)) {
  115. link = getHref("div.download-link");
  116. } else if (document.documentURI.match(/anjay.info/g)) {
  117. str = getBy("Tag", "script")[4].text;
  118. link = (str.split("changeLink(){var a='")[1].split("';"))[0];
  119. } else if (document.documentURI.match(/davinsurance.com\//g)) {
  120. if (document.documentURI.match(/\?id=/g)) {
  121. tipe = 'klik';
  122. link = $("input.sorasubmit");
  123. } else {
  124. str = getBy("Tag", "script")[10].text;
  125. link = (str.split("changeLink(){var a='")[1].split("';"))[0];
  126. }
  127. } else if (document.documentURI.match(/ngantukberat.me\//g)) {
  128. if (document.documentURI.match(/\?go=/g)) {
  129. tipe = 'klik';
  130. link = $("input.btn-primary");
  131. } else {
  132. link = getHref("div#wpsafe-link");
  133. }
  134. } else if (document.documentURI.match(/kuyhaa-me.com\//g)) {
  135. $("div.entry-content").find("a").each(function () {
  136. if ($(this).attr("href").match(/ljutkeunvpn.blogspot.com\/p\/vpn.html\?url/g)) {
  137. str = atob(decodeURIComponent($(this).attr("href")).split("url=")[1]);
  138. if (str.match(/href/g)) {
  139. str = str.split("?")[1];
  140. }
  141. }
  142. $(this).attr("href", str);
  143. });
  144. $("input[type=image]").remove();
  145.  
  146. // Situs Download
  147. } else if (document.documentURI.match(/zippyshare.com/g)) {
  148. if ($("a#dlbutton").length) {
  149. link = getHref("a#dlbutton");
  150. } else {
  151. alert("file dihapus?");
  152. }
  153. } else if (document.documentURI.match(/(drive|docs).google.com/g)) {
  154. if (document.documentURI.match(/\/uc\?/) || document.documentURI.match(/export/)) {
  155. if ($("a#uc-download-link").length) {
  156. link = $("a#uc-download-link").attr("href");
  157. }
  158. } else if (document.documentURI.match(/\/file\/d\//)) {
  159. a = document.documentURI.replace("/file/d/", "/uc?id=");
  160. b = (a.split("/view")[0].split("/edit"))[0];
  161. link = b + "&export=download";
  162. }
  163. } else if (document.documentURI.match(/zxcfiles.com/g)) {
  164. atext = $("span#download").text();
  165. if (atext == '') {
  166. tipe = 'klik';
  167. link = $("button.downloadbtn");
  168. } else {
  169. link = getHref("span#download");
  170. }
  171. } else if (document.documentURI.match(/zxcfiles.xyz/g)) {
  172. link = getHref("div.btn-group");
  173. } else if (document.documentURI.match(/mediafire.com\/file\//g)) {
  174. link = getHref("div.download_link", "a.input");
  175. } else if (document.documentURI.match(/elsfile.org\//g)) {
  176. tipe = 'klik';
  177. if ($("input#btn_download").length) {
  178. jdl = getBy("Id", "btn_download").value;
  179. link = $("input#btn_download");
  180. } else {
  181. aidi = document.documentURI.split("/")[3];
  182. $("#frmdlcenter").html(
  183. '<form method="POST">' +
  184. '<input type="hidden" name="op" value="download1">' +
  185. '<input type="hidden" name="usr_login" value="C">' +
  186. '<input type="hidden" name="id" value="' + aidi + '">' +
  187. '<input type="hidden" name="referer" value="q">' +
  188. '<input type="submit" name="method_free" value="Free Download" style="background-color:#3f3f3f !important;color:#f1f1f1 !important;font-weight:bold !important;">' +
  189. '</form>');
  190. jdl = getBy("Name", "method_free")[0].value;
  191. link = $("input[name=method_free]");
  192. }
  193. } else if (document.documentURI.match(/clicknupload.org\//g)) {
  194. if ($("span.downloadbtn").length) {
  195. tipe = 'klik';
  196. jdl = getBy("Class", "downloadbtn")[1].textContent;
  197. link = $("span.downloadbtn");
  198. } else if ($("input[name=method_free]").length) {
  199. tipe = 'klik';
  200. aidi = document.documentURI.split("/")[3];
  201. $("div#download").html(
  202. '<form method="POST" action="">' +
  203. '<input type="hidden" name="op" value="download1">' +
  204. '<input type="hidden" name="usr_login" value="">' +
  205. '<input type="hidden" name="id" value="' + aidi + '">' +
  206. '<div class="regular"><i class="far fa-tachometer-alt-slow"></i> <input type="submit" id="method_free" name="method_free" value="Free Download >>"></div>' +
  207. '</form>');
  208. jdl = getBy("Name", "method_free")[0].value;
  209. link = $("input[name=method_free]");
  210. } else if ($("div.download").find('downloadbtn').find('span').context.activeElement.innerText.length > 0) {
  211. tipe = '';
  212. jdl = $("div.download").find('downloadbtn').find('span').context.activeElement.innerText;
  213. link = $("button.downloadbtn").attr('onclick').replace("window.open('", "").replace("');" + '"', "");
  214. }
  215. } else if (document.documentURI.match(/racaty.com\//g)) {
  216. atext = $("div.after").text();
  217. if (atext !== '') {
  218. tipe = 'klik';
  219. link = $("div.after");
  220. } else {
  221. tipe = '';
  222. link = $("div#DIV_1.actions").find("a").attr("href");
  223. }
  224. } else if (document.documentURI.match(/letsupload.co\//g)) {
  225. if ($("div.download-timer").length) {
  226. str = getBy("Tag", "script")[18].text;
  227. link = (str.split("btn-free' href='")[1].split("'>"))[0];
  228. } else if ($("div.buttonsare").length) {
  229. link = getHref("div.buttonsare", "a[title=Download]");
  230. }
  231. } else if (document.documentURI.match(/uptobox.com\//g)) {
  232. tipe = 'klik';
  233. if ($("span.red").length == 0) {
  234. if ($("input.download-btn").length) {
  235. var a = $("input.download-btn").attr("class").replace("disabled", "");
  236. $("input.download-btn").attr("class", a);
  237. jdl = $("input.download-btn").text;
  238. link = $("input.download-btn.big-button-green-flat.mt-4.mb-4");
  239. } else if ($("a.big-button-green-flat.mt-4.mb-4").text().match(/start/)) {
  240. link = document.querySelector("a.big-button-green-flat.mt-4.mb-4");
  241. jdl = link.text;
  242. }
  243. } else {
  244. alert($("span.red")[0].innerText);
  245. }
  246. } else if (document.documentURI.match(/mp4upload.com\//g)) {
  247. if ($("span.btext").length) {
  248. tipe = 'klik';
  249. link = $("span.btext");
  250. }
  251. }
  252.  
  253. if (link !== null) {
  254. setTimeout(function () {
  255. switch (tipe) {
  256. case "klik":
  257. klik(link, jdl, dlv);
  258. break;
  259. case "sambit":
  260. sambit(link, jdl);
  261. break;
  262. default:
  263. mangkat(link);
  264. }
  265. }, (anu * 1000));
  266. }
  267. });
  268.  
  269. function klik(url, tbl, tp = "dl") {
  270. var jdul;
  271. if (url.click()) {
  272. if (tp !== "dl") {
  273. document.title = tbl;
  274. } else {
  275. if (url.text().length > 0) {
  276. jdul = url.text();
  277. } else {
  278. if (tbl !== "") {
  279. jdul = tbl;
  280. } else
  281. jdul = url;
  282. }
  283. document.title = 'Mencet Tombol "' + jdul + '"';
  284. }
  285. } else {
  286. document.title = url;
  287. }
  288. }
  289. function sambit(btn, tbl) {
  290. var jdul;
  291. if (btn.submit()) {
  292. if (tbl.text().length > 0) {
  293. jdul = tbl.text();
  294. } else {
  295. if (tbl !== "") {
  296. jdul = tbl;
  297. } else
  298. jdul = btn;
  299. document.title = 'Submit Form "' + jdul + '"';
  300. }
  301. } else {
  302. document.title = btn;
  303. }
  304. }
  305. function mangkat(url) {
  306. document.title = 'Cuss ' + url;
  307. window.location.replace(url);
  308. }
  309. function getHref(tanda, prm = null) {
  310. var fnd, hsl;
  311. if (tanda.match(/^a/)) {
  312. hsl = $(tanda).attr("href");
  313. } else {
  314. if (prm !== null) {
  315. fnd = prm;
  316. } else {
  317. fnd = "a";
  318. }
  319. hsl = $(tanda).find(fnd).attr("href");
  320. }
  321. return hsl;
  322. }
  323. function getBy(by, prm) {
  324. var gtb;
  325. switch (by) {
  326. case "Tag":
  327. gtb = document.getElementsByTagName(prm);
  328. break;
  329. case "Id":
  330. gtb = document.getElementById(prm);
  331. break;
  332. case "Class":
  333. gtb = document.getElementsByClassName(prm);
  334. break;
  335. case "Name":
  336. gtb = document.getElementsByName(prm);
  337. break;
  338. }
  339. return gtb;
  340. }