fix dramaday.me

This commit is contained in:
Amm0ni4 2024-10-15 23:56:57 +02:00
parent eac7795f79
commit cd8b61a133
4 changed files with 50 additions and 28 deletions

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.25 // @version 92.8.26
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -736,6 +736,7 @@
// @include /shrinkforearn.in/ // @include /shrinkforearn.in/
// @include /encurtads.net/ // @include /encurtads.net/
// @include /shrtbr.com/ // @include /shrtbr.com/
// @include /dramaday.me\/[^\/]+\/$/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/

View file

@ -4,7 +4,7 @@
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @noframes // @noframes
// @version 92.8.25 // @version 92.8.26
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -736,6 +736,7 @@
// @include /shrinkforearn.in/ // @include /shrinkforearn.in/
// @include /encurtads.net/ // @include /encurtads.net/
// @include /shrtbr.com/ // @include /shrtbr.com/
// @include /dramaday.me\/[^\/]+\/$/
// @include /filecrypt.(cc|co)/ // @include /filecrypt.(cc|co)/
// @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ // @include /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
// @include /(mega-enlace|acortados).com/ // @include /(mega-enlace|acortados).com/
@ -1878,11 +1879,26 @@
// desiremovies.wales // desiremovies.wales
/gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null; /gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null;
// dramaday.me - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/21
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-1')}) : null;
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-2')}) : null;
/moneyblink.com\/ready\/go\?u=/.test(url)? redirect(atob(url.split('?u=')[1])) : null;
// dramaday.me - linkspy.cc & droplink.co/st?api=...&url=... concatenated
//ovagames.com - linkspy.cc & clicksfly.com|shrinkme.io|clk.sh|shrinkearn.com|clk.asia|clk.wiki concatenated - https://github.com/FastForwardTeam/FastForward/issues/1352 //ovagames.com - linkspy.cc & clicksfly.com|shrinkme.io|clk.sh|shrinkearn.com|clk.asia|clk.wiki concatenated - https://github.com/FastForwardTeam/FastForward/issues/1352
if (/linkspy.cc\/tr/.test(url)){ if (/linkspy.cc\/tr/.test(url)){
let decodedUrl = atob(url.split('/tr/')[1]); const decodedUrl = atob(url.split('/tr/')[1]);
let urlParam = getParam(decodedUrl,'url'); const urlParam = getParam(decodedUrl,'url');
urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me
redirect(atob(urlParam)); //case for ovagames.com
}
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) {
const decodedUrl = atob(url.split('_')[1]);
const urlParam = getParam(decodedUrl,'url');
if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me
redirect(atob(urlParam)); //case for ovagames.com
} }
/www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() { /www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() {
document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => { document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => {
@ -1890,11 +1906,10 @@
let urlParam = getParam(decodedUrl,'url'); let urlParam = getParam(decodedUrl,'url');
urlParam ? link.href = atob(urlParam) : link.href = decodedUrl; urlParam ? link.href = atob(urlParam) : link.href = decodedUrl;
}); }) : null; }); }) : null;
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) { /dramaday.me\/[^\/]+\/$/.test(url) ? afterWindowLoaded(function() {
let decodedUrl = atob('aHR0' + url.split('aHR0')[1]); document.querySelectorAll('a[href*="https://l4s.cc/q/e/482/"]').forEach(link => {
let urlParam = getParam(decodedUrl,'url'); link.href = atob(link.getAttribute('href').split('/482/')[1]);
urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); }); }) : null;
}
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 //dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page
@ -2287,11 +2302,6 @@
link.href = atob(link.getAttribute('href').split('?url=')[1]); link.href = atob(link.getAttribute('href').split('?url=')[1]);
}); }) : null; }); }) : null;
// dramaday.me - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/21
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-1')}) : null;
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-2')}) : null;
/moneyblink.com\/ready\/go\?u=/.test(url)? redirect(atob(url.split('?u=')[1])) : null;
// megalinks (used in peliculasmega1k.com) // megalinks (used in peliculasmega1k.com)
/megalinks.info\/index.php\?v=/.test(url) ? clickIfExists('#continue') : null; /megalinks.info\/index.php\?v=/.test(url) ? clickIfExists('#continue') : null;

View file

