From 07ff5cbbbf4d0f2b70213ad6d50f746c388e25d9 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sun, 7 Jul 2024 09:31:18 +0200 Subject: [PATCH] add autoredirect for pahe.win https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/94 --- 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, 12 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 73de62b..e87f03e 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 92.3 +// @version 92.3.1 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -768,6 +768,7 @@ // @include /kbconlinegame.com/ // @include /odijob.com/ // @include /wp2host.com/ +// @include /pahe.win/ // @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 85e9b98..f25dd24 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 92.3 +// @version 92.3.1 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -768,6 +768,7 @@ // @include /kbconlinegame.com/ // @include /odijob.com/ // @include /wp2host.com/ +// @include /pahe.win/ // @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/ @@ -2379,6 +2380,9 @@ }) : null; /odijob.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#my-btn')}) : null; + // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/94 + /pahe.win/.test(url) ? afterWindowLoaded(function() {setTimeout(function() {redirectIfExists('.redirect');}, 6000);}) : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 8e13ffd..c253548 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -162,6 +162,7 @@ // @include /kbconlinegame.com/ // @include /odijob.com/ // @include /wp2host.com/ +// @include /pahe.win/ // @run-at document-start // ==/UserScript== @@ -761,6 +762,9 @@ }) : null; /odijob.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#my-btn')}) : null; + // https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/94 + /pahe.win/.test(url) ? afterWindowLoaded(function() {setTimeout(function() {redirectIfExists('.redirect');}, 6000);}) : null; + })(); (function() { diff --git a/supported_sites.txt b/supported_sites.txt index f48dd6c..343e955 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -748,6 +748,7 @@ https://paster.so/* /kbconlinegame.com/ /odijob.com/ /wp2host.com/ +/pahe.win/ /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/