diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index b2cb28b..92e3608 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.6 +// @version 93.4.7 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 3b41076..28f2a10 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.6 +// @version 93.4.7 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -2438,6 +2438,17 @@ }, 2000); } } else if (currentStep.includes('step 4')) { + buttonTexts = ['Open', 'Start', 'Begin', 'Click here to start']; + clickAvailableButtons(buttonTexts); + setTimeout(function() { + buttonTexts = ['Click here to verify', 'Verify', 'Please wait..', 'Loading..']; + clickAvailableButtons(buttonTexts); + setTimeout(function() { + buttonTexts = ['Next Post', 'Next step', 'Get to next step', 'Go next', 'Continue']; + clickAvailableButtons(buttonTexts); + }, 2000); + }, 8000) + } else if (currentStep.includes('step 5')) { buttonTexts = ['Open', 'Start', 'Begin', 'Click here to start']; clickAvailableButtons(buttonTexts); setTimeout(function() { @@ -2533,7 +2544,11 @@ /hdpastes.com\/\?v=/.test(url) ? afterDOMLoaded(function() {clickIfRecaptchaSolved('.btn-success');}) : null; // shrtbr.com/aaNEJEXp - t.me/xred2 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/122 - /encurtads.net|financacerta.com/.test(url) ? afterDOMLoaded(function() { redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]);}) : null; + /encurtads.net|financacerta.com/.test(url) ? afterDOMLoaded(function() { + //redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"second_safelink_url":"(.*?)"/)[1]); + //redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]); + clickIfExists('#wpsafe-link > a:nth-child(1) > button:nth-child(1)'); + }) : null; /shrtbr.com/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.get-link.btn.btn-lg.btn-success:not(.disabled):not(div.banner:nth-child(4) > div:nth-child(1) > a:nth-child(1))');}) : null; // https://f.technicalatg.in/6iTpuM1 - https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10954732 diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 17aa03f..40b029e 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -998,6 +998,17 @@ }, 2000); } } else if (currentStep.includes('step 4')) { + buttonTexts = ['Open', 'Start', 'Begin', 'Click here to start']; + clickAvailableButtons(buttonTexts); + setTimeout(function() { + buttonTexts = ['Click here to verify', 'Verify', 'Please wait..', 'Loading..']; + clickAvailableButtons(buttonTexts); + setTimeout(function() { + buttonTexts = ['Next Post', 'Next step', 'Get to next step', 'Go next', 'Continue']; + clickAvailableButtons(buttonTexts); + }, 2000); + }, 8000) + } else if (currentStep.includes('step 5')) { buttonTexts = ['Open', 'Start', 'Begin', 'Click here to start']; clickAvailableButtons(buttonTexts); setTimeout(function() { @@ -1093,7 +1104,11 @@ /hdpastes.com\/\?v=/.test(url) ? afterDOMLoaded(function() {clickIfRecaptchaSolved('.btn-success');}) : null; // shrtbr.com/aaNEJEXp - t.me/xred2 - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/122 - /encurtads.net|financacerta.com/.test(url) ? afterDOMLoaded(function() { redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]);}) : null; + /encurtads.net|financacerta.com/.test(url) ? afterDOMLoaded(function() { + //redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"second_safelink_url":"(.*?)"/)[1]); + //redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]); + clickIfExists('#wpsafe-link > a:nth-child(1) > button:nth-child(1)'); + }) : null; /shrtbr.com/.test(url) ? afterDOMLoaded(function() {redirectIfExists('a.get-link.btn.btn-lg.btn-success:not(.disabled):not(div.banner:nth-child(4) > div:nth-child(1) > a:nth-child(1))');}) : null; // https://f.technicalatg.in/6iTpuM1 - https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10954732