From 90f6c3a5adff37da4febf2c0851e516364898ce0 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Tue, 19 Mar 2024 15:49:52 +0100 Subject: [PATCH] minor fix --- Bypass_All_Shortlinks.user.js | 1 + extra_bypasses/extra_bypasses.user.js | 1 + 2 files changed, 2 insertions(+) diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index abb5b49..d482f1a 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -2105,6 +2105,7 @@ /pastebin.com\/raw/.test(url) ? !function() {const rawContent = document.body.textContent.trim(); isValidUrl(rawContent) ? setTimeout(() => {redirect(rawContent)}, 1500) : null; }() : null; //for chrome, without afterDOMLoaded (must be second) const clickIfCorrectText = (selector, textContent) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button && button.innerText.includes(textContent) ) { clearInterval(intervalId); setTimeout(() => { button.click();}, 500); }}, 500); }; + /tawda.xyz\/tag/.test(url) ? preventForcedFocusOnWindow() : null; /tawda.xyz\/tag/.test(url) ? popupsToRedirects() : null; /tawda.xyz\/tag/.test(url) ? afterDOMLoaded(function() {clickIfCorrectText('#continueButton', 'Click to continue')}) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index d3d8537..626fd73 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -392,6 +392,7 @@ /pastebin.com\/raw/.test(url) ? !function() {const rawContent = document.body.textContent.trim(); isValidUrl(rawContent) ? setTimeout(() => {redirect(rawContent)}, 1500) : null; }() : null; //for chrome, without afterDOMLoaded (must be second) const clickIfCorrectText = (selector, textContent) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button && button.innerText.includes(textContent) ) { clearInterval(intervalId); setTimeout(() => { button.click();}, 500); }}, 500); }; + /tawda.xyz\/tag/.test(url) ? preventForcedFocusOnWindow() : null; /tawda.xyz\/tag/.test(url) ? popupsToRedirects() : null; /tawda.xyz\/tag/.test(url) ? afterDOMLoaded(function() {clickIfCorrectText('#continueButton', 'Click to continue')}) : null;