From b0cc0cb84fadaa9b63854ea98a058d89533885b0 Mon Sep 17 00:00:00 2001 From: Amm0ni4 Date: Mon, 24 Jun 2024 14:36:06 +0200 Subject: [PATCH] fix bypass for mandranime.com --- 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, 14 insertions(+), 6 deletions(-) diff --git a/Bypass_All_Shortlinks.meta.js b/Bypass_All_Shortlinks.meta.js index 5a430f1..e0c3d9b 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.2.10 +// @version 92.2.11 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -791,6 +791,7 @@ // @include /tumangasdd.com/ // @include /sexyforums.com\/redirect/ // @include /paste.japan-paw.net\/\?v=/ +// @include /ikramlar.online/ // @include /filecrypt.(cc|co)/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /mega-enlace.com/ diff --git a/Bypass_All_Shortlinks.user.js b/Bypass_All_Shortlinks.user.js index 0ee9923..7e00e2b 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.2.10 +// @version 92.2.11 // @grant GM_setValue // @grant GM_getValue // @grant GM_addStyle @@ -791,6 +791,7 @@ // @include /tumangasdd.com/ // @include /sexyforums.com\/redirect/ // @include /paste.japan-paw.net\/\?v=/ +// @include /ikramlar.online/ // @include /filecrypt.(cc|co)/ // @include /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ // @include /mega-enlace.com/ @@ -1889,8 +1890,10 @@ //intercambiosvirtuales.org /1v.to\/t/.test(url) ? redirect(atob(atob(atob(atob( atob(url.split('/t/')[1]).replace('+P', '') ))))) : null; - //anime-world.in and mandranime.com - /(iconicblogger.com|segurosdevida.site)/.test(url) ? afterDOMLoaded(function() {redirect(document.getElementById('wpsafe-link').querySelector('a').getAttribute('onclick').match(/window\.open\('([^']*)'/)[1])}) : null; + //mandranime.com + /ikramlar.online/.test(url) ? afterDOMLoaded(function() { + redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]); + }) : null; //anime-world.in 2nd step /link.unlockner.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn.get-link')}) : null; diff --git a/extra_bypasses/extra_bypasses.user.js b/extra_bypasses/extra_bypasses.user.js index 2e9c10a..c5078f9 100644 --- a/extra_bypasses/extra_bypasses.user.js +++ b/extra_bypasses/extra_bypasses.user.js @@ -153,6 +153,7 @@ // @include /tumangasdd.com/ // @include /sexyforums.com\/redirect/ // @include /paste.japan-paw.net\/\?v=/ +// @include /ikramlar.online/ // @run-at document-start // ==/UserScript== @@ -206,8 +207,10 @@ //intercambiosvirtuales.org /1v.to\/t/.test(url) ? redirect(atob(atob(atob(atob( atob(url.split('/t/')[1]).replace('+P', '') ))))) : null; - //anime-world.in and mandranime.com - /(iconicblogger.com|segurosdevida.site)/.test(url) ? afterDOMLoaded(function() {redirect(document.getElementById('wpsafe-link').querySelector('a').getAttribute('onclick').match(/window\.open\('([^']*)'/)[1])}) : null; + //mandranime.com + /ikramlar.online/.test(url) ? afterDOMLoaded(function() { + redirect(atob(document.querySelector('#wpsafe-link > a:nth-child(1)').getAttribute('onclick').match(/'(https:\/\/[^']+)'/)[1].split('safelink_redirect=')[1]).match(/"safelink":"(.*?)"/)[1]); + }) : null; //anime-world.in 2nd step /link.unlockner.com/.test(url) ? afterDOMLoaded(function() {redirectIfNotDisabled('.btn.get-link')}) : null; diff --git a/supported_sites.txt b/supported_sites.txt index 906f1b8..9175637 100644 --- a/supported_sites.txt +++ b/supported_sites.txt @@ -771,6 +771,7 @@ https://paster.so/* /tumangasdd.com/ /sexyforums.com\/redirect/ /paste.japan-paw.net\/\?v=/ +/ikramlar.online/ /filecrypt.(cc|co)/ /(loot-link.com|loot-links.com|lootlink.org|lootlinks.co|lootdest.(info|org|com)|links-loot.com|linksloot.net)\/s\?.*$/ /mega-enlace.com/