mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
added autoskip for leechpremium step and domain for lksfy
This commit is contained in:
parent
6ea424d927
commit
35c7f643ca
4 changed files with 84 additions and 20 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 92.8.22
|
||||
// @version 92.8.23
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @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 /dropgalaxy.(com|co)\/drive/
|
||||
// @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 /starsddl.me\/short/
|
||||
// @include /tech.unblockedgames.world/
|
||||
|
@ -732,6 +733,7 @@
|
|||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @include /shrinkforearn.in/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 92.8.22
|
||||
// @version 92.8.23
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @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 /dropgalaxy.(com|co)\/drive/
|
||||
// @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 /starsddl.me\/short/
|
||||
// @include /tech.unblockedgames.world/
|
||||
|
@ -732,6 +733,7 @@
|
|||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @include /shrinkforearn.in/
|
||||
// @include /filecrypt.(cc|co)/
|
||||
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
// @include /(mega-enlace|acortados).com/
|
||||
|
@ -1910,10 +1912,26 @@
|
|||
/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
|
||||
//##Intermediate buttons
|
||||
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).in|cookad.net|tejtime24.com/.test(url)){
|
||||
function modifyScript(searchText, replacementText) {
|
||||
document.querySelectorAll('script').forEach(script => {
|
||||
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
|
||||
afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers
|
||||
//##Intermediate buttons
|
||||
handleShamikcardButtons('#topButton', 'Click to Continue');
|
||||
handleShamikcardButtons('#topButton', '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
|
||||
|
||||
// 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
|
||||
if (/blogging.techworldx.net|10beasts.biz/.test(url)) {
|
||||
popupsToRedirects();//popupsToRedirects not working for this site apparently
|
||||
|
@ -2330,7 +2364,6 @@
|
|||
}) : null;
|
||||
|
||||
// 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() {
|
||||
clickWithDelay('#my-btn', 3000);
|
||||
}) : null;
|
||||
|
@ -2372,9 +2405,6 @@
|
|||
/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;
|
||||
|
||||
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
|
||||
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
|
||||
|
||||
// saferoms.com
|
||||
/www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() {
|
||||
let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href;
|
||||
|
|
|
@ -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 /dropgalaxy.(com|co)\/drive/
|
||||
// @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 /starsddl.me\/short/
|
||||
// @include /tech.unblockedgames.world/
|
||||
|
@ -182,6 +183,7 @@
|
|||
// @include /onlinetntextbooks.com/
|
||||
// @include /www.saferoms.com\/\?go=/
|
||||
// @include /hdpastes.com\/\?v=/
|
||||
// @include /shrinkforearn.in/
|
||||
// @run-at document-start
|
||||
// ==/UserScript==
|
||||
|
||||
|
@ -418,10 +420,26 @@
|
|||
/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
|
||||
//##Intermediate buttons
|
||||
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).in|cookad.net|tejtime24.com/.test(url)){
|
||||
function modifyScript(searchText, replacementText) {
|
||||
document.querySelectorAll('script').forEach(script => {
|
||||
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
|
||||
afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers
|
||||
//##Intermediate buttons
|
||||
handleShamikcardButtons('#topButton', 'Click to Continue');
|
||||
handleShamikcardButtons('#topButton', '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
|
||||
|
||||
// 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
|
||||
if (/blogging.techworldx.net|10beasts.biz/.test(url)) {
|
||||
popupsToRedirects();//popupsToRedirects not working for this site apparently
|
||||
|
@ -838,7 +872,6 @@
|
|||
}) : null;
|
||||
|
||||
// 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() {
|
||||
clickWithDelay('#my-btn', 3000);
|
||||
}) : null;
|
||||
|
@ -880,9 +913,6 @@
|
|||
/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;
|
||||
|
||||
// https://droplink.co/4eSowGz4 used by leechpremium.link step 2
|
||||
/onlinetntextbooks.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#go_d2');}) : null;
|
||||
|
||||
// saferoms.com
|
||||
/www.saferoms.com\/\?go=/.test(url) ? afterDOMLoaded(function() {
|
||||
let dlLink = document.querySelector('#wpsafe-link > a:nth-child(1)').href;
|
||||
|
|
|
@ -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)/
|
||||
/dropgalaxy.(com|co)\/drive/
|
||||
/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/
|
||||
/starsddl.me\/short/
|
||||
/tech.unblockedgames.world/
|
||||
|
@ -712,6 +713,7 @@ https://paster.so/*
|
|||
/onlinetntextbooks.com/
|
||||
/www.saferoms.com\/\?go=/
|
||||
/hdpastes.com\/\?v=/
|
||||
/shrinkforearn.in/
|
||||
/filecrypt.(cc|co)/
|
||||
/^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
|
||||
/(mega-enlace|acortados).com/
|
||||
|
|
Loading…
Reference in a new issue