From 46e6b39c51e8b79c9824db804fb6ab3447c6cd57 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Thu, 2 Jan 2025 15:29:24 +0100 Subject: [PATCH] profitsfly bug fix by Anon991299 https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/191 --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 6 +++--- extra_bypasses/profitsfly_reload_helper.user.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 27d2e5f..e63117f 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.4.2 +// @version 93.4.3 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index a7f497f..4b41b13 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.4.2 +// @version 93.4.3 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2946,7 +2946,7 @@ // Load the backed up url 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...")) { const lastLocation = GM_getValue("profitsflyLocation"); if (lastLocation) { @@ -2968,7 +2968,7 @@ 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 reloading = true; return; // Exit the function after reloading diff --git a/extra_bypasses/profitsfly_reload_helper.user.js b/extra_bypasses/profitsfly_reload_helper.user.js index 22be47f..39557ab 100644 --- a/extra_bypasses/profitsfly_reload_helper.user.js +++ b/extra_bypasses/profitsfly_reload_helper.user.js @@ -37,7 +37,7 @@ // Load the backed up url 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...")) { const lastLocation = GM_getValue("profitsflyLocation"); if (lastLocation) { @@ -59,7 +59,7 @@ 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 reloading = true; return; // Exit the function after reloading