From a16f5fb95b2c1afdb9897407201605f8258cd86f Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Sun, 26 May 2024 16:40:02 +0200 Subject: [PATCH] add bypass for some missing ovagames cases --- Bypass_All_Shortlinks.meta.js | 3 ++- Bypass_All_Shortlinks.user.js | 9 ++++++++- extra_bypasses/extra_bypasses.user.js | 7 +++++++ supported_sites.txt | 1 + 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 8eccf09..b3ea620 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.0.3 +// @version 92.0.4 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -670,6 +670,7 @@ // @include /tmail.io/ // @include /1v.to\/t/ // @include /linkspy.cc\/tr/ +// @include /www.ovagames.com\/.*\.html$/ // @include /((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/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 6ff4acf..79d24d3 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.0.3 +// @version 92.0.4 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -670,6 +670,7 @@ // @include /tmail.io/ // @include /1v.to\/t/ // @include /linkspy.cc\/tr/ +// @include /www.ovagames.com\/.*\.html$/ // @include /((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/ @@ -2008,6 +2009,12 @@ var urlParam = getParam(decodedUrl,'url'); urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); } + /www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() { + document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => { + let decodedUrl = atob(link.getAttribute('href').split('/1f/')[1]); + let urlParam = getParam(decodedUrl,'url'); + urlParam ? link.href = atob(urlParam) : link.href = decodedUrl; + }); }) : null; //dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index e8e6c37..6870cae 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -27,6 +27,7 @@ // @include /tmail.io/ // @include /1v.to\/t/ // @include /linkspy.cc\/tr/ +// @include /www.ovagames.com\/.*\.html$/ // @include /((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/ @@ -313,6 +314,12 @@ var urlParam = getParam(decodedUrl,'url'); urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); } + /www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() { + document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => { + let decodedUrl = atob(link.getAttribute('href').split('/1f/')[1]); + let urlParam = getParam(decodedUrl,'url'); + urlParam ? link.href = atob(urlParam) : link.href = decodedUrl; + }); }) : null; //dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page diff --git a/supported_sites.txt b/supported_sites.txt index 90b686f..6cc123a 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -650,6 +650,7 @@ https://paster.so/* /tmail.io/ /1v.to\/t/ /linkspy.cc\/tr/ +/www.ovagames.com\/.*\.html$/ /((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/