mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
minor fix to last commit
This commit is contained in:
parent
56662a8946
commit
7f8869d54f
2 changed files with 10 additions and 4 deletions
|
@ -1754,8 +1754,11 @@
|
|||
inputField.value = savedShortlink;
|
||||
GM_deleteValue('savedShortlink');
|
||||
setTimeout(function() {
|
||||
document.querySelector('#bttn').click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
let bypassButton = document.querySelector('#bttn');
|
||||
if (bypassButton) {
|
||||
bypassButton.click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
}
|
||||
}, 500);// Wait 0.5 to press the button
|
||||
}
|
||||
});
|
||||
|
|
|
@ -24,8 +24,11 @@
|
|||
inputField.value = savedShortlink;
|
||||
GM_deleteValue('savedShortlink');
|
||||
setTimeout(function() {
|
||||
document.querySelector('#bttn').click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
let bypassButton = document.querySelector('#bttn');
|
||||
if (bypassButton) {
|
||||
bypassButton.click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
}
|
||||
}, 500);// Wait 0.5 to press the button
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue