From a3eece551eef6c7019d328ef608a8ac52d2762c4 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Mon, 12 Feb 2024 12:17:38 +0100 Subject: [PATCH] refactor code for extra bypasses --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 41 ++++++++----------- .../linkspy.cc-clicksfly.com.user.js | 12 +++--- extra_bypasses/mundopolo.net.user.js | 6 +-- extra_bypasses/shrinkme.us.user.js | 2 +- 5 files changed, 26 insertions(+), 37 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 0e4154f..3bee8df 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -653,8 +653,8 @@ // @match https://dropgalaxy.com/drive/* // @match https://dropgalaxy.co/drive/* // @match *://*.shareus.io/* -// @match https://linkspy.cc/tr/* // @match https://m.mundopolo.net/#!* +// @match https://linkspy.cc/tr/* // @match https://*.shrinkme.us/* // @require https://code.jquery.com/jquery-2.1.1.min.js // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 50ff72a..e1845d4 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -653,8 +653,8 @@ // @match https://dropgalaxy.com/drive/* // @match https://dropgalaxy.co/drive/* // @match *://*.shareus.io/* -// @match https://linkspy.cc/tr/* // @match https://m.mundopolo.net/#!* +// @match https://linkspy.cc/tr/* // @match https://*.shrinkme.us/* // @require https://code.jquery.com/jquery-2.1.1.min.js // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/ @@ -1676,6 +1676,7 @@ if (location.href.includes('autofaucet.dutchycorp.space/ptc/')) {console.log('Viewing Available Ads'); if (elementExists('.fa-check-double')) {console.log('All Available Ads Watched'); setTimeout(() => {window.location.replace('https://autofaucet.dutchycorp.space/dashboard.php');}, 3 * 1000);} setInterval(() => {if (Checkvisibility(bp('#submit_captcha'))) {bp("button[type='submit'].g-recaptcha").click();}}, 5 * 1000);}}); + }})(); // ----- Bypass for dropgalaxy ----- @@ -1762,22 +1763,30 @@ })(); // ----- ----- ----- +// ----- Bypass for mundopolo.net ----- +(function() { + 'use strict'; + if ( window.location.href.startsWith('https://m.mundopolo.net/#!') ) { + window.location.assign(decodeURIComponent(atob(atob(atob(window.location.href.split('#!')[1]))))); + } +})(); +// ----- ----- ----- + + // ----- Bypass for linkspy.cc + clicksfly.com ----- (function() { 'use strict'; if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) { //----Bypass linkspy.cc---- - var encodedUrl = window.location.href.split('/tr/')[1]; - var decodedUrl = atob(encodedUrl); - if (!decodedUrl.startsWith('https://clicksfly.com/')) { + var decodedUrl = atob(window.location.href.split('/tr/')[1]); + var urlParam = new URLSearchParams(decodedUrl).get('url'); + if (!decodedUrl.startsWith('https://clicksfly.com/') || !urlParam) { window.location.assign(decodedUrl); //----Bypass clicksfly.com---- - } else if (decodedUrl.startsWith('https://clicksfly.com/')) { - var urlParam = new URLSearchParams(decodedUrl).get('url'); - var decodedURL2 = atob(urlParam); - window.location.assign(decodedURL2); + } else if (decodedUrl.startsWith('https://clicksfly.com/') && urlParam) { + window.location.assign(atob(urlParam)); } } @@ -1785,24 +1794,10 @@ // ----- ----- ----- -// ----- Bypass for mundopolo.net ----- -(function() { - 'use strict'; - if ( window.location.href.startsWith('https://m.mundopolo.net/#!') ) { - var currentURL = window.location.href; - var encodedURL = currentURL.split('#!')[1] - var decodedURL = atob(atob(atob(encodedURL))); //base64 decode x3 - decodedURL = decodeURIComponent(decodedURL); - window.location.assign(decodedURL); - } -})(); -// ----- ----- ----- - - // ----- Bypass for shrinkme.us ----- (function() { 'use strict'; - if (/^https:\/\/shrinkme\.us\//.test(window.location.href)) { + if (window.location.href.startsWith("https://shrinkme.us/")) { function waitForButton() { var button = document.getElementById('invisibleCaptchaShortlink'); if (button) { diff --git a/extra_bypasses/linkspy.cc-clicksfly.com.user.js b/extra_bypasses/linkspy.cc-clicksfly.com.user.js index b62d13f..9e6c344 100644 --- a/extra_bypasses/linkspy.cc-clicksfly.com.user.js +++ b/extra_bypasses/linkspy.cc-clicksfly.com.user.js @@ -10,16 +10,14 @@ if ( window.location.href.startsWith('https://linkspy.cc/tr/') ) { //----Bypass linkspy.cc---- - var encodedUrl = window.location.href.split('/tr/')[1]; - var decodedUrl = atob(encodedUrl); - if (!decodedUrl.startsWith('https://clicksfly.com/')) { + var decodedUrl = atob(window.location.href.split('/tr/')[1]); + var urlParam = new URLSearchParams(decodedUrl).get('url'); + if (!decodedUrl.startsWith('https://clicksfly.com/') || !urlParam) { window.location.assign(decodedUrl); //----Bypass clicksfly.com---- - } else if (decodedUrl.startsWith('https://clicksfly.com/')) { - var urlParam = new URLSearchParams(decodedUrl).get('url'); - var decodedURL2 = atob(urlParam); - window.location.assign(decodedURL2); + } else if (decodedUrl.startsWith('https://clicksfly.com/') && urlParam) { + window.location.assign(atob(urlParam)); } } diff --git a/extra_bypasses/mundopolo.net.user.js b/extra_bypasses/mundopolo.net.user.js index 980f8b7..186873d 100644 --- a/extra_bypasses/mundopolo.net.user.js +++ b/extra_bypasses/mundopolo.net.user.js @@ -8,11 +8,7 @@ (function() { 'use strict'; if ( window.location.href.startsWith('https://m.mundopolo.net/#!') ) { - var currentURL = window.location.href; - var encodedURL = currentURL.split('#!')[1] - var decodedURL = atob(atob(atob(encodedURL))); //base64 decode x3 - decodedURL = decodeURIComponent(decodedURL); - window.location.assign(decodedURL); + window.location.assign(decodeURIComponent(atob(atob(atob(window.location.href.split('#!')[1]))))); } })(); // ----- ----- ----- diff --git a/extra_bypasses/shrinkme.us.user.js b/extra_bypasses/shrinkme.us.user.js index a197dde..99395ab 100644 --- a/extra_bypasses/shrinkme.us.user.js +++ b/extra_bypasses/shrinkme.us.user.js @@ -7,7 +7,7 @@ // ----- Bypass for shrinkme.us ----- (function() { 'use strict'; - if (/^https:\/\/shrinkme\.us\//.test(window.location.href)) { + if (window.location.href.startsWith("https://shrinkme.us/")) { function waitForButton() { var button = document.getElementById('invisibleCaptchaShortlink'); if (button) {