mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-29 16:33: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)
|
// AdClicker (used in animesgd.net and many others)
|
||||||
if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){
|
if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){
|
||||||
var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1]))));
|
var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1]))));
|
||||||
var urlParam = getParam(decodedUrl,'url');
|
if (decodedUrl.includes('&url=')) {decodedUrl = decodedUrl.split('&')[1];}
|
||||||
if (decodedUrl.includes('&url=')) {redirect(decodeURIComponent(decodedUrl.split('&url=')[1]))
|
var urlParam = new URLSearchParams(decodedUrl).get('url');
|
||||||
} else if (urlParam) { redirect(decodeURIComponent(urlParam))
|
if (urlParam) {redirect(urlParam);}
|
||||||
} else {redirect(decodedUrl)}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
@ -404,10 +404,9 @@
|
||||||
// AdClicker (used in animesgd.net and many others)
|
// AdClicker (used in animesgd.net and many others)
|
||||||
if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){
|
if (/(adclicker.(io|info)|discoveryultrasecure.com)\/url\/\#/.test(url)){
|
||||||
var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1]))));
|
var decodedUrl = decodeURIComponent(atob(atob(atob(url.split('/url/#')[1]))));
|
||||||
var urlParam = getParam(decodedUrl,'url');
|
if (decodedUrl.includes('&url=')) {decodedUrl = decodedUrl.split('&')[1];}
|
||||||
if (decodedUrl.includes('&url=')) {redirect(decodeURIComponent(decodedUrl.split('&url=')[1]))
|
var urlParam = new URLSearchParams(decodedUrl).get('url');
|
||||||
} else if (urlParam) { redirect(decodeURIComponent(urlParam))
|
if (urlParam) {redirect(urlParam);}
|
||||||
} else {redirect(decodedUrl)}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue