catmpeg.github.io/index.html
Nikita Belov 8244c77758 script fix
пж не юзай гапату, если чота нада - пиши мне
2025-12-12 17:35:29 +05:00

69 lines
No EOL
4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="description" content="catmpeg page">
<title>catmpeg page</title>
<link rel="icon" href="assets/favicon.png">
<link rel="stylesheet" href="assets/styles.css">
</head>
<body>
<main>
<h1>catmpeg home page</h1>
<h2>Socials:</h2>
<h3>Discord: catmpeg</h3>
<h3>Telegram: <a href="//t.me/catmpeg">catmpeg</a></h3>
<h3>Github: <a href="//github.com/catmpeg">catmpeg</a></h3>
<h3>Steam: <a href="//steamcommunity.com/id/catmpeg">catmpeg</a></h3>
<h3>YouTube: <a href="//www.youtube.com/@catmpeg">catmpeg</a></h3>
<h3>Last.fm: <a href="//www.last.fm/user/catmpeg">catmpeg</a></h3>
<h2>My friends:</h2>
<h3>Cat.: <a href="//cat8753.ru">cat8753.ru</a></h3>
<h3>Tolya Gosuslugi: <a href="//tolya1337.ru">tolya1337.ru</a></h3>
<h3>ShadowCj: <a href="//shadowcj.rf.gd">shadowcj.rf.gd</a></h3>
<h2>My button:</h2>
<textarea class="mybutton" readonly>&lt;a href="//catmpeg.tolya1337.ru"&gt;&lt;img src="//catmpeg.tolya1337.ru/catmpeg88.png"&gt;&lt;/a&gt;</textarea>
<br><br>
<a href="//cat.tolya1337.ru"><img src="catmpeg88.png"></a>
<div id="last-played" style="display: none">
<h2>Latest played song:</h2>
<h3 id="song"></h3>
</div>
<!-- <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> -->
<script>
// коля блять хватит эту залупу юзать, я тебя за чатку выебу нахуй, я щас вены себе вскрою за такой код
const lastPlayedBlock = document.getElementById('last-played');
let xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", "https://www.ballix.net/whatsplaying/?user=catmpeg", false);
xmlHttp.send(null);
if (xmlHttp.responseText != 0) {
const lastParse = JSON.parse(xmlHttp.responseText);
const lastPlayed = document.querySelector("#song");
lastPlayed.innerHTML = "<a target=\"blank_\" href=\"" + lastParse["url"] + "\">" + lastParse["name"] + " - " + lastParse["artist"] + "</a>";
lastPlayedBlock.style.display = "block";
}
</script>
</main>
<div class="down">
<h3><a href="//retro.cat.tolya1337.ru">&gt; retro page &lt;</a></h3>
<h3>
<a href="//otomir23.me/webring/catmpeg/prev">&lt;prev</a>
<a href="//otomir23.me/webring" target="_blank">webring</a>
<a href="//otomir23.me/webring/catmpeg/next">next&gt;</a>
</h3><br>
<a href="//tolya1337.ru"><img src="//tolya1337.ru/img/88x31.png"></a>
<a href="https://otomir23.me/" target="_blank" style="image-rendering:pixelated"><img src="https://otomir23.me/88x31.png" alt="otomir23's 88x31 button"></a>
<a href="//code.visualstudio.com"><img src="assets/images/vscbutton.gif" height="31" width="88"></a>
<a href="//xfree86.org"><img src="assets/images/xfree.gif" height="31" width="88"></a>
<a href="//archlinux.org"><img src="assets/images/archlinux.gif" height="31" width="88"></a>
<a href="//firefox.com"><img src="assets/images/firefox2.gif" height="31" width="88"></a>
<a href="//github.com"><img src="assets/images/github.gif" height="31" width="88"></a>
<a href="//reddit.com"><img src="assets/images/reddit.gif" height="31" width="88"></a>
</div>
</body>
</html>