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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>s1nical - Keycodes</title>
<link rel="icon" type="image/jpg" href="/favicon.jpg" sizes="128x128">
<!-- Site metadata -->
<meta name="description" content="Keycodes">
<meta property="og:description" content="Keycodes">
<meta property="og:title" content="s1nical - Keycodes">
<meta property="twitter:card" content="summary">
<meta property="twitter:site" content="@9inny">
<meta property="og:image" content="">
<meta property="og:url" content="https://kyzer.co/keycodes">
<link rel="apple-touch-icon" sizes="128x128" href="/favicon.jpg">
<link rel="icon" type="image/jpg" href="/favicon.jpg" sizes="128x128">
<link rel="canonical" href="https://kyzer.co/keycodes">
<link rel="author" href="humans.txt" />
<!-- Schema.org Stuff -->
<script type="application/ld+json">
{
"name": "s1nical",
"alternateName": "s1n",
"description": "Keycodes",
"headline": "Keycodes",
"url": "https://kyzer.co/keycodes",
"image": "",
"sameAs": [
"https://twitter.com/9inny",
"https://github.com/8cy",
"https://www.reddit.com/user/s1nical/"
],
"publisher": {
"@type": "Organization",
"logo": {
"@type": "ImageObject",
"url": ""
}
},
"@type": "WebSite",
"@context": "http://schema.org"
}
</script>
<!-- External Libraries -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.3.1/trianglify.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<!-- CSS Links -->
<link rel="stylesheet" href="/about/css/main.css">
<link rel="stylesheet" href="/about/css/navigation-bar.css">
<link rel="stylesheet" href="/about/css/loader-animation.css">
<link rel="stylesheet" href="/about/css/blog-slider.css">
<link rel="stylesheet" href="/css/404.css">
<!-- Invisible Scripts -->
<script src="/js/loader-animation.js"></script>
<script src="/js/refresh-on-media.js"></script>
</head>
<body>
<!-- Visable Scripts -->
<script src="/js/background-sparkles.js"></script>
<!-- Navigation Bar -->
<div class="navigation-bar">
<nav class="nav">
<a href="/home/" class="nav-item" active-color="orange">Home</a>
<!-- Had `is-active` after it but removed it due to not highlighting. -->
<a href="/about/" class="nav-item" active-color="green">About</a> <!-- About -->
<!--<a href="https://p.s1n.pw/" class="nav-item" active-color="blue">Portfolio</a> <!-- Testimonials -->
<a href="https://kyzer.co/status" class="nav-item" active-color="red">Status</a> <!-- Blog -->
<!--<a href="/cars/" class="nav-item" active-color="rebeccapurple">Cars</a> <!-- Contact -->
<!--<a href="https://nani.s1n.pw" class="nav-item" active-color="rebeccapurple">Nani?!</a>-->
<span class="nav-indicator"></span>
</nav>
</div>
<style>
.keycodes-parent {
height: 100%;
text-align: center;
line-height: 1.4;
font-size: 25px;
}
pre {
text-align: left;
}
</style>
<script>
document.addEventListener("keydown", function(event) {
console.log(event);
document.getElementById("keycodes").innerHTML = `
<!--
<b>which: ${event.which}</b>
<br> -->
<b>keyCode:</b> ${event.keyCode}
<br>
<b>shiftKey:</b> ${event.shiftKey}
</br>
<b>altKey:</b> ${event.altKey}
<br>
<b>ctrlKey:</b> ${event.ctrlKey}
<br>
<b>metaKey:</b> ${event.metaKey}
<br>
<b>key:</b> ${event.key}
`;
});
$(window).on('keydown', function () {
if (event.keyCode == 123, 112, 114, 116)
return false;
else if (event.ctrlKey && event.shiftKey && event.keyCode == 73)
return false;
else if (event.ctrlKey && event.keyCode == 73)
return false;
else if (event.ctrlKey && event.shiftKey && event.keyCode == 74)
return false;
else if (event.ctrlKey && event.keyCode == 74)
return false;
});
</script>
<div class="bio">
<div class="links">
<div class="blog-slider">
<div class="content" style="text-align: center;">
<div class="keycodes-parent">
<span id="keycodes">
<b>keyCode:</b> NaN<br>
<b>shiftKey:</b> NaN<br>
<b>altKey:</b> NaN<br>
<b>ctrlKey:</b> NaN<br>
<b>metaKey:</b> NaN<br>
<b>key:</b> NaN
</span>
</div>
<a class="mobile" href="/home/">Back home</a>
<h1 class="mobile">
<!-- Filler -->
</h1>
</div>
</div>
</div>
</div>
<!-- Loading Animation -->
<div class="loader-wrapper">
<div class="loader">
<row>
<span></span>
<span></span>
<span></span>
</row>
<row>
<span></span>
<span></span>
<span></span>
</row>
<row>
<span></span>
<span></span>
<span></span>
</row>
</div>
</div>
</body>
</html>
|