Compare commits

..

2 Commits

Author SHA1 Message Date
Leocraft1 5beb0cdfbe Anti-hack pt2 2025-07-31 15:35:35 +02:00
Leocraft1 49313c321b Anti-hacking del cercaorario 2025-07-31 15:34:51 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
</ul>
</nav>
</header>
<h2>Informazioni fermata <span id="fermata-span"></span></h2>
<h2>Informazioni fermata "<span id="fermata-span"></span>"</h2>
<nav id="corsie-nav"></nav>
<div id="tabella-container">Caricamento dati...</div>
<p>Il ritardo viene espresso rispetto all'orario previsto, quello indicato, se disponibile, è l'orario di arrivo in tempo reale.</p>

View File

@ -4,7 +4,7 @@ const codice = params.get('code');
//Sets stop name
const fermata_span = document.getElementById('fermata-span');
fermata_span.innerHTML = `"${nome}"`;
fermata_span.textContent=nome;
//Set corsie per stazione o autostazione
const corsie_nav = document.getElementById('corsie-nav');
if(nome.includes("STAZIONE FS")){

View File

@ -3,7 +3,7 @@ const bottoni = document.getElementById('buttons');
const posto = params.get('location');
const fermata_span = document.getElementById('fermata-span');
fermata_span.innerHTML=posto;
fermata_span.textContent=posto;
if(posto=="STAZIONE FS"){
bottoni.innerHTML = `