mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-03-04 06:19:39 +05:00
auto open some hcaptchas including profitsfly
This commit is contained in:
parent
ac5b7dbab7
commit
70de341d01
5 changed files with 45 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue