NoTrue js function

This commit is contained in:
Leocraft1 2025-04-10 13:15:34 +00:00
parent 9077cd84cc
commit 9187e6b665
1 changed files with 8 additions and 0 deletions

View File

@ -12,4 +12,12 @@ function changeUrlToFallback(aid,imgid,path) {
try {
document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080&a=true";
} catch {}
}
function changeUrlToFallbackNoTrue(aid,imgid,path) {
try {
document.getElementById(imgid).src = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080";
} catch {}
try {
document.getElementById(aid).href = "http://serverissimo.freeddns.org:30081/apps/files_sharing/publicpreview/ffdqobqRg2ezKXt?file=" + path + "&x=1920&y=1080";
} catch {}
}