From 223a24bd5eaf8ea3a0e1d8e19d8fdd686e3fe85a Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sat, 20 Apr 2024 16:13:22 +0200 Subject: [PATCH] add bypass for short-url.link https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32 --- Bypass_All_Shortlinks.meta.js | 3 ++- Bypass_All_Shortlinks.user.js | 6 ++++-- extra_bypasses/extra_bypasses.user.js | 4 +++- supported_sites.txt | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index d596a91..4357ebb 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 91.8.13 +// @version 91.8.14 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -774,6 +774,7 @@ // @include /platinsport.com/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ +// @include /short-url.link\/[^\/]+$/ // @include /filecrypt.(cc|co)/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /mega-enlace.com/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 0634c04..f78379d 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 91.8.13 +// @version 91.8.14 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -774,6 +774,7 @@ // @include /platinsport.com/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ +// @include /short-url.link\/[^\/]+$/ // @include /filecrypt.(cc|co)/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /mega-enlace.com/ @@ -2344,7 +2345,8 @@ if (targetLink) { clearInterval(intervalId); redirect(decodeURIComponent(targetLink.href.split('url=')[1])); }; }, 1000); }); } - + // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32 + /short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null; })(); diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 7e91641..b386a42 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -131,6 +131,7 @@ // @include /platinsport.com/ // @include /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ // @include /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ +// @include /short-url.link\/[^\/]+$/ // @run-at document-start // ==/UserScript== @@ -623,7 +624,8 @@ if (targetLink) { clearInterval(intervalId); redirect(decodeURIComponent(targetLink.href.split('url=')[1])); }; }, 1000); }); } - + // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/32 + /short-url.link\/[^\/]+$/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.go-to-button')}) : null; })(); diff --git a/supported_sites.txt b/supported_sites.txt index 4105d3b..613e95e 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -753,6 +753,7 @@ r1.foxylinks.site /platinsport.com/ /(ay.live|aylink.co|gitlink.pro)\/[^\/]+$/ /(lopteapi.com|1link.vip|blitly.io|web1s.com|megalink.pro)\/[^\/]+$/ +/short-url.link\/[^\/]+$/ /filecrypt.(cc|co)/ /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ /mega-enlace.com/