From 70de341d015cb2d3db9c2d3acd063565097c43cc Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sun, 2 Mar 2025 11:54:59 +0100 Subject: [PATCH] auto open some hcaptchas including profitsfly --- Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 23 ++++++++++++++++++- extra_bypasses/extra_bypasses.user.js | 10 ++++++++ .../profitsfly_reload_helper.user.js | 11 +++++++++ ...ched_Bypass_All_Shortlinks_patched.user.js | 2 +- 5 files changed, 45 insertions(+), 3 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index b7e5004..54ee4b6 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 94.0.29 +// @version 94.0.30 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 344f54e..a74fd45 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 94.0.29 +// @version 94.0.30 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2809,8 +2809,18 @@ /get.cloudfam.io/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link');}) : null; // flycutlink.com (daemonanime.net) + function openHCaptchaWhenVisible() { + let intervalId = setInterval(() => { + let hCaptchaWidget = document.querySelector('iframe[src*="hcaptcha.com"]'); + if (hCaptchaWidget && hCaptchaWidget.offsetParent !== null) { + clearInterval(intervalId); + window.hcaptcha.execute(); + } + }, 500); + } /flycutlink.com/.test(url) ? afterDOMLoaded(function() { clickIfExists('button.btn-primary.btn:nth-child(4)'); + openHCaptchaWhenVisible(); clickIfNotDisabled('#invisibleCaptchaShortlink'); redirectIfNotDisabled('a.get-link'); }) : null; @@ -3311,6 +3321,17 @@ function redirectWithMessage(url) { setInterval(checkForMessage, 1000); } + // -- Open captchas + function openHCaptchaWhenVisible() { + let intervalId = setInterval(() => { + let hCaptchaWidget = document.querySelector('iframe[src*="hcaptcha.com"]'); + if (hCaptchaWidget && hCaptchaWidget.offsetParent !== null) { + clearInterval(intervalId); + window.hcaptcha.execute(); + } + }, 500); + } + openHCaptchaWhenVisible(); // ---After DOM loaded--- document.addEventListener('DOMContentLoaded', function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index cd3e97a..f16c742 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -1556,8 +1556,18 @@ /get.cloudfam.io/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link');}) : null; // flycutlink.com (daemonanime.net) + function openHCaptchaWhenVisible() { + let intervalId = setInterval(() => { + let hCaptchaWidget = document.querySelector('iframe[src*="hcaptcha.com"]'); + if (hCaptchaWidget && hCaptchaWidget.offsetParent !== null) { + clearInterval(intervalId); + window.hcaptcha.execute(); + } + }, 500); + } /flycutlink.com/.test(url) ? afterDOMLoaded(function() { clickIfExists('button.btn-primary.btn:nth-child(4)'); + openHCaptchaWhenVisible(); clickIfNotDisabled('#invisibleCaptchaShortlink'); redirectIfNotDisabled('a.get-link'); }) : null; diff --git a/extra_bypasses/profitsfly_reload_helper.user.js b/extra_bypasses/profitsfly_reload_helper.user.js index 689c9c2..2413ef9 100644 --- a/extra_bypasses/profitsfly_reload_helper.user.js +++ b/extra_bypasses/profitsfly_reload_helper.user.js @@ -65,6 +65,17 @@ setInterval(checkForMessage, 1000); } + // -- Open captchas + function openHCaptchaWhenVisible() { + let intervalId = setInterval(() => { + let hCaptchaWidget = document.querySelector('iframe[src*="hcaptcha.com"]'); + if (hCaptchaWidget && hCaptchaWidget.offsetParent !== null) { + clearInterval(intervalId); + window.hcaptcha.execute(); + } + }, 500); + } + openHCaptchaWhenVisible(); // ---After DOM loaded--- document.addEventListener('DOMContentLoaded', function() { diff --git a/untouched_Bypass_All_Shortlinks_patched.user.js b/untouched_Bypass_All_Shortlinks_patched.user.js index f83ede4..4c94eba 100644 --- a/untouched_Bypass_All_Shortlinks_patched.user.js +++ b/untouched_Bypass_All_Shortlinks_patched.user.js @@ -37,7 +37,7 @@ // @namespace Violentmonkey Scripts // @run-at document-start // @author Bloggerpemula -// @version 94.0.29 +// @version 94.0.30 // @match *://*/* // @grant GM_setValue // @grant GM_getValue