From 4dce79b56e517d3244543885229cc232d4e5885e Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Tue, 27 Feb 2024 13:08:30 +0100 Subject: [PATCH] fix bypass for 4fnet.org --- 1_download_untouched.py | 1 + Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 7 +++++-- extra_bypasses/extra_bypasses.user.js | 5 ++++- supported_sites.txt | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/1_download_untouched.py b/1_download_untouched.py index 5f73f16..1427884 100644 --- a/1_download_untouched.py +++ b/1_download_untouched.py @@ -23,6 +23,7 @@ def modify_file_with_my_fixes(destination): content = content.replace("BypassedByBloggerPemula(/linkvertise.com/", "//BypassedByBloggerPemula(/linkvertise.com/") content = content.replace("/stfly.cc|stfly.xyz|techtrendmakers.com|(blogbux|blogesque|exploreera).net/", "/stfly.cc|stfly.xyz|(techtrendmakers|gadnest).com|(blogbux|blogesque|exploreera).net/") content = content.replace("BloggerPemula('financeyogi.net'", "//BloggerPemula('financeyogi.net'") + content = content.replace("case 'pixeldrain.com'", "//case 'pixeldrain.com'") content = content.replace("BypassedByBloggerPemula(/lootlinks", "//BypassedByBloggerPemula(/lootlinks") content = content.replace("let lln = bp('body > script');let lls", "//let lln = bp('body > script');let lls") diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index f5ac42e..ce49737 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -510,7 +510,6 @@ // @include /^(https?:\/\/)(.+)?((aduzz|admediaflex|cryptfaucet|phimne|cdrab|tinybc|tinycmd).com|(bit4me|ecq|sportweb|mgame).info|(wpcheap|offerinfo).net|quanngon.org|datacheap.io)(\/.*)/ // @match *://*.multiup.org/* // @match *://*.modsfire.com/* -// @match *://*.pixeldrain.com/* // @match *://*.social-unlock.com/* // @match *://*.work.ink/* // @match *://*.nft.blogyindia.com/* @@ -724,6 +723,7 @@ // @include /financeyogi.net/ // @include /jrlinks.in/ // @include /go.tnshort.net/ +// @include /www.4fnet.org\/goto/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @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|taboola|aliexpress|netflix|citigroup|spotify|bankofamerica|hsbc|(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|nflximg|doubleclick).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram|wikipedia).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten|maybank).*|(dana|ovo|bca.co|bri.co|bni.co|bankmandiri.co|desa|(.*).go).id|(.*).edu|(.*).gov)(\/.*)/ // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 21979ed..5adc10b 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -510,7 +510,6 @@ // @include /^(https?:\/\/)(.+)?((aduzz|admediaflex|cryptfaucet|phimne|cdrab|tinybc|tinycmd).com|(bit4me|ecq|sportweb|mgame).info|(wpcheap|offerinfo).net|quanngon.org|datacheap.io)(\/.*)/ // @match *://*.multiup.org/* // @match *://*.modsfire.com/* -// @match *://*.pixeldrain.com/* // @match *://*.social-unlock.com/* // @match *://*.work.ink/* // @match *://*.nft.blogyindia.com/* @@ -724,6 +723,7 @@ // @include /financeyogi.net/ // @include /jrlinks.in/ // @include /go.tnshort.net/ +// @include /www.4fnet.org\/goto/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @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|taboola|aliexpress|netflix|citigroup|spotify|bankofamerica|hsbc|(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|nflximg|doubleclick).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram|wikipedia).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten|maybank).*|(dana|ovo|bca.co|bri.co|bni.co|bankmandiri.co|desa|(.*).go).id|(.*).edu|(.*).gov)(\/.*)/ // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js @@ -993,7 +993,7 @@ const sl = (h => { switch (h.host) {case 'multiup.org': if (h.href.includes('/download/')) return h.href.replace('download/', 'en/mirror/'); break; case 'modsfire.com': if (/^\/([^\/]+)/.test(h.pathname)) {return 'https://modsfire.com/d/' + RegExp.$1;} break; - case 'pixeldrain.com': if (h.href.includes('/u/')) return h.href.replace('u/', '/api/file/') + '?download'; break; + //case 'pixeldrain.com': if (h.href.includes('/u/')) return h.href.replace('u/', '/api/file/') + '?download'; break; case 'www.google.com': if (h.pathname === '/url' && h.searchParams.has('q')) {return h.searchParams.get('q');} break; case 'social-unlock.com': if (/^\/([^\/]+)/.test(h.pathname)) {return 'https://social-unlock.com/redirect/' + RegExp.$1;} break; case 'work.ink': if (/^\/([^\/]+)/.test(h.pathname) && !location.href.includes('/token/') && !location.href.includes('?r=') && !location.href.includes('?ref=')) {return 'https://adbypass.org/bypass?bypass=' + encodeURIComponent(location.href);} break; @@ -2065,6 +2065,9 @@ /jrlinks.in/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn2')}) : null; /go.tnshort.net/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn')}) : null; + // 4fnet.org - https://github.com/FastForwardTeam/FastForward/issues/1298 + /www.4fnet.org\/goto/.test(url) ? redirect(atob(url.split('/goto/')[1])) : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 3df7a09..b2e4373 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -76,7 +76,7 @@ // @include /financeyogi.net/ // @include /jrlinks.in/ // @include /go.tnshort.net/ - +// @include /www.4fnet.org\/goto/ // @run-at document-start // ==/UserScript== @@ -340,6 +340,9 @@ /jrlinks.in/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn2')}) : null; /go.tnshort.net/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn')}) : null; + // 4fnet.org - https://github.com/FastForwardTeam/FastForward/issues/1298 + /www.4fnet.org\/goto/.test(url) ? redirect(atob(url.split('/goto/')[1])) : null; + })(); (function() { diff --git a/supported_sites.txt b/supported_sites.txt index 69f4be8..0c59817 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -493,7 +493,6 @@ vailonxx.com|fun88.bio (aduzz|admediaflex|cryptfaucet|phimne|cdrab|tinybc|tinycmd).com|(bit4me|ecq|sportweb|mgame).info|(wpcheap|offerinfo).net|quanngon.org|datacheap.io multiup.org modsfire.com -pixeldrain.com social-unlock.com work.ink nft.blogyindia.com @@ -706,4 +705,5 @@ r1.foxylinks.site /financeyogi.net/ /jrlinks.in/ /go.tnshort.net/ +/www.4fnet.org\/goto/ /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/