From 641dde71082b2ba562b28dd1e4cad29bd36a798b Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sat, 8 Feb 2025 12:47:25 +0100 Subject: [PATCH] fix lksfy --- Bypass_All_Shortlinks.meta.js | 5 +++-- Bypass_All_Shortlinks.user.js | 17 +++++++++++++---- extra_bypasses/extra_bypasses.user.js | 15 ++++++++++++--- supported_sites.txt | 3 ++- 4 files changed, 30 insertions(+), 10 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 56e4b92..8be37a8 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.47 +// @version 93.4.48 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -712,7 +712,8 @@ // @include /hubcloud.club\/tg\/go.php\?re=/ // @include /stockwallah.com/ // @include /^https:\/\/relampagomovies\.com\/.+/ -// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/ +// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/ +// @include /linkshortify.in|lksfy.com/ // @include /tii.la|oei.la|iir.la|tvi.la|oii.la|tpi.li|lnbz.la/ // @include /^https:\/\/[^\/]+\/safe\.php\?link=https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ // @include /^https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 0e5ffe9..3a3c146 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.47 +// @version 93.4.48 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -712,7 +712,8 @@ // @include /hubcloud.club\/tg\/go.php\?re=/ // @include /stockwallah.com/ // @include /^https:\/\/relampagomovies\.com\/.+/ -// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/ +// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/ +// @include /linkshortify.in|lksfy.com/ // @include /tii.la|oei.la|iir.la|tvi.la|oii.la|tpi.li|lnbz.la/ // @include /^https:\/\/[^\/]+\/safe\.php\?link=https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ // @include /^https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ @@ -1953,7 +1954,7 @@ setTimeout(() => button.click(), 500); } }, 2000)); - if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/.test(url)){ + if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/.test(url)){ preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers //##Intermediate buttons @@ -1965,7 +1966,15 @@ //##Final button (() => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector('#bottomButton'); if (button && button.textContent.includes('Get Link') && button.style.display === 'block') { setTimeout(() => button.click(), 2000); } }, 1000)))(); //Final button } - /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() { + let intervalId = setInterval(() => { + const button = document.querySelector('a.get-link'); + if (button && checkCloudflareCaptchaSolved() && !button.classList.contains('disabled')) { + clearInterval(intervalId); + button.click(); + } + }, 1000); + }) : null; // https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10649981 // https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/263369 diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index fea465f..5ea7f66 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -199,7 +199,8 @@ // @include /hubcloud.club\/tg\/go.php\?re=/ // @include /stockwallah.com/ // @include /^https:\/\/relampagomovies\.com\/.+/ -// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/ +// @include /(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/ +// @include /linkshortify.in|lksfy.com/ // @include /tii.la|oei.la|iir.la|tvi.la|oii.la|tpi.li|lnbz.la/ // @include /^https:\/\/[^\/]+\/safe\.php\?link=https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ // @include /^https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ @@ -513,7 +514,7 @@ setTimeout(() => button.click(), 500); } }, 2000)); - if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/.test(url)){ + if (/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/.test(url)){ preventForcedFocusOnWindow();//preventForcedFocusOnWindow not working for this site apparently afterWindowLoaded(function() {modifyScript('timeLeft = duration', 'timeLeft = 0')}); // skip timers //##Intermediate buttons @@ -525,7 +526,15 @@ //##Final button (() => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector('#bottomButton'); if (button && button.textContent.includes('Get Link') && button.style.display === 'block') { setTimeout(() => button.click(), 2000); } }, 1000)))(); //Final button } - /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() { + let intervalId = setInterval(() => { + const button = document.querySelector('a.get-link'); + if (button && checkCloudflareCaptchaSolved() && !button.classList.contains('disabled')) { + clearInterval(intervalId); + button.click(); + } + }, 1000); + }) : null; // https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-10649981 // https://greasyfork.org/en/scripts/431691-bypass-all-shortlinks/discussions/263369 diff --git a/supported_sites.txt b/supported_sites.txt index 987b629..e50792f 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -693,7 +693,8 @@ https://paster.so/* /hubcloud.club\/tg\/go.php\?re=/ /stockwallah.com/ /^https:\/\/relampagomovies\.com\/.+/ -/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|tejtime24.com/ +/(shramikcard|pmkisanlists|techishant|cinedesi|thevouz).in|cookad.net|(tejtime24|cyberlynews|quizrent).com/ +/linkshortify.in|lksfy.com/ /tii.la|oei.la|iir.la|tvi.la|oii.la|tpi.li|lnbz.la/ /^https:\/\/[^\/]+\/safe\.php\?link=https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/ /^https:\/\/modijiurl\.com\/[^\/]+\/\?mid=.*$/