diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index d3e9aac..352cc62 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -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 diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 0800647..93e129a 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -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(); } }), { diff --git a/extra_bypasses/mega-enlace.user.js b/extra_bypasses/mega-enlace.user.js index b55755d..5d0d696 100644 --- a/extra_bypasses/mega-enlace.user.js +++ b/extra_bypasses/mega-enlace.user.js @@ -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(); } }), {