diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 11b23ca..80549d4 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.18 +// @version 92.3.19 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 7b08904..b8f9d49 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.18 +// @version 92.3.19 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2424,9 +2424,11 @@ // 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(); + //if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; + if (!document.querySelector('#megkey')) { + popupsToRedirects(); + goToLink(); + } }) : null; })(); diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 06e7801..55b34ff 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -806,9 +806,11 @@ // 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(); + //if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; + if (!document.querySelector('#megkey')) { + popupsToRedirects(); + goToLink(); + } }) : null; })();