diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 00cc3a0..6bbd35d 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.4.16 +// @version 93.4.17 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -716,6 +716,7 @@ // @include /paster.gg/ // @include /go.zovo.ink/ // @include /^https:\/\/kisalt\.com\/.*/ +// @include /app.link2unlock.com/ // @include /filecrypt.(cc|co)/ // @include /(mega-enlace|acortados).com/ // @include /^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 707d0d8..b1d126c 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -4,7 +4,7 @@ // @run-at document-start // @author Amm0ni4 // @noframes -// @version 93.4.16 +// @version 93.4.17 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -716,6 +716,7 @@ // @include /paster.gg/ // @include /go.zovo.ink/ // @include /^https:\/\/kisalt\.com\/.*/ +// @include /app.link2unlock.com/ // @include /filecrypt.(cc|co)/ // @include /(mega-enlace|acortados).com/ // @include /^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/ @@ -2645,6 +2646,15 @@ //const redirectIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); redirect(button.href); } }, 1000); }; /link.paid4link.com/.test(url) ? afterDOMLoaded(function() { redirectIfExists('#get-link-button');}) : null; + // adsafelink / link2unlock - https://github.com/realodix/AdBlockID/issues/1874 + const clickIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); button.click(); } }, 1000); }; + /app.link2unlock.com/.test(url) ? afterDOMLoaded(function() { + clickIfExists('#btn-1'); + clickIfExists('#btn-2'); + clickIfCloudflareCaptchaSolved('#btn-3'); + clickIfExists('#submit-button'); + }) : null; + })(); (function() { diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 86e7b63..dac0fd5 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -210,6 +210,7 @@ // @include /^https:\/\/kisalt\.com\/.*/ // @match *://*.ukrupdate.com/* // @match *://*.aryx.xyz/* +// @include /app.link2unlock.com/ // @run-at document-start // ==/UserScript== @@ -1203,6 +1204,15 @@ //const redirectIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); redirect(button.href); } }, 1000); }; /link.paid4link.com/.test(url) ? afterDOMLoaded(function() { redirectIfExists('#get-link-button');}) : null; + // adsafelink / link2unlock - https://github.com/realodix/AdBlockID/issues/1874 + const clickIfCloudflareCaptchaSolved = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (checkCloudflareCaptchaSolved()) { clearInterval(intervalId); button.click(); } }, 1000); }; + /app.link2unlock.com/.test(url) ? afterDOMLoaded(function() { + clickIfExists('#btn-1'); + clickIfExists('#btn-2'); + clickIfCloudflareCaptchaSolved('#btn-3'); + clickIfExists('#submit-button'); + }) : null; + })(); (function() { diff --git a/supported_sites.txt b/supported_sites.txt index 2ee8e8d..18dcfd9 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -697,6 +697,7 @@ https://paster.so/* /paster.gg/ /go.zovo.ink/ /^https:\/\/kisalt\.com\/.*/ +/app.link2unlock.com/ /filecrypt.(cc|co)/ /(mega-enlace|acortados).com/ /^https:\/\/.*\.((tradeshowrating|historyofyesterday|insurelean).com|playonpc.online|quins.us)\/.*/