Bypass Pahe Links

Simplify link jumping on pahe ad websites.

  1. // ==UserScript==
  2. // @name Bypass Pahe Links
  3. // @namespace https://naeembolchhi.github.io/
  4. // @version 0.95
  5. // @description Simplify link jumping on pahe ad websites.
  6. // @author NaeemBolchhi
  7. // @match http*://teknoasian.com/*
  8. // @match http*://intercelestial.com/*
  9. // @match http*://linegee.net/*
  10. // @match http*://spacetica.com/*
  11. // @match http*://pahe.plus/*
  12. // @match http*://oii.la/*
  13. // @match http*://uii.io/*
  14. // @match http*://wp2hostt.com/*
  15. // @match http*://wordcounter.icu/*
  16. // @match http*://tpi.li/*
  17. // @match http*://blogmystt.com/*
  18. // @match http*://old.pahe.plus/*
  19. // @match http*://hosttbuzz.com/*
  20. // @match http*://policiesreview.com/*
  21. // @match http*://healthylifez.com/*
  22. // @match http*://insurancemyst.com/*
  23. // @match http*://*.gdflix.dad/file/*
  24. // @match http*://pixeldrain.com/*
  25. // @match http*://hostingbixby.com/*
  26. // @match http*://policiesbuzzz.com/*
  27. // @match http*://hostingzbuzz.com/*
  28. // @match http*://bixbyfortech.com/*
  29. // @match http*://serverguidez.com/*
  30. // @match http*://comparepolicyy.com/*
  31. // @match http*://cheaplann.com/*
  32. // @license GPL-3.0-or-later
  33. // @icon data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" version="1.1" viewBox="0 0 300 300"><path d="M23.8 205.5c.4-2.3 1.1-4 1.1-5.8.1-13.6 0-27.1 0-40.7 0-5.1-3.3-9-7.8-11-5.6-2.3-11-5.2-16.2-8.2-.8-.4-.7-2.5-1-3.8 2.3-.3 4.4-1 6-.5 2.1.5 3.8 2.1 5.8 3 2.5 1.2 5.1 2.3 8.1 2.9 0-13-5.6-23.7-9.5-35.4 2.6-4.1 7.4-2.9 11.9-3 4 0 7.9-.3 11.9.1 2.7.3 5.5 1.2 8.4 1.9.5.1 1.1.7 1.5.5 7.3-.4 12.7 4.1 18.9 6.7 5.1 2.2 10.4 3.7 15.5 5.8 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6.2-.4 9.3-.5.1.4.3 1 .4 1.4-2.6 1.1-5.1 2.6-7.7 3-7.8 1.2-16.3.4-23.3 3.2-7.1 2.9-14 1.5-20.8 2.2-1 .1-2.2-.4-3.2-.7-6.8-2.1-13.7-4.9-14.8-12.7-.5-3.7 1.4-8.2 3-11.9 2.5-5.8 7.7-7.4 13.3-9.6 7.9-3.2 15.8-1.9 23.7-1.8 3.7 0 7.5 2.5 11 4.4.7.3.7 2.6 1.3 4.1zm-18.1-2.4v-1.1c-1.5-.4-3-1.2-4.4-1-3.3.7-6.6 1.8-9.9 2.7-.3.1-.7 1-.5 1.4.1.4.8 1 1.1 1 2.6-.1 4.9 3.2 7.8.1 1.4-1.5 3.8-2 5.9-3.1z" fill="%230848c9"/></svg>
  34. // @require https://greasyfork.org/scripts/456228/code/456228.js?version=1309113
  35. // @require https://greasyfork.org/scripts/532142/code/532142.js?version=1567646
  36. // @run-at document-body
  37. // @grant none
  38. // ==/UserScript==
  39.  
  40. (function() {
  41. 'use strict';
  42.  
  43. let site = window.location.hostname;
  44.  
  45. // Speed-up timers (https://stackoverflow.com/a/76950050)
  46. // Save the original versions of setTimeout and setInterval
  47. function speedUp() {
  48. const originalSetTimeout = window.setTimeout;
  49. const originalSetInterval = window.setInterval;
  50.  
  51. // Replace window.setTimeout with custom version
  52. window.setTimeout = function (callback, delay, ...args) {
  53. const adjustedDelay = (delay || 0) / 100;
  54. return originalSetTimeout(callback, adjustedDelay, ...args);
  55. };
  56.  
  57. // Replace window.setInterval with custom version
  58. window.setInterval = function (callback, delay, ...args) {
  59. const adjustedDelay = (delay || 0) / 100;
  60. return originalSetInterval(callback, adjustedDelay, ...args);
  61. };
  62. }
  63.  
  64. if (!site.includes('oii.la')) {
  65. speedUp();
  66. }
  67.  
  68.  
  69. function addStyle(css) {
  70. var head, style;
  71. head = document.querySelector('head');
  72. if (!head) {
  73. window.location.reload();
  74. }
  75. style = document.createElement('style');
  76. style.innerHTML = css;
  77. head.appendChild(style);
  78. }
  79.  
  80. if (site === "spacetica.com" || site === "old.pahe.plus") {
  81. addStyle(`
  82. .btn.btn-primary.btn-xs, a:has(button) {
  83. position: fixed;
  84. top: 0;
  85. left: 0;
  86. height: 100%;
  87. width: 100%;
  88. z-index: 2147483647 !important;
  89. opacity: 1 !important;
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. font-size: 4rem;
  94. border-radius: 0;
  95. }
  96. a > button {
  97. height: 100%;
  98. width: 100%;
  99. border-radius: 0;
  100. font-size: 10vw;
  101. }
  102. #backdrop {
  103. position: fixed;
  104. top: 0;
  105. left: 0;
  106. height: 100%;
  107. width: 100%;
  108. z-index: 2147483645 !important;
  109. background: black;
  110. opacity: 1;
  111. }
  112. * {
  113. overflow: hidden;
  114. }
  115. `);
  116. } else if (site === "blogmystt.com" || site === "wp2hostt.com" || site === "intercelestial.com" || site === "hosttbuzz.com" || site === "policiesreview.com" || site === "bixbyfortech.com" ||
  117. site === "healthylifez.com" || site === "insurancemyst.com" || site === "hostingbixby.com" || site === "policiesbuzzz.com" || site === "hostingzbuzz.com" || site === "serverguidez.com" ||
  118. site === "comparepolicyy.com" || site === "cheaplann.com") {
  119. addStyle(`
  120. .qc-cmp2-persistent-link {
  121. z-index: 0;
  122. }
  123. #qc-cmp2-container {
  124. display: none;
  125. }
  126. div.wait > center > img,
  127. #lite-human-verif-button {
  128. position: fixed;
  129. left: 0;
  130. top: 0;
  131. height: 100%;
  132. width: 100%;
  133. z-index: 2147483645 !important;
  134. background: green;
  135. opacity: 1 !important;
  136. }
  137. #startButton > *,
  138. #getnewlink > * {
  139. display: none;
  140. }
  141. #generater > img {
  142. display: none;
  143. }
  144. #generater,
  145. #lite-start-sora-a,
  146. #startButton,
  147. .humanVerify .verify {
  148. position: fixed !important;
  149. height: 100%;
  150. width: 50%;
  151. z-index: 2147483645 !important;
  152. background: red !important;
  153. opacity: 1 !important;
  154. cursor: pointer;
  155. border: 0;
  156. outline: 0;
  157. border-radius: 0;
  158. box-shadow: unset;
  159. }
  160. .skipcontent {
  161. position: fixed !important;
  162. height: 100%;
  163. width: 100%;
  164. top: 0;
  165. left: 0;
  166. z-index: 2147483646 !important;
  167. margin: auto;
  168. background: purple !important;
  169. opacity: 1 !important;
  170. cursor: pointer;
  171. border: 0;
  172. outline: 0;
  173. border-radius: 0;
  174. box-shadow: unset;
  175. }
  176. #showlink,
  177. #lite-end-sora-button,
  178. #getnewlink,
  179. .postnext {
  180. position: fixed !important;
  181. height: 100%;
  182. width: 50%;
  183. z-index: 2147483645 !important;
  184. background: blue !important;
  185. opacity: 1 !important;
  186. cursor: pointer;
  187. border: 0;
  188. outline: 0;
  189. border-radius: 0;
  190. box-shadow: unset;
  191. }
  192. #getnewlink, #startButton {
  193. display: flex !important;
  194. height: 100% !important;
  195. width: 50% !important;
  196. border: 0;
  197. outline: 0;
  198. margin: 0 !important;
  199. border-radius: 0;
  200. color: transparent;
  201. }
  202. @media only screen and (orientation: landscape) {
  203. #generater,
  204. #lite-start-sora-a,
  205. #startButton,
  206. .humanVerify .verify {
  207. left: 0;
  208. }
  209. #showlink,
  210. #lite-end-sora-button,
  211. #getnewlink,
  212. .postnext {
  213. right: 0;
  214. }
  215. #generater, #showlink,
  216. #lite-start-sora-a,
  217. #lite-end-sora-button,
  218. #startButton, #getnewlink,
  219. .humanVerify .verify,
  220. .postnext {
  221. top: 0;
  222. height: 100%;
  223. width: 50%;
  224. }
  225. }
  226. @media only screen and (orientation: portrait) {
  227. #generater,
  228. #lite-start-sora-a,
  229. #startButton {
  230. top: 0;
  231. }
  232. #showlink,
  233. #lite-end-sora-button,
  234. #getnewlink {
  235. bottom: 0;
  236. }
  237. #generater, #showlink,
  238. #lite-start-sora-a,
  239. #lite-end-sora-button,
  240. #startButton, #getnewlink,
  241. .humanVerify .verify,
  242. .postnext {
  243. left: 0;
  244. height: 50%;
  245. width: 100%;
  246. }
  247. }
  248. #backdrop {
  249. position: fixed;
  250. top: 0;
  251. left: 0;
  252. height: 100%;
  253. width: 100%;
  254. z-index: 2147483644 !important;
  255. background: black;
  256. opacity: 1;
  257. }
  258. #soralink-human-verif-main-cxxd {
  259. display: none;
  260. }
  261. * {
  262. overflow: hidden;
  263. }
  264. `);
  265. } else if (site === "linegee.net") {
  266. addStyle(`
  267. .btn {
  268. position: fixed !important;
  269. top: 0;
  270. left: 0;
  271. height: 100%;
  272. width: 100%;
  273. z-index: 2147483645 !important;
  274. background: olive !important;
  275. opacity: 1 !important;
  276. cursor: pointer;
  277. border: 0;
  278. outline: 0;
  279. border-radius: 0;
  280. box-shadow: unset;
  281. color: transparent !important;
  282. }
  283. #backdrop {
  284. position: fixed;
  285. top: 0;
  286. left: 0;
  287. height: 100%;
  288. width: 100%;
  289. z-index: 2147483644 !important;
  290. background: black;
  291. opacity: 1;
  292. }
  293. `);
  294. } else if (site === "oii.la" || site === "tpi.li") {
  295. addStyle(`
  296. * {
  297. overflow: hidden !important;
  298. }
  299. html, body {
  300. height: 100%;
  301. width: 100%;
  302. display: flex;
  303. align-items: center;
  304. justify-content: center;
  305. background: darkseagreen;
  306. }
  307. html > *:not(body) {
  308. display: none;
  309. }
  310. body > *:not(form) {
  311. position: fixed;
  312. top: -200svh;
  313. left: -200svw;
  314. }
  315. body > a.get-link {
  316. position: fixed;
  317. height: 100% !important;
  318. width: 100% !important;
  319. z-index: 2147483645 !important;
  320. background: forestgreen;
  321. opacity: 1 !important;
  322. left: 0;
  323. top: 0;
  324. border-radius: 0 !important;
  325. display: flex;
  326. align-items: center;
  327. justify-content: center;
  328. border: 0 !important;
  329. font-size: calc((5svh + 5svw) / 2);
  330. }
  331. body > a.get-link:hover, body > a.get-link:focus {
  332. background: forestgreen;
  333. }
  334. `);
  335. } else if (site === "teknoasian.com") {
  336. addStyle(`
  337. html > body, html > body *, html > body *::before, html > body *::after {
  338. background: black !important;
  339. color: black !important;
  340. border: 0 !important;
  341. box-shadow: none !important;
  342. text-shadow: none !important;
  343. cursor: default;
  344. }
  345. input, .avatar, textarea, img {
  346. opacity: 0 !important;
  347. }
  348. #backdrop {
  349. position: fixed;
  350. top: 0;
  351. left: 0;
  352. height: 100%;
  353. width: 100%;
  354. z-index: 2147483644 !important;
  355. background: black;
  356. opacity: 1;
  357. }
  358. .humanVerify .verify {
  359. background: yellow !important;
  360. }
  361. .Skipper .skipcontent {
  362. background: orange !important;
  363. }
  364. form .postnext {
  365. background: red !important;
  366. }
  367. .humanVerify .verify, .Skipper .skipcontent, form .postnext {
  368. height: 5rem;
  369. width: 100svw;
  370. position: absolute;
  371. left: 0;
  372. z-index: 2147483645 !important;
  373. }
  374. `);
  375. } else if (site === "wordcounter.icu") {
  376. addStyle(`
  377. * {
  378. overflow: hidden !important;
  379. }
  380. html, body {
  381. height: 100%;
  382. width: 100%;
  383. display: flex;
  384. align-items: center;
  385. justify-content: center;
  386. background: black;
  387. }
  388. html > *:not(body) {
  389. display: none;
  390. }
  391. button#getlink, #invisibleCaptchaShortlink, a.get-link[href]:not(.disabled) {
  392. position: fixed;
  393. height: 100% !important;
  394. width: 100% !important;
  395. /*width: 50%;*/
  396. z-index: 2147483645 !important;
  397. background: darkslateblue;
  398. opacity: 1 !important;
  399. left: 0;
  400. top: 0;
  401. border-radius: 0 !important;
  402. display: flex;
  403. align-items: center;
  404. justify-content: center;
  405. border: 0 !important;
  406. font-size: calc((5svh + 5svw) / 2);
  407. }
  408. a.get-link[href]:not(.disabled) {
  409. background: forestgreen;
  410. }
  411. #backdrop {
  412. position: fixed;
  413. top: 0;
  414. left: 0;
  415. height: 100%;
  416. width: 100%;
  417. z-index: 2147483644 !important;
  418. background: black;
  419. opacity: 1;
  420. }
  421. body > div:has(iframe[title*='recaptcha']) {
  422. z-index: 2147483647;
  423. }
  424. `);
  425. }
  426.  
  427. const makeZERO = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'></svg>";
  428.  
  429. try {
  430. let element;
  431.  
  432. element = document.createElement("div");
  433. element.id = "backdrop";
  434. document.body.appendChild(element);
  435. } catch {}
  436.  
  437. function eraseImages() {
  438. let allImg = document.querySelectorAll('[src*=".png"],[src*=".jpg"],[src*=".gif"],[src*=".webp"]');
  439.  
  440. for (let x = 0; x < allImg.length; x++) {
  441. allImg[x].src = makeZERO;
  442. }
  443. }
  444.  
  445. function delayButtons() {
  446. let countDown = document.querySelectorAll('center span[id^="_"]'),
  447. generater = document.querySelector('#generater'),
  448. showlink = document.querySelector('#showlink');
  449.  
  450. try {
  451. if (countDown[0].innerText.match('0 Seconds')) {
  452. generater.classList.add('ready');
  453. }
  454. } catch {}
  455.  
  456. try {
  457. if (countDown[1].innerText.match('0 Seconds')) {
  458. showlink.classList.add('ready');
  459. }
  460. } catch {}
  461. }
  462.  
  463. function fixAdblockBackdrop() {
  464. let backdrop = document.getElementById('backdrop');
  465.  
  466. let backA = backdrop.attributes;
  467.  
  468. for (let x = 0; x < backA.length; x++) {
  469. if (backA[x].name !== 'id') {
  470. backdrop.removeAttribute(backA[x].name);
  471. }
  472. }
  473. }
  474.  
  475. function clickLinks() {
  476. if (window.doneClick !== true) {
  477. if (window.location.origin.match(/pahe\.plus/) || window.location.origin.match(/oii\.la/) || window.location.origin.match(/tpi\.li/)) {
  478. let linkbtn = document.querySelector('.get-link:not(.disabled)');
  479. window.location.assign(linkbtn.href);
  480. window.doneClick = true;
  481. } else if (window.location.origin.match(/wp2hostt\.com/)) {
  482. let linkbtn = document.querySelector('button#getlink');
  483. linkbtn.click();
  484. window.doneClick = true;
  485. } else if (window.location.origin.match(/linegee\.net/)) {
  486. let scripts = document.querySelectorAll('script');
  487. for (let x = 0; x < scripts.length; x++) {
  488. if (scripts[x].textContent.match(/location\.href.*atob/)) {
  489. if (document.readyState.match(/complete/i)) {
  490. let base64 = scripts[x].textContent.replace(/[\t\s]/g,'').replace(/^.*location.href.*atob\('(.*)'\).*/,'$1');
  491. setTimeout(() => {
  492. window.location.href = window.location.href + atob(base64);
  493. }, 5000);
  494. window.doneClick = true;
  495. }
  496. }
  497. }
  498. }
  499. }
  500.  
  501. if (window.location.origin.match(/wordcounter\.icu/) && document.readyState === 'complete') {
  502. if (document.querySelector('#invisibleCaptchaShortlink') && window.doneClick1 !== true) {
  503. document.querySelector('#invisibleCaptchaShortlink').click();
  504. window.doneClick1 = true;
  505. }
  506. if (document.querySelector('a.get-link[href]:not(.disabled)') && window.doneClick2 !== true) {
  507. window.location.assign(document.querySelector('a.get-link[href]:not(.disabled)').href);
  508. window.doneClick2 = true;
  509. }
  510. }
  511. }
  512.  
  513. function pullButton() {
  514. // Bring the captcha/link to the foreground
  515. if (site === "oii.la" || site === "tpi.li") {
  516. try {
  517. let formX = document.querySelector('form:not(.td-search-form):not(.go-link)');
  518. if (formX.getAttribute('moved') !== 'true') {
  519. document.body.appendChild(formX);
  520. formX.setAttribute('moved','true');
  521. formX.querySelector('button').removeAttribute('onclick');
  522. formX.querySelector('button').removeAttribute('disabled');
  523. }
  524. } catch {}
  525.  
  526. try {
  527. let linkX = document.querySelector('a.get-link[href]:not(.disabled)');
  528. if (linkX.getAttribute('moved') !== 'true') {
  529. document.body.appendChild(linkX);
  530. linkX.setAttribute('moved','true');
  531. linkX.removeAttribute('onclick');
  532. linkX.removeAttribute('disabled');
  533. }
  534. } catch {}
  535. }
  536. }
  537.  
  538. function clearOnclick() {
  539. // Remove onclick ads
  540. let onAds = document.querySelectorAll('*[onclick*="window.open"]');
  541.  
  542. for (let x = 0; x < onAds.length; x++) {
  543. onAds[x].removeAttribute('onclick');
  544. }
  545.  
  546. // Weird links
  547. let anAds = document.querySelectorAll('*[href*="https:///"]');
  548.  
  549. for (let x = 0; x < anAds.length; x++) {
  550. anAds[x].removeAttribute('href');
  551. }
  552. }
  553.  
  554. function blogmysttAutomatic() {
  555. // Autoclick blogmystt
  556. let first = document.querySelector('a#startButton'),
  557. second = document.querySelector('button#getnewlink');
  558.  
  559. if (window.clickFirst !== 'true') {
  560. try {
  561. first.click();
  562. window.clickFirst = 'true';
  563. } catch {}
  564. }
  565. if (window.clickSecond !== 'true') {
  566. try {
  567. second.click();
  568. window.clickSecond = 'true';
  569. } catch {}
  570. }
  571. }
  572.  
  573. function autoTeknoasian() {
  574. if (document.readyState !== 'complete' && document.readyState !== 'interactive') {return;}
  575.  
  576. // redo the scripts
  577. /*function redoOne() {
  578. if (document.querySelector('script[exist="true"]')) {return;}
  579.  
  580. let allScript = document.querySelectorAll('script:not([src])');
  581.  
  582. for (let x = 0; x < allScript.length; x++) {
  583. if (allScript[x].textContent.match(/isTrusted/) && allScript[x].textContent.match(/\.humanVerify/)) {
  584. let newScript = document.createElement('script');
  585. newScript.setAttribute('type','text/javascript');
  586. newScript.setAttribute('exist','true');
  587. newScript.innerHTML = allScript[x].textContent.replace(/!e\.isTrusted/g, 'e.isTrusted')
  588. .replace(/button\.verify/g, 'h4')
  589. .replace(/^[\s\S]*?(document.querySelector.*humanVerify>h4)/, '$1')
  590. .replace(/(xxc.submit[\s\S\n]*xxc.submit)[\s\S\n]*$/,'$1();}});}}}, 1000);});');
  591.  
  592. document.body.appendChild(newScript);
  593. }
  594. }
  595. }*/
  596.  
  597. // scroll to buttons
  598. let verify = document.querySelector('.humanVerify .verify'),
  599. // verifySecret = document.querySelector('.humanVerify > h4'),
  600. skipcontent = document.querySelector('.Skipper > .skipcontent'),
  601. postnext = document.querySelector('.postnext');
  602.  
  603. if (verify) {
  604. verify.scrollIntoView({ behavior: 'auto', block: 'center' });
  605.  
  606. if (window.clickOne !== 'true') {
  607. // redoOne();
  608.  
  609. try {
  610. // verifySecret.click();
  611. verify.click();
  612. window.clickOne = 'true';
  613. } catch {}
  614. }
  615. }
  616.  
  617. if (skipcontent) {
  618. skipcontent.scrollIntoView({ behavior: 'auto', block: 'center' });
  619.  
  620. if (window.clickTwo !== 'true') {
  621. try {
  622. setTimeout(() => {
  623. skipcontent.click();
  624. }, 2000);
  625. window.clickTwo = 'true';
  626. } catch {}
  627. }
  628. }
  629.  
  630. if (postnext) {
  631. postnext.scrollIntoView({ behavior: 'auto', block: 'center' });
  632.  
  633. if (window.clickThree !== 'true') {
  634. try {
  635. setTimeout(() => {
  636. postnext.closest('form').submit();
  637. }, 1000);
  638. window.clickThree = 'true';
  639. } catch {}
  640. }
  641. }
  642. }
  643.  
  644. function pixeldad() {
  645. if (!window.location.href.match(/gdflix\.dad/) || window.pixeldad == true) {return;}
  646.  
  647. let pd = document.querySelector('a[href*="pixeldrain"]'),
  648. pdid = pd.href.replace(/.*file\/(.*)\?.*/,'$1'),
  649. pdn = document.querySelectorAll('.list-group-item')[0].textContent.replace(/^.*\: /,'');
  650.  
  651. pd.href = 'https://gamedriveorg.pd24.workers.dev/api/file/' + pdid + '?' + encodeURI(pdn);
  652.  
  653. window.pixeldad = true;
  654. }
  655.  
  656. setInterval(function() {
  657. try{clickLinks();} catch{}
  658. try{fixAdblockBackdrop();} catch{}
  659. try{pullButton();} catch{}
  660. try{clearOnclick();} catch{}
  661. try{blogmysttAutomatic();} catch{}
  662. try{eraseImages();} catch{}
  663. try{autoTeknoasian();} catch{}
  664. try{pixeldad();} catch {}
  665. }, 10);
  666. })();