minor fix to last commit

This commit is contained in:
Amm0ni4 2024-02-25 15:09:48 +01:00
parent 56662a8946
commit 7f8869d54f
2 changed files with 10 additions and 4 deletions

View file

@ -1754,8 +1754,11 @@
inputField.value = savedShortlink;
GM_deleteValue('savedShortlink');
setTimeout(function() {
document.querySelector('#bttn').click();
let bypassButton = document.querySelector('#bttn');
if (bypassButton) {
bypassButton.click();
alert('Bypass started. Wait a few seconds.')
}
}, 500);// Wait 0.5 to press the button
}
});

View file

@ -24,8 +24,11 @@
inputField.value = savedShortlink;
GM_deleteValue('savedShortlink');
setTimeout(function() {
document.querySelector('#bttn').click();
let bypassButton = document.querySelector('#bttn');
if (bypassButton) {
bypassButton.click();
alert('Bypass started. Wait a few seconds.')
}
}, 500);// Wait 0.5 to press the button
}
});