minor fix to last commit

This commit is contained in:
Amm0ni4 2024-07-17 14:41:10 +02:00
parent 9276a410e6
commit 98316385cb
3 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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;

View file

@ -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;