mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33:02 +05:00
minor fix
This commit is contained in:
parent
74bb73450d
commit
90f6c3a5ad
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue