From 05089c8c9e6b9259e92bfa29c58772fd0e42b96a Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Fri, 18 Oct 2024 00:36:44 +0200 Subject: [PATCH] add udlinks, rocklinks and techkhulasha for toonshub.xyz --- Bypass_All_Shortlinks.meta.js | 8 +++- Bypass_All_Shortlinks.user.js | 53 ++++++++++++++++++++++----- extra_bypasses/extra_bypasses.user.js | 51 +++++++++++++++++++++----- supported_sites.txt | 6 +++ 4 files changed, 98 insertions(+), 20 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 6373145..1f015ed 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 92.8.31 +// @version 92.8.32 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -737,6 +737,12 @@ // @include /encurtads.net/ // @include /shrtbr.com/ // @include /dramaday.me\/[^\/]+\/$/ +// @include /mobilenagari.com|defencewallah.in/ +// @include /bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/ +// @include /rocklinks.in/ +// @include /www.udlinks.com/ +// @include /techkhulasha.com/ +// @include /golink.bloggerishyt.in/ // @include /filecrypt.(cc|co)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /(mega-enlace|acortados).com/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 75a29de..d97d98d 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 92.8.31 +// @version 92.8.32 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -737,6 +737,12 @@ // @include /encurtads.net/ // @include /shrtbr.com/ // @include /dramaday.me\/[^\/]+\/$/ +// @include /mobilenagari.com|defencewallah.in/ +// @include /bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/ +// @include /rocklinks.in/ +// @include /www.udlinks.com/ +// @include /techkhulasha.com/ +// @include /golink.bloggerishyt.in/ // @include /filecrypt.(cc|co)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /(mega-enlace|acortados).com/ @@ -1935,8 +1941,10 @@ // multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91 function modifyScript(searchText, replacementText) { + const isRegex = searchText instanceof RegExp; + document.querySelectorAll('script').forEach(script => { - if (script.innerText.includes(searchText)) { + if (isRegex ? searchText.test(script.innerText) : script.innerText.includes(searchText)) { script.remove(); document.body.appendChild(Object.assign(document.createElement('script'), { text: script.innerText.replace(new RegExp(searchText, 'g'), replacementText) @@ -1944,6 +1952,7 @@ } }); } + const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) { @@ -2077,14 +2086,6 @@ /droplink.co/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.btn')}) : null; /lnks.primarchweb.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn--bg-primary')}) : null; - // toonshub.xyz - https://earnmoneyyt.com/safe.php?link=RNRm2b2H - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#tp98')}) : null; - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn6')}) : null; - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.tp-blue')}) : null; - /sheralinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - /go.bloggingaro.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - /land.povathemes.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - // gplinks, used in psa.wf sometimes, changes domains daily, use https://greasyfork.org/scripts/490365 instead /* if (/mdsuuniversity.org|instander.me|jameen.xyz|dhamakamusic.ink|eternalcbse.i|financialstudy.me|(foreverhealth|newzwala.co|nhmgujarat|jobkijankari|jobwaala|learnwithsaif|lyricsx|smartsetkari|theringtonesworld|recruitmentrasta|mediniweb|pmyojanasarkari|netflixvip|mghindinews|gentletrail|w3hindi|ryzenmusic).in|(anumin|awolio|cgbsesupport|gptproguide|iplquotes|kaisekareblog|minijankari|news36tech|newsloti|odiamusicsong|sugargliderfaqs|picassoappk|geniuseducares|ndlifestylego|raidersixgameapk|sarkariexam365|potter-world|jankari4u|trancebazar|taazaalerts).com/.test(url)) { const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { setTimeout(function() {button.click()}, 500);; clearInterval(intervalId); } }, 1000); @@ -2097,6 +2098,38 @@ } /gplinks.co\/[^/#]+\/(?:#|\?pid=)/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#link-btn > a')}) : null; */ + // toonshub.xyz - https://earnmoneyyt.com/safe.php?link=RNRm2b2H + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#tp98')}) : null; + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn6')}) : null; + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.tp-blue')}) : null; + /sheralinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + /go.bloggingaro.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + /land.povathemes.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://www.udlinks.com/kzrJRjj + /bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/.test(url) ? afterDOMLoaded(function() { + window.count = 0; + clickWithDelay('#tp98', 2000); + clickWithDelay('#btn6', 2000); + }) : null; + /www.udlinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://rocklinks.in/1ZqZZ2B + /mobilenagari.com|defencewallah.in/.test(url) ? afterDOMLoaded(function() { + clickIfExistsNonStop('a.bt-success'); + clickIfExists('#wpsafe-link > a:nth-child(1)'); + clickIfExists('#wpsafelinkhuman'); + }) : null; + /rocklinks.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://www.techkhulasha.com/?token=T3VzT + /techkhulasha.com/.test(url) ? afterDOMLoaded(function() { + modifyScript(/9000|30000|1000/gm, '100'); + clickIfExists('a.bt-success'); + if (document.querySelector('#ad-top > h4:nth-child(2)').innerHTML.includes('step 2')) {clickIfExists('#gotolink')}; + }) : null; + /golink.bloggerishyt.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + // gtlinks, used in toonsouthindia.com /tech.hipsonyc.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.bt-success')}) : null; /tech.hipsonyc.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#popup-button')}) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index c035751..5f96760 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -187,6 +187,12 @@ // @include /dramaday.me\/[^\/]+\/$/ // @match https://fitdynamos.com/* // @match https://fc-lc.xyz/* +// @include /mobilenagari.com|defencewallah.in/ +// @include /bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/ +// @include /rocklinks.in/ +// @include /www.udlinks.com/ +// @include /techkhulasha.com/ +// @include /golink.bloggerishyt.in/ // @run-at document-start // ==/UserScript== @@ -443,8 +449,10 @@ // multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91 function modifyScript(searchText, replacementText) { + const isRegex = searchText instanceof RegExp; + document.querySelectorAll('script').forEach(script => { - if (script.innerText.includes(searchText)) { + if (isRegex ? searchText.test(script.innerText) : script.innerText.includes(searchText)) { script.remove(); document.body.appendChild(Object.assign(document.createElement('script'), { text: script.innerText.replace(new RegExp(searchText, 'g'), replacementText) @@ -452,6 +460,7 @@ } }); } + const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) { @@ -585,14 +594,6 @@ /droplink.co/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.btn')}) : null; /lnks.primarchweb.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn--bg-primary')}) : null; - // toonshub.xyz - https://earnmoneyyt.com/safe.php?link=RNRm2b2H - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#tp98')}) : null; - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn6')}) : null; - /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.tp-blue')}) : null; - /sheralinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - /go.bloggingaro.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - /land.povathemes.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; - // gplinks, used in psa.wf sometimes, changes domains daily, use https://greasyfork.org/scripts/490365 instead /* if (/mdsuuniversity.org|instander.me|jameen.xyz|dhamakamusic.ink|eternalcbse.i|financialstudy.me|(foreverhealth|newzwala.co|nhmgujarat|jobkijankari|jobwaala|learnwithsaif|lyricsx|smartsetkari|theringtonesworld|recruitmentrasta|mediniweb|pmyojanasarkari|netflixvip|mghindinews|gentletrail|w3hindi|ryzenmusic).in|(anumin|awolio|cgbsesupport|gptproguide|iplquotes|kaisekareblog|minijankari|news36tech|newsloti|odiamusicsong|sugargliderfaqs|picassoappk|geniuseducares|ndlifestylego|raidersixgameapk|sarkariexam365|potter-world|jankari4u|trancebazar|taazaalerts).com/.test(url)) { const clickIfVisible2 = (selector) => setInterval(() => { const button = document.querySelector(selector); if (button && button.style.display === 'block') { setTimeout(function() {button.click()}, 500);; clearInterval(intervalId); } }, 1000); @@ -605,6 +606,38 @@ } /gplinks.co\/[^/#]+\/(?:#|\?pid=)/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('#link-btn > a')}) : null; */ + // toonshub.xyz - https://earnmoneyyt.com/safe.php?link=RNRm2b2H + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#tp98')}) : null; + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn6')}) : null; + /earnmoneyyt.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.tp-blue')}) : null; + /sheralinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + /go.bloggingaro.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + /land.povathemes.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://www.udlinks.com/kzrJRjj + /bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/.test(url) ? afterDOMLoaded(function() { + window.count = 0; + clickWithDelay('#tp98', 2000); + clickWithDelay('#btn6', 2000); + }) : null; + /www.udlinks.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://rocklinks.in/1ZqZZ2B + /mobilenagari.com|defencewallah.in/.test(url) ? afterDOMLoaded(function() { + clickIfExistsNonStop('a.bt-success'); + clickIfExists('#wpsafe-link > a:nth-child(1)'); + clickIfExists('#wpsafelinkhuman'); + }) : null; + /rocklinks.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + + // https://www.techkhulasha.com/?token=T3VzT + /techkhulasha.com/.test(url) ? afterDOMLoaded(function() { + modifyScript(/9000|30000|1000/gm, '100'); + clickIfExists('a.bt-success'); + if (document.querySelector('#ad-top > h4:nth-child(2)').innerHTML.includes('step 2')) {clickIfExists('#gotolink')}; + }) : null; + /golink.bloggerishyt.in/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('a.get-link')}) : null; + // gtlinks, used in toonsouthindia.com /tech.hipsonyc.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('.bt-success')}) : null; /tech.hipsonyc.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#popup-button')}) : null; diff --git a/supported_sites.txt b/supported_sites.txt index 47b4dae..dcd9da7 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -717,6 +717,12 @@ https://paster.so/* /encurtads.net/ /shrtbr.com/ /dramaday.me\/[^\/]+\/$/ +/mobilenagari.com|defencewallah.in/ +/bgmiupdatehub.com|novelquote.com|superheromaniac.com|sabarpratham.in|pubprofit.in/ +/rocklinks.in/ +/www.udlinks.com/ +/techkhulasha.com/ +/golink.bloggerishyt.in/ /filecrypt.(cc|co)/ /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ /(mega-enlace|acortados).com/