diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index ce1b5dd..1034de7 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -2197,7 +2197,7 @@ /(linkvip|blitly).io/.test(url) ? url.includes('url=') ? redirect(new URL(url).searchParams.get('url')) : null : null; // megalink.pro - https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/235270 - https://megalink.pro/pD6wK (nsfw) - /megalink.pro/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; + /megalink.pro/.test(url) ? afterWindowLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; })(); diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 74b11d8..4b214e0 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -471,7 +471,7 @@ /(linkvip|blitly).io/.test(url) ? url.includes('url=') ? redirect(new URL(url).searchParams.get('url')) : null : null; // megalink.pro - https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/235270 - https://megalink.pro/pD6wK (nsfw) - /megalink.pro/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; + /megalink.pro/.test(url) ? afterWindowLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; })();