mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 00:13:02 +05:00
simplify adclicker bypass
This commit is contained in:
parent
dfc21a02de
commit
24a8d7085a
2 changed files with 6 additions and 8 deletions
|
@ -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);}
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
@ -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);}
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue