mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
minor fix
disabled the auto-click on adbypass.eu because if I also put the alert popup to say the button was clicked, it stops the script in chromium
This commit is contained in:
parent
9fe2abf79c
commit
2e53a317f1
2 changed files with 2 additions and 14 deletions
|
@ -1755,13 +1755,7 @@
|
|||
if (savedShortlink && inputField) {
|
||||
inputField.value = savedShortlink;
|
||||
GM_deleteValue('savedShortlink');
|
||||
setTimeout(function() {
|
||||
let bypassButton = document.querySelector('#bttn');
|
||||
if (bypassButton) {
|
||||
bypassButton.click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
}
|
||||
}, 500);// Wait 0.5 to press the button
|
||||
//setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click();alert('Bypass started. Wait a few seconds.');}}, 500);
|
||||
}
|
||||
});
|
||||
} else if (/adbypass.eu\/unblock/.test(url)) {
|
||||
|
|
|
@ -23,13 +23,7 @@
|
|||
if (savedShortlink && inputField) {
|
||||
inputField.value = savedShortlink;
|
||||
GM_deleteValue('savedShortlink');
|
||||
setTimeout(function() {
|
||||
let bypassButton = document.querySelector('#bttn');
|
||||
if (bypassButton) {
|
||||
bypassButton.click();
|
||||
alert('Bypass started. Wait a few seconds.')
|
||||
}
|
||||
}, 500);// Wait 0.5 to press the button
|
||||
//setTimeout(function() {let bypassButton = document.querySelector('#bttn');if (bypassButton) {bypassButton.click();alert('Bypass started. Wait a few seconds.');}}, 500);
|
||||
}
|
||||
});
|
||||
} else if (/adbypass.eu\/unblock/.test(url)) {
|
||||
|
|
Loading…
Reference in a new issue