diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 7477458..504b501 100644 --- a/Bypass_All_Shortlinks.meta.js +++ b/Bypass_All_Shortlinks.meta.js @@ -3,7 +3,7 @@ // @namespace Violentmonkey Scripts // @run-at document-start // @author Bloggerpemula -// @version 91.1.5 +// @version 91.1.6 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -662,6 +662,7 @@ // @include /go.moonlinks.in/ // @include /shrinkme.us/ // @include /shareus.io/ +// @include /shareus\.io\/go\?sid=/ // @include /(verpeliculasonline.org|subtituladas.com)\/enlace/ // @include /links.cuevana.ac\/short/ // @include /ouo.io/ @@ -671,6 +672,7 @@ // @include /((cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike).com|courselinkfree.us|10desires.org|theapknews.shop|trendzguruji.me)/ // @include /dropgalaxy.(com|co)\/drive/ // @include /short-ly.co/ +// @include /shramikcard.in/ // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/ // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js // @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index e52f27a..5d763b6 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -3,7 +3,7 @@ // @namespace Violentmonkey Scripts // @run-at document-start // @author Bloggerpemula -// @version 91.1.5 +// @version 91.1.6 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -662,6 +662,7 @@ // @include /go.moonlinks.in/ // @include /shrinkme.us/ // @include /shareus.io/ +// @include /shareus\.io\/go\?sid=/ // @include /(verpeliculasonline.org|subtituladas.com)\/enlace/ // @include /links.cuevana.ac\/short/ // @include /ouo.io/ @@ -671,6 +672,7 @@ // @include /((cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike).com|courselinkfree.us|10desires.org|theapknews.shop|trendzguruji.me)/ // @include /dropgalaxy.(com|co)\/drive/ // @include /short-ly.co/ +// @include /shramikcard.in/ // @exclude /^(https?:\/\/)(.+)?((advertisingexcel|talkforfitness|rsadnetworkinfo|rsinsuranceinfo|rsfinanceinfo|rssoftwareinfo|rshostinginfo|rseducationinfo|gametechreviewer|vegan4k|phineypet|batmanfactor|techedifier|urlhives|linkhives|github|freeoseocheck|greenenez|aliyun|reddit|bing|live|yahoo|wiki-topia|edonmanor|vrtier|whatsapp|gearsadviser|edonmanor|tunebug|menrealitycalc|amazon|ebay|payoneer|paypal|skrill|stripe|tipalti|wise|discord|tokopedia|taobao|aliexpress|(cloud|mail|translate|analytics|accounts|myaccount|contacts|clients6|developers|payments|pay|ogs|safety|wallet).google).com|(thumb8|thumb9|crewbase|crewus|shinchu|shinbhu|ultraten|uniqueten|topcryptoz|allcryptoz|coinsvalue|cookinguide|cryptowidgets|webfreetools|carstopia|makeupguide|carsmania).net|(linksfly|shortsfly|urlsfly|wefly|blog24).me|(greasyfork|openuserjs|adarima|telegram).org|mcrypto.club|misterio.ro|insurancegold.in|coinscap.info|(shopee|lazada|rakuten).*|(dana|ovo).id)(\/.*)/ // @downloadURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.user.js // @updateURL https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/raw/branch/main/Bypass_All_Shortlinks.meta.js @@ -1699,6 +1701,7 @@ const url = window.location.href const redirect = finalUrl => window.location.assign(finalUrl); const getParam = (url, param) => new URLSearchParams(url).get(param); + const popupsToRedirects = () => window.open = (url, target, features) => (window.location.href = url, window); const afterDOMLoaded = (callback) => document.addEventListener('DOMContentLoaded', callback); const isValidUrl = url => { try { new URL(url); return true; } catch (error) { return false; } }; const clickIfExists = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button) { clearInterval(intervalId); button.click(); } }, 1000); }; @@ -1753,6 +1756,13 @@ //shareus.io https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 /shareus.io/.test(url) ? afterDOMLoaded(function() {clickIfExistsNonStop('#root > div > main > div.main-container-1 > div.main-container-2 > div:nth-child(1) > div.adunit-container > button')}) : null; + // shareus.io (type 2) https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8501665 + if (/shareus\.io\/go\?sid=/.test(url)){ + popupsToRedirects(); + let selector = '#custom-root > div > div:nth-child(3) > div.flex.align-center.space-between.button-texts > button.MuiButtonBase-root.MuiButton-root.MuiButton-contained.MuiButton-containedPrimary.MuiButton-sizeLarge.MuiButton-containedSizeLarge.MuiButton-root.MuiButton-contained.MuiButton-containedPrimary.MuiButton-sizeLarge.MuiButton-containedSizeLarge.css-s7ybtv'; + afterDOMLoaded(function() {setTimeout(() => { clickIfExists(selector);}, 1000);}) + } + //verpeliculasonline.org && subtituladas.com /(verpeliculasonline.org|subtituladas.com)\/enlace/.test(url) ? afterDOMLoaded(function() {redirect(document.getElementById('link').href.split('?s=')[1])}) : null; @@ -1793,6 +1803,16 @@ // short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363 /short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null; + // multimovies.uno + //##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)); + /shramikcard.in/.test(url) ? handleShamikcardButtons('#topButton', 'Click to Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#topButton', 'Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#bottomButton', 'Click to Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#bottomButton', 'Continue') : null; + //##Final button + /shramikcard.in/.test(url) ? (() => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector('#bottomButton'); if (button && button.textContent.includes('Get Link') && button.style.display === 'block') { setTimeout(() => button.click(), 2000); } }, 1000)))() : null; //Final button + })(); // ----- ----- ----- diff --git a/extra_bypasses/simple_redirects.user.js b/extra_bypasses/simple_redirects.user.js index 17bb74e..3a9069b 100644 --- a/extra_bypasses/simple_redirects.user.js +++ b/extra_bypasses/simple_redirects.user.js @@ -12,6 +12,7 @@ // @include /go.moonlinks.in/ // @include /shrinkme.us/ // @include /shareus.io/ +// @include /shareus\.io\/go\?sid=/ // @include /(verpeliculasonline.org|subtituladas.com)\/enlace/ // @include /links.cuevana.ac\/short/ // @include /ouo.io/ @@ -21,6 +22,7 @@ // @include /((cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike).com|courselinkfree.us|10desires.org|theapknews.shop|trendzguruji.me)/ // @include /dropgalaxy.(com|co)\/drive/ // @include /short-ly.co/ +// @include /shramikcard.in/ // @run-at document-start // ==/UserScript== @@ -30,6 +32,7 @@ const url = window.location.href const redirect = finalUrl => window.location.assign(finalUrl); const getParam = (url, param) => new URLSearchParams(url).get(param); + const popupsToRedirects = () => window.open = (url, target, features) => (window.location.href = url, window); const afterDOMLoaded = (callback) => document.addEventListener('DOMContentLoaded', callback); const isValidUrl = url => { try { new URL(url); return true; } catch (error) { return false; } }; const clickIfExists = (selector) => { let intervalId = setInterval(() => { let button = document.querySelector(selector); if (button) { clearInterval(intervalId); button.click(); } }, 1000); }; @@ -84,6 +87,13 @@ //shareus.io https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 /shareus.io/.test(url) ? afterDOMLoaded(function() {clickIfExistsNonStop('#root > div > main > div.main-container-1 > div.main-container-2 > div:nth-child(1) > div.adunit-container > button')}) : null; + // shareus.io (type 2) https://github.com/uBlockOrigin/uAssets/discussions/17361#discussioncomment-8501665 + if (/shareus\.io\/go\?sid=/.test(url)){ + popupsToRedirects(); + let selector = '#custom-root > div > div:nth-child(3) > div.flex.align-center.space-between.button-texts > button.MuiButtonBase-root.MuiButton-root.MuiButton-contained.MuiButton-containedPrimary.MuiButton-sizeLarge.MuiButton-containedSizeLarge.MuiButton-root.MuiButton-contained.MuiButton-containedPrimary.MuiButton-sizeLarge.MuiButton-containedSizeLarge.css-s7ybtv'; + afterDOMLoaded(function() {setTimeout(() => { clickIfExists(selector);}, 1000);}) + } + //verpeliculasonline.org && subtituladas.com /(verpeliculasonline.org|subtituladas.com)\/enlace/.test(url) ? afterDOMLoaded(function() {redirect(document.getElementById('link').href.split('?s=')[1])}) : null; @@ -124,6 +134,16 @@ // short-ly.co https://github.com/FastForwardTeam/FastForward/issues/1363 /short-ly.co/.test(url) ? afterDOMLoaded(function() {redirectIfExists('.btn-secondary')}) : null; + // multimovies.uno + //##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)); + /shramikcard.in/.test(url) ? handleShamikcardButtons('#topButton', 'Click to Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#topButton', 'Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#bottomButton', 'Click to Continue') : null; + /shramikcard.in/.test(url) ? handleShamikcardButtons('#bottomButton', 'Continue') : null; + //##Final button + /shramikcard.in/.test(url) ? (() => afterDOMLoaded(() => setInterval(() => { const button = document.querySelector('#bottomButton'); if (button && button.textContent.includes('Get Link') && button.style.display === 'block') { setTimeout(() => button.click(), 2000); } }, 1000)))() : null; //Final button + })(); // ----- ----- ----- diff --git a/supported_sites.txt b/supported_sites.txt index 6414c7f..e18404e 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -647,6 +647,7 @@ r1.foxylinks.site /go.moonlinks.in/ /shrinkme.us/ /shareus.io/ +/shareus\.io\/go\?sid=/ /(verpeliculasonline.org|subtituladas.com)\/enlace/ /links.cuevana.ac\/short/ /ouo.io/ @@ -656,3 +657,4 @@ r1.foxylinks.site /((cybertyrant|profitshort|technorozen|hubdrive.me|bestadvise4u|newztalkies|aiotechnical|cryptonewzhub|techvybes|wizitales|101desires|gdspike).com|courselinkfree.us|10desires.org|theapknews.shop|trendzguruji.me)/ /dropgalaxy.(com|co)\/drive/ /short-ly.co/ +/shramikcard.in/