mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-15 15:33:48 +05:00
profitsfly bug fix by Anon991299
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/191
This commit is contained in:
parent
165e61b227
commit
46e6b39c51
3 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.4.2
|
// @version 93.4.3
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @author Amm0ni4
|
// @author Amm0ni4
|
||||||
// @noframes
|
// @noframes
|
||||||
// @version 93.4.2
|
// @version 93.4.3
|
||||||
// @grant GM_setValue
|
// @grant GM_setValue
|
||||||
// @grant GM_getValue
|
// @grant GM_getValue
|
||||||
// @grant GM_addStyle
|
// @grant GM_addStyle
|
||||||
|
@ -2946,7 +2946,7 @@
|
||||||
|
|
||||||
// Load the backed up url
|
// Load the backed up url
|
||||||
if (GM_getValue("profitsflyLocation")
|
if (GM_getValue("profitsflyLocation")
|
||||||
&& !document.body.textContent.includes("Less than 18 seconds have passed between actions. Robot verification failed, please try again...")
|
&& !/Less than.+passed between actions.+try again/.test(document.body.textContent)
|
||||||
&& !document.body.textContent.includes("Please wait...")) {
|
&& !document.body.textContent.includes("Please wait...")) {
|
||||||
const lastLocation = GM_getValue("profitsflyLocation");
|
const lastLocation = GM_getValue("profitsflyLocation");
|
||||||
if (lastLocation) {
|
if (lastLocation) {
|
||||||
|
@ -2968,7 +2968,7 @@
|
||||||
return; // Exit the function after reloading
|
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 (/Less than.+passed between actions.+try again/.test(document.body.textContent)) {
|
||||||
if (!reloading) location.reload(); // Reload the page
|
if (!reloading) location.reload(); // Reload the page
|
||||||
reloading = true;
|
reloading = true;
|
||||||
return; // Exit the function after reloading
|
return; // Exit the function after reloading
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
// Load the backed up url
|
// Load the backed up url
|
||||||
if (GM_getValue("profitsflyLocation")
|
if (GM_getValue("profitsflyLocation")
|
||||||
&& !document.body.textContent.includes("Less than 18 seconds have passed between actions. Robot verification failed, please try again...")
|
&& !/Less than.+passed between actions.+try again/.test(document.body.textContent)
|
||||||
&& !document.body.textContent.includes("Please wait...")) {
|
&& !document.body.textContent.includes("Please wait...")) {
|
||||||
const lastLocation = GM_getValue("profitsflyLocation");
|
const lastLocation = GM_getValue("profitsflyLocation");
|
||||||
if (lastLocation) {
|
if (lastLocation) {
|
||||||
|
@ -59,7 +59,7 @@
|
||||||
return; // Exit the function after reloading
|
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 (/Less than.+passed between actions.+try again/.test(document.body.textContent)) {
|
||||||
if (!reloading) location.reload(); // Reload the page
|
if (!reloading) location.reload(); // Reload the page
|
||||||
reloading = true;
|
reloading = true;
|
||||||
return; // Exit the function after reloading
|
return; // Exit the function after reloading
|
||||||
|
|
Loading…
Reference in a new issue