fix animesgd

This commit is contained in:
Amm0ni4 2024-09-10 12:21:56 +02:00
parent 73526e4176
commit 50e242a330
3 changed files with 14 additions and 2 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.7.1 // @version 92.7.2
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.7.1 // @version 92.7.2
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -2292,6 +2292,12 @@
link.href = link.getAttribute('href').split('/redir3/?')[1]; link.href = link.getAttribute('href').split('/redir3/?')[1];
}); }) : null; }); }) : null;
if (/animesgd.net\/out\/\?/.test(url)) {
const decodedUrl = atob(url.split('/out/?')[1]);
if (decodedUrl.includes('url=')) {redirect(decodedUrl.split('url=')[1])}
if (decodedUrl.includes('redir3/?')) {redirect(decodedUrl.split('/redir3/?')[1])}
}
// platinsport.com // platinsport.com
/platinsport.com/.test(url) ? afterDOMLoaded(function() { /platinsport.com/.test(url) ? afterDOMLoaded(function() {
document.querySelectorAll('a[href*="http://bc.vc/"]').forEach(link => { document.querySelectorAll('a[href*="http://bc.vc/"]').forEach(link => {

View file

@ -714,6 +714,12 @@
link.href = link.getAttribute('href').split('/redir3/?')[1]; link.href = link.getAttribute('href').split('/redir3/?')[1];
}); }) : null; }); }) : null;
if (/animesgd.net\/out\/\?/.test(url)) {
const decodedUrl = atob(url.split('/out/?')[1]);
if (decodedUrl.includes('url=')) {redirect(decodedUrl.split('url=')[1])}
if (decodedUrl.includes('redir3/?')) {redirect(decodedUrl.split('/redir3/?')[1])}
}
// platinsport.com // platinsport.com
/platinsport.com/.test(url) ? afterDOMLoaded(function() { /platinsport.com/.test(url) ? afterDOMLoaded(function() {
document.querySelectorAll('a[href*="http://bc.vc/"]').forEach(link => { document.querySelectorAll('a[href*="http://bc.vc/"]').forEach(link => {