Amm0ni4 2024-10-06 00:46:21 +02:00
parent fe5fcc52b3
commit 15768d5910
3 changed files with 10 additions and 8 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.9 // @version 92.8.10
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.9 // @version 92.8.10
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -2812,9 +2812,10 @@
function checkForMessage() { function checkForMessage() {
const paragraphs = document.getElementsByTagName("p"); const paragraphs = document.getElementsByTagName("p");
for (let p of paragraphs) { for (let p of paragraphs) {
if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue") || p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha")) { if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue")) {
console.log("Detected the message. Reloading the page..."); location.reload(); // Reload the page
//alert("Unbypassable page type. Reloading the page..."); return; // Exit the function after reloading
} else if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha") && isElementVisibleAndEnabled(p)) {
location.reload(); // Reload the page location.reload(); // Reload the page
return; // Exit the function after reloading return; // Exit the function after reloading
} }

View file

@ -25,9 +25,10 @@
function checkForMessage() { function checkForMessage() {
const paragraphs = document.getElementsByTagName("p"); const paragraphs = document.getElementsByTagName("p");
for (let p of paragraphs) { for (let p of paragraphs) {
if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue") || p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha")) { if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Continue")) {
console.log("Detected the message. Reloading the page..."); location.reload(); // Reload the page
//alert("Unbypassable page type. Reloading the page..."); return; // Exit the function after reloading
} else if (p.textContent.includes("Click Any Ad & Keep It Open For 15 Seconds To Unlock Captcha") && isElementVisibleAndEnabled(p)) {
location.reload(); // Reload the page location.reload(); // Reload the page
return; // Exit the function after reloading return; // Exit the function after reloading
} }