This commit is contained in:
Leocraft1
2025-10-17 17:27:49 +02:00
parent 1eb159f632
commit 282e1a29e9
2 changed files with 2 additions and 10 deletions

View File

@@ -23,6 +23,7 @@ body {
#iframe{ #iframe{
width: 97%; width: 97%;
height: 2000px;
} }
table{ table{

View File

@@ -14,12 +14,3 @@ lineaSpan.innerHTML=num;
//Spawn iframe //Spawn iframe
iframe.setAttribute("src",baseURL); iframe.setAttribute("src",baseURL);
setTimeout(function(){}, 2000);
//Adatta altezza iframe da codice injectato
window.addEventListener("message", (event) => {
if (event.origin !== "https://setaapi.serverissimo.freeddns.org/lineedyn_linea_dett_percorsi") return; // sicurezza
if (event.data?.type === "resize") {
frame.style.height = event.data.height + "px";
}
});