forked from RuyiLi/greetings-human
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (45 loc) · 1.7 KB
/
index.html
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
<!DOCTYPE html>
<html>
<!-- no easter eggs here
nice try tho
try looking in other files, plenty of txt here
-->
<head>
<title>WD-40</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="description" content="Seem like you can type an English character and translate it to Wingdings.">
<meta name="og:description" content="Seem like you can type an English character and translate it to Wingdings.">
<meta name="keywords" content="W.D. Gaster,W.D Gaster translator,Undertale wingdings translator,Wingdings Translator">
</head>
<body>
<h1 align="center">WD-40</h1>
<h3 align="center">Seem like you can type an English character and translate it to Wingdings.</h3>
<br>
<textarea rows="5" id="input" spellcheck="false" translate="false"></textarea>
<br><br><br><br><br><br><br><br><br><br><br>
<div id="cc"><canvas id="logo" height="999px"></canvas></div>
<img id="res">
<br><br><br><br><br>
<script type="text/javascript">
var tCtx = document.getElementById('logo').getContext('2d');
var imageElem = document.getElementById('res');
// Create gradient
//var grd = tCtx.createLinearGradient(999,999,999,999);
//.addColorStop(0,"black");
document.getElementById('input').addEventListener('keyup', function (){
tCtx.canvas.width = 999;
tCtx.font = '30px lorem';
//tCtx.fillStyle = grd;
//tCtx.fillRect(999,999,999,999);
tCtx.fillStyle = 'white';
tCtx.fillText(this.value.toUpperCase(), 25, 50);
imageElem.src = tCtx.canvas.toDataURL();
//console.log(imageElem.src);
if(document.getElementById('input').value == 'RUYILI IS A COOL GUY'){
alert('GREAT!');
}
}, false);
</script>
<br><br><br><br><br>
</body>
</html>