added autoskip for leechpremium step and domain for lksfy

This commit is contained in:
Amm0ni4 2024-10-15 00:38:55 +02:00
parent 6ea424d927
commit 35c7f643ca
4 changed files with 84 additions and 20 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.22 // @version 92.8.23
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -578,7 +578,8 @@
// @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/ // @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/
// @include /dropgalaxy.(com|co)\/drive/ // @include /dropgalaxy.(com|co)\/drive/
// @include /short-ly.co/ // @include /short-ly.co/
// @include /(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/ // @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/
// @include /uqozy.com|posterify.net|drinkspartner.com/
// @include /blogging.techworldx.net|10beasts.biz/ // @include /blogging.techworldx.net|10beasts.biz/
// @include /starsddl.me\/short/ // @include /starsddl.me\/short/
// @include /tech.unblockedgames.world/ // @include /tech.unblockedgames.world/
@ -732,6 +733,7 @@
// @include /onlinetntextbooks.com/ // @include /onlinetntextbooks.com/
// @include /www.saferoms.com\/\?go=/ // @include /www.saferoms.com\/\?go=/
// @include /hdpastes.com\/\?v=/ // @include /hdpastes.com\/\?v=/
// @include /shrinkforearn.in/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.22 // @version 92.8.23
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -578,7 +578,8 @@
// @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/ // @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/
// @include /dropgalaxy.(com|co)\/drive/ // @include /dropgalaxy.(com|co)\/drive/
// @include /short-ly.co/ // @include /short-ly.co/
// @include /(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/ // @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/
// @include /uqozy.com|posterify.net|drinkspartner.com/
// @include /blogging.techworldx.net|10beasts.biz/ // @include /blogging.techworldx.net|10beasts.biz/
// @include /starsddl.me\/short/ // @include /starsddl.me\/short/
// @include /tech.unblockedgames.world/ // @include /tech.unblockedgames.world/
@ -732,6 +733,7 @@
// @include /onlinetntextbooks.com/ // @include /onlinetntextbooks.com/
// @include /www.saferoms.com\/\?go=/ // @include /www.saferoms.com\/\?go=/
// @include /hdpastes.com\/\?v=/ // @include /hdpastes.com\/\?v=/
// @include /shrinkforearn.in/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/
@ -1910,10 +1912,26 @@
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null; /short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
// multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91 // multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91
//##Intermediate buttons function modifyScript(searchText, replacementText) {
const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) { setTimeout(() => button.click(), 500); } }, 2000)); document.querySelectorAll('script').forEach(script => {
if (/(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/.test(url)){ if (script.innerText.includes(searchText)) {
script.remove();
document.body.appendChild(Object.assign(document.createElement('script'), {
text: script.innerText.replace(new RegExp(searchText, 'g'), replacementText)
}));
}
});
}
const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => {
const button = document.querySelector(buttonSelector);
if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) {
setTimeout(() => button.click(), 500);
}
}, 2000));
if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/.test(url)){
preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently
afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers
//##Intermediate buttons
handleShamikcardButtons('#topButton', 'Click to Continue'); handleShamikcardButtons('#topButton', 'Click to Continue');
handleShamikcardButtons('#topButton', 'Continue'); handleShamikcardButtons('#topButton', 'Continue');
handleShamikcardButtons('#bottomButton', 'Click to Continue'); handleShamikcardButtons('#bottomButton', 'Click to Continue');
@ -1924,6 +1942,22 @@
} }
/linkshortify.in|lksfy.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; // added for https://lksfy.com/59EhFF /linkshortify.in|lksfy.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; // added for https://lksfy.com/59EhFF
// https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10649981
// https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/263369
// https://shrinkforearn.xyz/vAs1ikmO - leechpremium.link
const clickWithDelay = (selector, delay) => { setTimeout(function() { document.querySelector(selector).click(); }, delay); };
if (/uqozy.com|posterify.net|drinkspartner.com/.test(url)) {
afterDOMLoaded(function() {
modifyScript('timeLeft = duration', 'timeLeft = 0'); // skip timers
clickWithDelay('#bottomButton', 2000);
clickWithDelay('#open-link', 6000);
});
}
/shrinkforearn.in/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null;
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
// ssrmovies.rent mkvhub.rent hdhub4u.rsvp // ssrmovies.rent mkvhub.rent hdhub4u.rsvp
if (/blogging.techworldx.net|10beasts.biz/.test(url)) { if (/blogging.techworldx.net|10beasts.biz/.test(url)) {
popupsToRedirects();//popupsToRedirects not working for this site apparently popupsToRedirects();//popupsToRedirects not working for this site apparently
@ -2330,7 +2364,6 @@
}) : null; }) : null;
// vnshortner - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/110, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/149 // vnshortner - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/110, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/149
const clickWithDelay = (selector, delay) => { setTimeout(function() { document.querySelector(selector).click(); }, delay); };
/importantclass.com/.test(url) ? afterDOMLoaded(function() { /importantclass.com/.test(url) ? afterDOMLoaded(function() {
clickWithDelay('#my-btn', 3000); clickWithDelay('#my-btn', 3000);
}) : null; }) : null;
@ -2372,9 +2405,6 @@
/mastramstories.com\/api.php\?api/.test(url) ? redirect(atob(url.split('?api=')[1])) : null; /mastramstories.com\/api.php\?api/.test(url) ? redirect(atob(url.split('?api=')[1])) : null;
/links.kmhd.net\/file/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.inline-flex');}) : null; /links.kmhd.net\/file/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.inline-flex');}) : null;
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
// saferoms.com // saferoms.com
/www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() { /www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() {
let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href; let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href;

View file

@ -28,7 +28,8 @@
// @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/ // @include /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/
// @include /dropgalaxy.(com|co)\/drive/ // @include /dropgalaxy.(com|co)\/drive/
// @include /short-ly.co/ // @include /short-ly.co/
// @include /(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/ // @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/
// @include /uqozy.com|posterify.net|drinkspartner.com/
// @include /blogging.techworldx.net|10beasts.biz/ // @include /blogging.techworldx.net|10beasts.biz/
// @include /starsddl.me\/short/ // @include /starsddl.me\/short/
// @include /tech.unblockedgames.world/ // @include /tech.unblockedgames.world/
@ -182,6 +183,7 @@
// @include /onlinetntextbooks.com/ // @include /onlinetntextbooks.com/
// @include /www.saferoms.com\/\?go=/ // @include /www.saferoms.com\/\?go=/
// @include /hdpastes.com\/\?v=/ // @include /hdpastes.com\/\?v=/
// @include /shrinkforearn.in/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -418,10 +420,26 @@
/short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null; /short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null;
// multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91 // multimovies.space, https://github.com/FastForwardTeam/FastForward/issues/1434, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/91
//##Intermediate buttons function modifyScript(searchText, replacementText) {
const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector(buttonSelector); if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) { setTimeout(() => button.click(), 500); } }, 2000)); document.querySelectorAll('script').forEach(script => {
if (/(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/.test(url)){ if (script.innerText.includes(searchText)) {
script.remove();
document.body.appendChild(Object.assign(document.createElement('script'), {
text: script.innerText.replace(new RegExp(searchText, 'g'), replacementText)
}));
}
});
}
const handleShamikcardButtons = (buttonSelector, targetText) => afterDOMLoaded(() => setInterval(() => {
const button = document.querySelector(buttonSelector);
if (button && button.textContent.includes(targetText) && !(targetText == 'Get Link')) {
setTimeout(() => button.click(), 500);
}
}, 2000));
if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/.test(url)){
preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently
afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers
//##Intermediate buttons
handleShamikcardButtons('#topButton', 'Click to Continue'); handleShamikcardButtons('#topButton', 'Click to Continue');
handleShamikcardButtons('#topButton', 'Continue'); handleShamikcardButtons('#topButton', 'Continue');
handleShamikcardButtons('#bottomButton', 'Click to Continue'); handleShamikcardButtons('#bottomButton', 'Click to Continue');
@ -432,6 +450,22 @@
} }
/linkshortify.in|lksfy.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; // added for https://lksfy.com/59EhFF /linkshortify.in|lksfy.com/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null; // added for https://lksfy.com/59EhFF
// https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10649981
// https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/263369
// https://shrinkforearn.xyz/vAs1ikmO - leechpremium.link
const clickWithDelay = (selector, delay) => { setTimeout(function() { document.querySelector(selector).click(); }, delay); };
if (/uqozy.com|posterify.net|drinkspartner.com/.test(url)) {
afterDOMLoaded(function() {
modifyScript('timeLeft = duration', 'timeLeft = 0'); // skip timers
clickWithDelay('#bottomButton', 2000);
clickWithDelay('#open-link', 6000);
});
}
/shrinkforearn.in/.test(url) ? afterDOMLoaded(function() {clickIfNotDisabled('a.get-link')}) : null;
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
// ssrmovies.rent mkvhub.rent hdhub4u.rsvp // ssrmovies.rent mkvhub.rent hdhub4u.rsvp
if (/blogging.techworldx.net|10beasts.biz/.test(url)) { if (/blogging.techworldx.net|10beasts.biz/.test(url)) {
popupsToRedirects();//popupsToRedirects not working for this site apparently popupsToRedirects();//popupsToRedirects not working for this site apparently
@ -838,7 +872,6 @@
}) : null; }) : null;
// vnshortner - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/110, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/149 // vnshortner - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/110, https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/149
const clickWithDelay = (selector, delay) => { setTimeout(function() { document.querySelector(selector).click(); }, delay); };
/importantclass.com/.test(url) ? afterDOMLoaded(function() { /importantclass.com/.test(url) ? afterDOMLoaded(function() {
clickWithDelay('#my-btn', 3000); clickWithDelay('#my-btn', 3000);
}) : null; }) : null;
@ -880,9 +913,6 @@
/mastramstories.com\/api.php\?api/.test(url) ? redirect(atob(url.split('?api=')[1])) : null; /mastramstories.com\/api.php\?api/.test(url) ? redirect(atob(url.split('?api=')[1])) : null;
/links.kmhd.net\/file/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.inline-flex');}) : null; /links.kmhd.net\/file/.test(url) ? afterDOMLoaded(function() {clickIfExists('button.inline-flex');}) : null;
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
// saferoms.com // saferoms.com
/www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() { /www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() {
let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href; let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href;

View file

@ -558,7 +558,8 @@ https://paster.so/*
/((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/ /((infytips|remixodiadj).in|(cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike|caronwhaley|maxxfour|thewizitale).com|courselinkfree.us|10desires.(org|net)|theapknews.shop|trendzguruji.me|speedynews.xyz|nzarticles.pro|blog.offerboom.top)/
/dropgalaxy.(com|co)\/drive/ /dropgalaxy.(com|co)\/drive/
/short-ly.co/ /short-ly.co/
/(shramikcard|pmkisanlists|techishant|cinedesi).in|cookad.net|tejtime24.com/ /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/
/uqozy.com|posterify.net|drinkspartner.com/
/blogging.techworldx.net|10beasts.biz/ /blogging.techworldx.net|10beasts.biz/
/starsddl.me\/short/ /starsddl.me\/short/
/tech.unblockedgames.world/ /tech.unblockedgames.world/
@ -712,6 +713,7 @@ https://paster.so/*
/onlinetntextbooks.com/ /onlinetntextbooks.com/
/www.saferoms.com\/\?go=/ /www.saferoms.com\/\?go=/
/hdpastes.com\/\?v=/ /hdpastes.com\/\?v=/
/shrinkforearn.in/
/filecrypt.(cc|co)/ /filecrypt.(cc|co)/
/^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
/(mega-enlace|acortados).com/ /(mega-enlace|acortados).com/