From 98316385cbe35ab0652633ebf51c90defe83f0b7 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Wed, 17 Jul 2024 14:41:10 +0200 Subject: [PATCH] minor fix to last commit --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 3 ++- extra_bypasses/extra_bypasses.user.js | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index d3c2284..11b23ca 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.17 +// @version 92.3.18 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 90a914a..7b08904 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.17 +// @version 92.3.18 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2424,6 +2424,7 @@ // render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108 /render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() { + if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; popupsToRedirects(); goToLink(); }) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 8dc18e7..06e7801 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -806,6 +806,7 @@ // render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108 /render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() { + if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; popupsToRedirects(); goToLink(); }) : null;