@ -186,6 +186,7 @@
// @include /shrinkforearn.in/ // @include /shrinkforearn.in/
// @include /encurtads.net/ // @include /encurtads.net/
// @include /shrtbr.com/ // @include /shrtbr.com/
// @include /dramaday.me\/[^\/]+\/$/
// @run-at document-start // @run-at document-start
// ==/UserScript== // ==/UserScript==
@ -386,11 +387,26 @@
// desiremovies.wales // desiremovies.wales
/gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null; /gyanigurus.net\/view/.test(url) ? afterDOMLoaded(function() {clickIfExists('#show_button')}) : null;
// dramaday.me - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/21
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-1')}) : null;
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-2')}) : null;
/moneyblink.com\/ready\/go\?u=/.test(url)? redirect(atob(url.split('?u=')[1])) : null;
// dramaday.me - linkspy.cc & droplink.co/st?api=...&url=... concatenated
//ovagames.com - linkspy.cc & clicksfly.com|shrinkme.io|clk.sh|shrinkearn.com|clk.asia|clk.wiki concatenated - https://github.com/FastForwardTeam/FastForward/issues/1352 //ovagames.com - linkspy.cc & clicksfly.com|shrinkme.io|clk.sh|shrinkearn.com|clk.asia|clk.wiki concatenated - https://github.com/FastForwardTeam/FastForward/issues/1352
if (/linkspy.cc\/tr/.test(url)){ if (/linkspy.cc\/tr/.test(url)){
let decodedUrl = atob(url.split('/tr/')[1]); const decodedUrl = atob(url.split('/tr/')[1]);
let urlParam = getParam(decodedUrl,'url'); const urlParam = getParam(decodedUrl,'url');
urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me
redirect(atob(urlParam)); //case for ovagames.com
}
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) {
const decodedUrl = atob(url.split('_')[1]);
const urlParam = getParam(decodedUrl,'url');
if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me
redirect(atob(urlParam)); //case for ovagames.com
} }
/www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() { /www.ovagames.com\/.*\.html$/.test(url) ? afterWindowLoaded(function() {
document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => { document.querySelectorAll('a[href*="https://l4s.cc/q/e/1f/aHR0"]').forEach(link => {
@ -398,11 +414,10 @@
let urlParam = getParam(decodedUrl,'url'); let urlParam = getParam(decodedUrl,'url');
urlParam ? link.href = atob(urlParam) : link.href = decodedUrl; urlParam ? link.href = atob(urlParam) : link.href = decodedUrl;
}); }) : null; }); }) : null;
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) { /dramaday.me\/[^\/]+\/$/.test(url) ? afterWindowLoaded(function() {
let decodedUrl = atob('aHR0' + url.split('aHR0')[1]); document.querySelectorAll('a[href*="https://l4s.cc/q/e/482/"]').forEach(link => {
let urlParam = getParam(decodedUrl,'url'); link.href = atob(link.getAttribute('href').split('/482/')[1]);
urlParam ? redirect(atob(urlParam)) : redirect(decodedUrl); }); }) : null;
}
//dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2 //dropgalaxy https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/2
/dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page /dropgalaxy.(com|co)\/drive/.test(url) ? afterDOMLoaded(function() {clickIfExists('#method_free')}) : null; //1st page
@ -795,11 +810,6 @@
link.href = atob(link.getAttribute('href').split('?url=')[1]); link.href = atob(link.getAttribute('href').split('?url=')[1]);
}); }) : null; }); }) : null;
// dramaday.me - https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated/issues/21
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-1')}) : null;
/besargaji.com/.test(url) ? afterDOMLoaded(function() {clickIfExists('#btn-2')}) : null;
/moneyblink.com\/ready\/go\?u=/.test(url)? redirect(atob(url.split('?u=')[1])) : null;
// megalinks (used in peliculasmega1k.com) // megalinks (used in peliculasmega1k.com)
/megalinks.info\/index.php\?v=/.test(url) ? clickIfExists('#continue') : null; /megalinks.info\/index.php\?v=/.test(url) ? clickIfExists('#continue') : null;

View file

@ -716,6 +716,7 @@ https://paster.so/*
/shrinkforearn.in/ /shrinkforearn.in/
/encurtads.net/ /encurtads.net/
/shrtbr.com/ /shrtbr.com/
/dramaday.me\/[^\/]+\/$/
/filecrypt.(cc|co)/ /filecrypt.(cc|co)/
/^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/ /^(https?:\/\/)(?!(bypass.city|adbypass.org))(linkvertise.com|(linkvertise|link-to).net)/
/(mega-enlace|acortados).com/ /(mega-enlace|acortados).com/