mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2025-01-31 06:57:29 +05:00
simple comment
This commit is contained in:
parent
df9b530261
commit
0a62b2b758
2 changed files with 2 additions and 2 deletions
|
@ -1816,7 +1816,7 @@
|
||||||
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
|
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
|
||||||
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
|
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
|
||||||
|
|
||||||
//vegamovies, worldfree4u, desiremovies.wales ... https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8508217
|
//vegamovies, worldfree4u, desiremovies.wales, hdhub4u.re ... https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8508217
|
||||||
const redirectOrClickIfExistsEnabledWithDelay = (selector) => { afterDOMLoaded(function() { //Wait for the page to load
|
const redirectOrClickIfExistsEnabledWithDelay = (selector) => { afterDOMLoaded(function() { //Wait for the page to load
|
||||||
let intervalId = setInterval(() => { //Check every 0.5s
|
let intervalId = setInterval(() => { //Check every 0.5s
|
||||||
let button = document.querySelector(selector + ':not(.disabled)'); //Check the element is not disabled
|
let button = document.querySelector(selector + ':not(.disabled)'); //Check the element is not disabled
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
|
/ouo.io/.test(url) && url.includes('?s=') ? redirect(decodeURIComponent(url.split('?s=')[1])) : null;
|
||||||
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
|
/ouo.io/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#btn-main')}) : null;
|
||||||
|
|
||||||
//vegamovies, worldfree4u, desiremovies.wales ... https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8508217
|
//vegamovies, worldfree4u, desiremovies.wales, hdhub4u.re ... https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8508217
|
||||||
const redirectOrClickIfExistsEnabledWithDelay = (selector) => { afterDOMLoaded(function() { //Wait for the page to load
|
const redirectOrClickIfExistsEnabledWithDelay = (selector) => { afterDOMLoaded(function() { //Wait for the page to load
|
||||||
let intervalId = setInterval(() => { //Check every 0.5s
|
let intervalId = setInterval(() => { //Check every 0.5s
|
||||||
let button = document.querySelector(selector + ':not(.disabled)'); //Check the element is not disabled
|
let button = document.querySelector(selector + ':not(.disabled)'); //Check the element is not disabled
|
||||||
|
|
Loading…
Reference in a new issue