minor fix again

This commit is contained in:
Amm0ni4 2024-07-17 14:44:47 +02:00
parent 98316385cb
commit a9d5df9e00
3 changed files with 12 additions and 8 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.3.18 // @version 92.3.19
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.3.18 // @version 92.3.19
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -2424,9 +2424,11 @@
// render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108 // render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108
/render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() { /render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() {
if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; //if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);};
popupsToRedirects(); if (!document.querySelector('#megkey')) {
goToLink(); popupsToRedirects();
goToLink();
}
}) : null; }) : null;
})(); })();

View file

@ -806,9 +806,11 @@
// render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108 // render-state.to - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/108
/render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() { /render-state.to\/download\/\?link=/.test(url) ? afterDOMLoaded(function() {
if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);}; //if (document.querySelector('#megkey')) {alert(document.querySelector('#megkey').innerText + '\n' + document.getElementById('deckey').value);};
popupsToRedirects(); if (!document.querySelector('#megkey')) {
goToLink(); popupsToRedirects();
goToLink();
}
}) : null; }) : null;
})(); })();