-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
270 lines (252 loc) · 7.33 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
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="manifest" href="manifest.json">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
<title>is a Creep</title>
<meta name="description" content="View the latest hit single, Creep Remix! Add in a name, and let the magic begin!">
<style media="screen">
html {
font-family: 'Roboto', sans-serif;
}
h1 {
font-size: 48px;
text-align: center;
}
h2 {
font-size: 25px;
text-align: center;
}
h3 {
font-size: 22px;
}
input {
height: 45px;
border: none;
border-radius: 10px;
width: calc(90vw - 20px);
margin-left: auto;
margin-right: auto;
position: relative;
display: block;
outline: none;
font-size: 22px;
padding-left: 10px;
padding-right: 10px;
max-width: 650px;
background: #d4d4d4;
}
.output {
height: auto;
margin-top: 25px;
margin-bottom: 25px;
margin-left: auto;
margin-right: auto;
width: 90vw;
max-width: 650px;
}
.suggestbox {
height: auto;
border: none;
width: 90vw;
margin-left: auto;
margin-right: auto;
position: relative;
display: block;
outline: none;
font-size: 22px;
padding-left: 10px;
padding-right: 10px;
max-width: 650px;
}
.suggestions {
height: 25px;
margin-bottom: 7.5px;
border: 4px solid #d4d4d4;
margin-top: 0px;
border-radius: 15px;
width: auto;
margin-left: auto;
margin-right: auto;
position: relative;
display: inline-block;
outline: none;
font-size: 20px;
line-height: 25px;
padding-left: 10px;
padding-right: 10px;
margin-right: 7.5px;
transition: 0.25s;
}
.suggestions:hover {
transform: scale(1.15);
}
.suggestions:active {
transform: scale(.95);
}
.warningchip {
height: auto;
min-height: 25px;
padding: 10px;
max-width: 500px;
width: 75vw;
border-radius: 15px;
margin-left: auto;
font-size: 25px;
line-height: 25px;
margin-right: auto;
left: 0;
right: 0;
color: white;
text-align: center;
margin-left: auto;
margin-right: auto;
transition: all 1s ease-out;
background: #ed0008;
position: fixed;
box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2);
bottom: -325px;
z-index: 9999;
}
.warningchip:hover {
transition: all 0.25s;
box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<div class="warningchip" id="warningchip">
</div>
<h1><span class="nameout"></span> is a Creep</h1>
<h2>Enter a name of someone, and some magic will appear!</h2>
<input id="nameput" type="text" name="" value="">
<div class="output">
<h3><span class="nameout"></span> is a Creep</h3>
<p>When you were here before
<br>
Couldn't look you in the eye
<br>
You're just like an angel
<br>
Your skin makes me cry
<br>
You float like a feather
<br>
In a beautiful world
<br>
<span class="nameout"></span> wish <span class="nameout"></span> was special
<br>
You're so fuckin' special
<br>
But <span class="nameout"></span> is a creep
<br>
<span class="nameout"></span> is a weirdo
<br>
What the hell is <span class="nameout"></span> doin' here?
<br>
<span class="nameout"></span> don't belong here
<br>
<span class="nameout"></span> don't care if it hurts
<br>
<span class="nameout"></span> wanna have control
<br>
<span class="nameout"></span> want a perfect body
<br>
<span class="nameout"></span> want a perfect soul
<br>
<span class="nameout"></span> want you to notice
<br>
When <span class="nameout"></span> is not around
<br>
So fuckin' special
<br>
<span class="nameout"></span> wish <span class="nameout"></span> was special
<br>
But <span class="nameout"></span> is a creep
<br>
<span class="nameout"></span> is a weirdo
<br>
What the hell is <span class="nameout"></span> doin' here?
<br>
<span class="nameout"></span> don't belong here
<br>
She's running out the door (run)
<br>
She's running out
<br>
She run, run, run, run,
<br>
Run...
<br>
Whatever makes you happy
<br>
Whatever you want
<br>
You're so fuckin' special
<br>
<span class="nameout"></span> wish <span class="nameout"></span> was special
<br>
But <span class="nameout"></span> is a creep
<br>
<span class="nameout"></span> is a weirdo
<br>
What the hell is <span class="nameout"></span> doin' here?
<br>
<span class="nameout"></span> don't belong here
<br>
<span class="nameout"></span> don't belong here
<br>
</p>
</div>
<h3 style="text-align: center;">Made with 😕 by <a href="https://thisistim.dev">Tim</a> | Idea from <a
href="https://github.com/Sid220">Sid</a></h3>
<script type="text/javascript">
bannedNames = ["timothy", "tim", "sid", "sidney", "the fake slim shady", "timmay", "timmy", "piflyer", "kim jung un"]
function northKorea(name){
if(bannedNames.includes(name.toLowerCase()) && name !== ""){
return "";
}
return name;
}
if (window.location.hash) {
var named = decodeURI(window.location.hash.substring(1));
named = northKorea(named);
document.getElementById("nameput").value = named;
if(named === ""){
warningchip("You're not allowed to use that name! This is Monsanto™© censorship!");
}
[...document.getElementsByClassName("nameout")].forEach((elem) => {
elem.innerHTML = named;
})
location.hash = named;
}
document.getElementById('nameput').addEventListener('input', function () {
var named = northKorea(document.getElementById("nameput").value);
location.hash = named;
[...document.getElementsByClassName("nameout")].forEach((elem) => {
elem.innerHTML = named;
})
if(named === ""){
warningchip("You're not allowed to use that name! This is Monsanto™© censorship!");
document.getElementById("nameput").value = "";
}
//document.querySelectorAll(".nameout")[0].innerHTML = named;
})
function warningchip(chipwarn) {
document.getElementById('warningchip').style.bottom = "25px";
document.getElementById('warningchip').innerHTML = chipwarn;
setTimeout(function () {
document.getElementById('warningchip').style.animation = "all 1s ease-in"
document.getElementById('warningchip').style.bottom = "-100px";
}, 3000);
}
</script>
</body>
</html>