diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 51e1b4c..662e0be 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -552,7 +552,6 @@ // @grant GM_getResourceText // @match https://acortalink.me/* // @match https://paster.so/* -// @include /(bypass.city|adbypass.org)\/bypass\?bypass=/ // @include /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/ // @include /comohoy.com/ // @include /privatenudes.com\/model/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 6770842..daeb297 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -552,7 +552,6 @@ // @grant GM_getResourceText // @match https://acortalink.me/* // @match https://paster.so/* -// @include /(bypass.city|adbypass.org)\/bypass\?bypass=/ // @include /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/ // @include /comohoy.com/ // @include /privatenudes.com\/model/ @@ -1671,43 +1670,6 @@ })(); // ----- ----- ----- -// ----- bypass.city redirect helper ----- -(function() { - 'use strict'; - let url = window.location.href; - const isValidUrl = url => { try { new URL(url); return true; } catch (error) { return false; } }; - - function makeUrlClickable(element) { - let initialUrl = element.textContent; - let url = element.textContent.replace('The resolved url is: ', '') - if (!url.startsWith('http')) { - url = 'https://' + url; - } - url = url.match(/(https?:\/\/\S+)/)[0]; - if (url && isValidUrl(url) && !url.endsWith('...')) { - let link = document.createElement('a'); link.href = url; link.textContent = url; - element.innerHTML = 'The resolved url is: ' + element.innerHTML.replace(initialUrl, link.outerHTML); - return url; - } - } - - if (/(bypass.city|adbypass.org)\/bypass\?bypass=/.test(url)){ - window.addEventListener('load', function() { //After window loaded - let checkInterval = setInterval(function() { //Check every 0.5s if the link is available - let linkContainerElement = document.querySelector('div.mantine-fn96xv:nth-child(3)'); - if (linkContainerElement) { - clearInterval(checkInterval); - let targetUrl = makeUrlClickable(linkContainerElement); - if (isValidUrl(targetUrl)) { - setTimeout(function() { window.location.assign(targetUrl); }, 4000); - } - } - }, 500); - }); - } -})(); -// ----- ----- ----- - // ----- Extra bypasses ----- (function() { 'use strict'; @@ -2350,7 +2312,7 @@ clickIfExists('div.code-block:nth-child(4) > center:nth-child(1) > div:nth-child(2) > a:nth-child(1) > button:nth-child(1)'); }) : null; - // publicearn.com - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/99, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/161 + // publicearn.com - https://t.me/edutechvn - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/99, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/161 /thelatintwistcafe.com/.test(url) ? afterDOMLoaded(function() { count = 0; setTimeout(function() {document.querySelector('#tp98').click();}, 3000); diff --git a/extra_bypasses/bypass.city.user.js b/extra_bypasses/bypass.city.user.js deleted file mode 100644 index 4b4fd33..0000000 --- a/extra_bypasses/bypass.city.user.js +++ /dev/null @@ -1,43 +0,0 @@ -// ==UserScript== -// @name bypass.city redirect helper -// @include /(bypass.city|adbypass.org)\/bypass\?bypass=/ -// @run-at document-start -// @icon https://www.google.com/s2/favicons?sz=64&domain=bypass.city -// ==/UserScript== - -// ----- bypass.city redirect helper ----- -(function() { - 'use strict'; - let url = window.location.href; - const isValidUrl = url => { try { new URL(url); return true; } catch (error) { return false; } }; - - function makeUrlClickable(element) { - let initialUrl = element.textContent; - let url = element.textContent.replace('The resolved url is: ', '') - if (!url.startsWith('http')) { - url = 'https://' + url; - } - url = url.match(/(https?:\/\/\S+)/)[0]; - if (url && isValidUrl(url) && !url.endsWith('...')) { - let link = document.createElement('a'); link.href = url; link.textContent = url; - element.innerHTML = 'The resolved url is: ' + element.innerHTML.replace(initialUrl, link.outerHTML); - return url; - } - } - - if (/(bypass.city|adbypass.org)\/bypass\?bypass=/.test(url)){ - window.addEventListener('load', function() { //After window loaded - let checkInterval = setInterval(function() { //Check every 0.5s if the link is available - let linkContainerElement = document.querySelector('div.mantine-fn96xv:nth-child(3)'); - if (linkContainerElement) { - clearInterval(checkInterval); - let targetUrl = makeUrlClickable(linkContainerElement); - if (isValidUrl(targetUrl)) { - setTimeout(function() { window.location.assign(targetUrl); }, 4000); - } - } - }, 500); - }); - } -})(); -// ----- ----- ----- diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 34d0413..b3c5e9f 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -820,7 +820,7 @@ clickIfExists('div.code-block:nth-child(4) > center:nth-child(1) > div:nth-child(2) > a:nth-child(1) > button:nth-child(1)'); }) : null; - // publicearn.com - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/99, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/161 + // publicearn.com - https://t.me/edutechvn - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/99, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/161 /thelatintwistcafe.com/.test(url) ? afterDOMLoaded(function() { count = 0; setTimeout(function() {document.querySelector('#tp98').click();}, 3000); diff --git a/supported_sites.txt b/supported_sites.txt index fe0c356..c517a06 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -532,7 +532,6 @@ linksfly.top playstore.pw https://acortalink.me/* https://paster.so/* -/(bypass.city|adbypass.org)\/bypass\?bypass=/ /(mundopolo.net|myfirstdollar.net|adsense.tupaste.top|acorta2.com|web.admoneyclick.net|acortaphd.live|onlypc.net|link.manudatos.com)/ /comohoy.com/ /privatenudes.com\/model/