auto open some hcaptchas including profitsfly

This commit is contained in:
Amm0ni4 2025-03-02 11:54:59 +01:00
parent ac5b7dbab7
commit 70de341d01
5 changed files with 45 additions and 3 deletions

View file

@ -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

View file

@ -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() {

View file

@ -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;

View file

@ -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() {

View file

@ -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