From 5f3b4dc840f93b65553c1c409fb93cf95d60c85e Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Mon, 25 Nov 2024 15:25:07 +0100 Subject: [PATCH] minor fix profitsfly https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/191 --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 9 ++++++++- extra_bypasses/extra_bypasses.user.js | 7 +++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 9d0ba55..104c526 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.1.14 +// @version 93.1.15 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index bef103f..c824610 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.1.14 +// @version 93.1.15 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2679,10 +2679,17 @@ // profitsfly partly skip timer /^https:\/\/.*\.(tradeshowrating.com|historyofyesterday.com|playonpc.online)\/.*/.test(url) ? (() => { afterDOMLoaded(function() { + function setTimer() { + if (window.wT9882 > 5) { + window.wT9882 = 1; + } + } window.wT9882 = 5; + setInterval(setTimer, 1000); }); })() : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index c851feb..c24bb01 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -1145,10 +1145,17 @@ // profitsfly partly skip timer /^https:\/\/.*\.(tradeshowrating.com|historyofyesterday.com|playonpc.online)\/.*/.test(url) ? (() => { afterDOMLoaded(function() { + function setTimer() { + if (window.wT9882 > 5) { + window.wT9882 = 1; + } + } window.wT9882 = 5; + setInterval(setTimer, 1000); }); })() : null; + })(); (function() {