mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33:02 +05:00
add missing auto-click to mega-enlace
This commit is contained in:
parent
992b72f0fe
commit
f0e942092c
3 changed files with 24 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
|||
// @namespace Violentmonkey Scripts
|
||||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @version 91.7
|
||||
// @version 91.7.1
|
||||
// @noframes
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// @namespace Violentmonkey Scripts
|
||||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @version 91.7
|
||||
// @version 91.7.1
|
||||
// @noframes
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
|
@ -2435,11 +2435,18 @@
|
|||
if (n[1] = n[1].replace("window.location.href", "var nulled"), n[1] = n[1].replace("window.open(f", "location.assign(f"), n[1] = n[1].replace(/(parseInt\(c\.split\("-"\)\[0\]\)<= 0).*?(\)\{)/, "$1$2"), o && t && i && r && c) try {
|
||||
"loading" === document.readyState ? window.addEventListener("load", (() => {
|
||||
//Check if there is already access permission before launching the POST requests for the bypass
|
||||
let button = document.getElementById('contador');
|
||||
let accessGranted = button.value.trim() === "IR AL ENLACE";
|
||||
if (!accessGranted){
|
||||
let button = document.querySelector('input[type="button"][id="contador"][value="IR AL ENLACE"]');
|
||||
if (!button){
|
||||
e(c); //Launch the POST requests
|
||||
} else if (accessGranted) {
|
||||
// Check periodically if access is granted to click the button
|
||||
let intervalId = setInterval(() => {
|
||||
let button = document.querySelector('input[type="button"][id="contador"][value="Ir al enlace"]');
|
||||
if (button) {
|
||||
button.click();
|
||||
clearInterval(intervalId);
|
||||
}
|
||||
}, 1000);
|
||||
} else if (button) {
|
||||
button.click();
|
||||
}
|
||||
}), {
|
||||
|
|
|
@ -37,11 +37,18 @@
|
|||
if (n[1] = n[1].replace("window.location.href", "var nulled"), n[1] = n[1].replace("window.open(f", "location.assign(f"), n[1] = n[1].replace(/(parseInt\(c\.split\("-"\)\[0\]\)<= 0).*?(\)\{)/, "$1$2"), o && t && i && r && c) try {
|
||||
"loading" === document.readyState ? window.addEventListener("load", (() => {
|
||||
//Check if there is already access permission before launching the POST requests for the bypass
|
||||
let button = document.getElementById('contador');
|
||||
let accessGranted = button.value.trim() === "IR AL ENLACE";
|
||||
if (!accessGranted){
|
||||
let button = document.querySelector('input[type="button"][id="contador"][value="IR AL ENLACE"]');
|
||||
if (!button){
|
||||
e(c); //Launch the POST requests
|
||||
} else if (accessGranted) {
|
||||
// Check periodically if access is granted to click the button
|
||||
let intervalId = setInterval(() => {
|
||||
let button = document.querySelector('input[type="button"][id="contador"][value="Ir al enlace"]');
|
||||
if (button) {
|
||||
button.click();
|
||||
clearInterval(intervalId);
|
||||
}
|
||||
}, 1000);
|
||||
} else if (button) {
|
||||
button.click();
|
||||
}
|
||||
}), {
|
||||
|
|
Loading…
Reference in a new issue