diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 9066ebb..a790312 100644 --- a/Bypass_All_Shortlinks.user.js +++ b/Bypass_All_Shortlinks.user.js @@ -2131,10 +2131,9 @@ // AdClicker (used in animesgd.net and many others) if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){ var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1])))); - var urlParam = getParam(decodedUrl,'url'); - if (decodedUrl.includes('&url=')) {redirect(decodeURIComponent(decodedUrl.split('&url=')[1])) - } else if (urlParam) { redirect(decodeURIComponent(urlParam)) - } else {redirect(decodedUrl)} + if (decodedUrl.includes('&url=')) {decodedUrl = decodedUrl.split('&')[1];} + var urlParam = new URLSearchParams(decodedUrl).get('url'); + if (urlParam) {redirect(urlParam);} } })(); diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index de72533..6b75351 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -404,10 +404,9 @@ // AdClicker (used in animesgd.net and many others) if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){ var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1])))); - var urlParam = getParam(decodedUrl,'url'); - if (decodedUrl.includes('&url=')) {redirect(decodeURIComponent(decodedUrl.split('&url=')[1])) - } else if (urlParam) { redirect(decodeURIComponent(urlParam)) - } else {redirect(decodedUrl)} + if (decodedUrl.includes('&url=')) {decodedUrl = decodedUrl.split('&')[1];} + var urlParam = new URLSearchParams(decodedUrl).get('url'); + if (urlParam) {redirect(urlParam);} } })();