forked from snp5164/snp.cat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathninja.html
More file actions
41 lines (40 loc) · 1.8 KB
/
ninja.html
File metadata and controls
41 lines (40 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<head>
<title>tyler blevins dot fortnite</title>
<meta property="og:type" content="video.other">
<meta property="og:video:url" content="https://catboy.sex/misc/vid/ninja.webm" />
<meta property="og:video:type" content="video/webm"/>
<meta property="og:video:height" content="220">
<meta property="og:video:width" content="356">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
body {
background-image: url('misc/img/tyler.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
h1 { font-family: 'Roboto', sans-serif; font-size: 48px; text-shadow: 0 0 5px #ffffff; }
a { text-shadow: 0 0 5px #000000; }
</style>
</head>
<html>
<h1>TYLER MOTHERFUCKING <a href=https://catboy.sex/misc/vid/ninja.webm>NINJA</a> BLEVINS</h1>
<button id="music-button" onclick="this.style.display='none';document.querySelector('audio').play()">click for immersive mode (plays music)</button>
<audio id="audio" src="misc/aud/fortnite.ogg"></audio>
<br><br>
<form id="fortnite-form" style="display:none" action="com.epicgames.launcher://">
<input type="submit" value="open epic games launcher"/>
</form>
<script>
const audiofile = ['misc/aud/fortnite.ogg', 'misc/aud/fortnite-wahwah.mp3'];
document.getElementById('music-button').onclick = function() {
const randomFile = audiofile[Math.floor(Math.random() * audiofile.length)];
const audio = new Audio(randomFile);
audio.play();
this.remove();
};
document.getElementById("audio").loop = true;
if (navigator.userAgent.includes('Windows')) { document.getElementById('fortnite-form').style.display = 'block'; }
</script>
</html>