mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-27 23:43:02 +05:00
add reload for profitsfly 18s message (by Anon991299)
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/191
This commit is contained in:
parent
8a86ceedd3
commit
83bd406f6a
3 changed files with 12 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.1.16
|
||||
// @version 93.1.17
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 93.1.16
|
||||
// @version 93.1.17
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -3018,6 +3018,11 @@
|
|||
return; // Exit the function after reloading
|
||||
}
|
||||
}
|
||||
if (document.body.textContent.includes("Less than 18 seconds have passed between actions. Robot verification failed, please try again...")) {
|
||||
if (!reloading) location.reload(); // Reload the page
|
||||
reloading = true;
|
||||
return; // Exit the function after reloading
|
||||
}
|
||||
}
|
||||
|
||||
// Helper function to determine if an element is visible and enabled
|
||||
|
|
|
@ -23,6 +23,11 @@
|
|||
return; // Exit the function after reloading
|
||||
}
|
||||
}
|
||||
if (document.body.textContent.includes("Less than 18 seconds have passed between actions. Robot verification failed, please try again...")) {
|
||||
if (!reloading) location.reload(); // Reload the page
|
||||
reloading = true;
|
||||
return; // Exit the function after reloading
|
||||
}
|
||||
}
|
||||
|
||||
// Helper function to determine if an element is visible and enabled
|
||||
|
|
Loading…
Reference in a new issue