ура оно работает

This commit is contained in:
catmpeg 2025-12-12 14:31:28 +03:00
commit d8946555ec
2 changed files with 4 additions and 4 deletions

View file

@ -31,6 +31,7 @@ main {
}
.down {
margin-top: 20px;
border-radius: 15px;
background-color: rgb(1,1,1,0.3);
padding: 10px;

View file

@ -30,7 +30,6 @@
<h3 id="song"></h3>
<script>let u='catmpeg',s=document.querySelector('#song');fetch('https://lastfm-last-played.biancarosa.com.br/'+u+'/latest-song').then(r=>r.json()).then(j=>s.innerHTML=`<a href="https://www.last.fm/music/${encodeURIComponent(j.track.artist['#text']).replace(/%20/g,'+')}/_/${encodeURIComponent(j.track.name).replace(/%20/g,'+')}" target="_blank">${j.track.name} - ${j.track.artist['#text']}</a>`);</script>
</main>
<br>
<div class="down">
<h3><a href="//retro.cat.tolya1337.ru">&gt; retro page &lt;</a></h3>
<h3>