From 5adc2347ed4a037c8d426b7a9a8257427227ff6b Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Wed, 17 Apr 2024 16:40:56 +0200 Subject: [PATCH] fix for tiktokcounter --- 3_patch.py | 2 ++ Bypass_All_Shortlinks.meta.js | 2 +- Bypass_All_Shortlinks.user.js | 7 ++++--- extra_bypasses/extra_bypasses.user.js | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/3_patch.py b/3_patch.py index fce68d4..ebf2c76 100644 --- a/3_patch.py +++ b/3_patch.py @@ -69,6 +69,8 @@ def modify_script_extra(file_path): content = content.replace("ClickIfExists('#slu-continue')", "ClickIfExists('#btn-3')") + content = content.replace("ReadytoClick('.btn-primary.btn-warningbtn.btn'", "ReadytoClick('#cbt'") + code_to_replace = """$('form[id=go-link]').unbind().submit(function(e) {e.preventDefault(); var form = $(this);var url = form.attr('action');const pesan = form.find('button'); const notforsale = $(".navbar-collapse.collapse");const blogger = $(".main-header");const pemula = $(".col-sm-6.hidden-xs"); $.ajax({type: "POST", url: url, data: form.serialize(), beforeSend: function(xhr) {pesan.attr("disabled", "disabled");$('a.get-link').text('Bypassed by Bloggerpemula'); diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 5694165..c7a1226 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 91.8.9 +// @version 91.8.10 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index a065b3f..50e237a 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 91.8.9 +// @version 91.8.10 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -1503,7 +1503,7 @@ let exeo = setInterval(() => {if (bp('.timer').innerText == '0') {clearInterval(exeo);ReadytoClick('#submit-button');}}, 2 * 1000);}); BypassedByBloggerPemula(/quesignifi.ca|tiktokcounter.net/, function() {let profitsfly = setInterval(() => { if (elementExists('.h-captcha') && Captchacheck() && bp('#cbt').innerText == 'Continue') {ClickIfExists('.btn-primary.btn-warningbtn.btn', 1);clearInterval(profitsfly); - ReadytoClick('.btn-primary.btn-warningbtn.btn', 2);} else if (!elementExists('.h-captcha') && bp('.countdown').innerText == '0') {clearInterval(profitsfly);ReadytoClick('.btn-primary.btn-warningbtn.btn', 1);}}, 2 * 1000);}); + ReadytoClick('#cbt', 2);} else if (!elementExists('.h-captcha') && bp('.countdown').innerText == '0') {clearInterval(profitsfly);ReadytoClick('#cbt', 1);}}, 2 * 1000);}); BypassedByBloggerPemula(/(on-scroll|diudemy|maqal360).com/, function() {EnableRCF();let adlink = setInterval(() => { if (bp('#countdown').innerText == '0') {clearInterval(adlink);ReadytoClick('#append > :nth-child(1)');}}, 2 * 1000);}); BypassedByBloggerPemula(/(forexrw7|forex-articles|3rabsports|fx-22).com|gold-24.net|bedrat.xyz|maos4alaw.online/, function() { @@ -2209,7 +2209,8 @@ /v2links.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; // psa.wf, olamovies.bar, https://ez4short.com/ar02kkolam - (adding here stuff missing from the main script) - /tiktokcounter.net/.test(url) ? preventForcedFocusOnWindow() : null; + ///tiktokcounter.net/.test(url) ? preventForcedFocusOnWindow() : null; + /tiktokcounter.net/.test(url) ? setInterval(function(){window.wT9882=0;},1000) : null; // /tiktokcounter.net/.test(url) ? afterDOMLoaded(function() {wT9982 = 0;}) : null; //Skip the timer // const clickTikTokCounterButtons = () => { let buttonSelector = 'button#cbt.btn.btn-warningbtn.btn-primary'; let intervalId = setInterval(() => { let button = document.querySelector(buttonSelector); if (!button.hasAttribute('disabled') && button.innerHTML.includes('Continue')) { clearInterval(intervalId); isHoverDone = true; setTimeout(function() { button.click();}, 500) } }, 500); }; // /tiktokcounter.net/.test(url) ? afterDOMLoaded(function() {clickTikTokCounterButtons()}) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 5f8a8ff..49a951c 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -489,7 +489,8 @@ /v2links.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; // psa.wf, olamovies.bar, https://ez4short.com/ar02kkolam - (adding here stuff missing from the main script) - /tiktokcounter.net/.test(url) ? preventForcedFocusOnWindow() : null; + ///tiktokcounter.net/.test(url) ? preventForcedFocusOnWindow() : null; + /tiktokcounter.net/.test(url) ? setInterval(function(){window.wT9882=0;},1000) : null; // /tiktokcounter.net/.test(url) ? afterDOMLoaded(function() {wT9982 = 0;}) : null; //Skip the timer // const clickTikTokCounterButtons = () => { let buttonSelector = 'button#cbt.btn.btn-warningbtn.btn-primary'; let intervalId = setInterval(() => { let button = document.querySelector(buttonSelector); if (!button.hasAttribute('disabled') && button.innerHTML.includes('Continue')) { clearInterval(intervalId); isHoverDone = true; setTimeout(function() { button.click();}, 500) } }, 500); }; // /tiktokcounter.net/.test(url) ? afterDOMLoaded(function() {clickTikTokCounterButtons()}) : null;