mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33: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;
|
inputField.value = savedShortlink;
|
||||||
GM_deleteValue('savedShortlink');
|
GM_deleteValue('savedShortlink');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.querySelector('#bttn').click();
|
let bypassButton = document.querySelector('#bttn');
|
||||||
alert('Bypass started. Wait a few seconds.')
|
if (bypassButton) {
|
||||||
|
bypassButton.click();
|
||||||
|
alert('Bypass started. Wait a few seconds.')
|
||||||
|
}
|
||||||
}, 500);// Wait 0.5 to press the button
|
}, 500);// Wait 0.5 to press the button
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -24,8 +24,11 @@
|
||||||
inputField.value = savedShortlink;
|
inputField.value = savedShortlink;
|
||||||
GM_deleteValue('savedShortlink');
|
GM_deleteValue('savedShortlink');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.querySelector('#bttn').click();
|
let bypassButton = document.querySelector('#bttn');
|
||||||
alert('Bypass started. Wait a few seconds.')
|
if (bypassButton) {
|
||||||
|
bypassButton.click();
|
||||||
|
alert('Bypass started. Wait a few seconds.')
|
||||||
|
}
|
||||||
}, 500);// Wait 0.5 to press the button
|
}, 500);// Wait 0.5 to press the button
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue