minor fix for ovagames

This commit is contained in:
Amm0ni4 2025-01-10 23:35:53 +01:00
parent a4b51b05a0
commit 0a2cbc5428
3 changed files with 4 additions and 4 deletions

View file

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

View file

@ -4,7 +4,7 @@
// @run-at document-start
// @author Amm0ni4
// @noframes
// @version 93.4.10
// @version 93.4.11
// @grant GM_setValue
// @grant GM_getValue
// @grant GM_addStyle
@ -1885,7 +1885,7 @@
redirect(atob(urlParam)); //case for ovagames.com
}
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) {
const decodedUrl = atob(url.split('_')[1]);
const decodedUrl = atob('aHR0' + url.split('aHR0')[1]);
const urlParam = getParam(decodedUrl,'url');
if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me

View file

@ -445,7 +445,7 @@
redirect(atob(urlParam)); //case for ovagames.com
}
if (/linkspy.cc\/\/a/.test(url) && url.includes('aHR0')) {
const decodedUrl = atob(url.split('_')[1]);
const decodedUrl = atob('aHR0' + url.split('aHR0')[1]);
const urlParam = getParam(decodedUrl,'url');
if (!urlParam) redirect(decodedUrl); //default case
redirect(urlParam); //case for dramaday.me