-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
202 lines (194 loc) · 6.28 KB
/
404.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>TrollCall</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=0.9">
<link rel="stylesheet" type="text/css" href="/assets/styles/main.css" />
<link rel="stylesheet" type="text/css" href="/assets/styles/style.css" />
<link rel="stylesheet" type="text/css" href="/assets/styles/mspa.css" />
<link rel="shortcut icon" href="/assets/images/favicon.ico" type="image/x-icon"/>
<meta property="og:type" content="website">
<meta property="og:title" content="TrollCall -- Not Found">
<meta property="og:url" content="/404/">
<!-- <meta property="og:description" content=""> -->
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL@20,700,1" rel="stylesheet" />
</head>
<body>
<box span align-center nopad justify-start class="overflow">
<box nopad span noimportant></box>
<box align-stretch nopad class="overflow">
<box class="clipparent" frame horizontal justify-between noimportant code align-center>
<a href="/"><== Back</a>
<a href="https://trollcall.xyz/404" onclick="linkClick(event)"><text big class="FORCEUNDERLINE">Not Found</text></a>
<text>Error</text>
<box frame id="ClipPrompt"></box>
</box>
<style>
.clipparent {
position: relative;
overflow: visible;
}
#ClipPrompt {
opacity: 0;
pointer-events: none;
position: absolute;
top: calc(100% + 4px);
left: 50%;
transform: translateX(-50%);
transition: opacity 2s;
}
.ClipVisible {
opacity: 1 !important;
transition: opacity 0.25s !important;
}
</style>
<script>
function linkClick(e) {
console.log(e.target.parentElement);
e.preventDefault();
navigator.clipboard.writeText(e.target.parentElement.getAttribute('href'));
document.getElementById("ClipPrompt").innerHTML = `<text normal>Copied <i>${e.target.parentElement.getAttribute('href')}</i> to clipboard</text>`;
document.getElementById("ClipPrompt").classList.add("ClipVisible");
setTimeout(() => {
document.getElementById("ClipPrompt").classList.remove("ClipVisible");
}, 1500);
}
</script>
<div id="friendsim">
<img id="friendsim_img" src="/assets/error/404_0.png" />
<div id="friendsim_box">
<text large>Tyzias</text>
<text id="boxdialog"><noscript>you shouldn't be here
also you have javascript disabled so this mmmminigammmme doesn't wwwwork
i recommmmmmmmend enabling it, personally</noscript></text>
</div>
</div>
<box frame span align-stretch noimportant>
<text span>TrollCall.xyz (rev. 2 upd. MARCH-5)</text>
<text span>© 2023 MeowcaTheoRange. Some characters may not be owned by me.</text>
<spacer noshow></spacer>
<text span>This website uses character species and designs from the property Homestuck.</text>
<text span>© Homestuck and VIZ Media</text>
<spacer noshow></spacer>
<text span>Name is from HIVESWAP's <a href="http://hs.trollcall.xyz/">TrollCall</a> page.</text>
<text span>Homestuck and HIVESWAP © Homestuck Inc.</text>
<spacer noshow></spacer>
<text span>Tyzias Entykk sprites from Hiveswap Friendsim. <a href="https://mspaintadventures.fandom.com/wiki/File:TyziasSprites.gif">Source</a></text>
</box>
</box>
</box>
<script type="module">
import * as color from "/assets/scripts/color.js";
color.themeColor("#00ffff", "pri");
color.themeColor("#ff0000", "sec");
</script>
<script defer>
var dlimg = document.getElementById("friendsim_img");
var bdialog = document.getElementById("boxdialog");
var main = document.getElementById("friendsim");
var isTalking = false;
var dialogue = [
["", "404_3"],
["excuse mmmme wwwwhat the fuck", "404_0"],
["you shouldn't be here", "404_0"],
["did you get lost" + (location.pathname === "/404" ? "" : " wwwwhile going to " + location.pathname.replace(/(m|w)/gm, "$1$1$1$1")), "404_2"],
["figures", "404_4"],
["", "404_3"],
["huh", "404_2"],
["wwwwhat's that? wwwwhy ammmm i here?", "404_0"],
["that's none of your fucking business", "404_1"],
["also", "404_0"],
["leave", "404_0"],
["", "404_3"]
];
var talkindex = 0;
var speakindex = 0;
document.addEventListener('keydown', e => {if (e.key == " " || e.code == "Space" || e.keyCode == 32) progress(e)});
main.addEventListener('click', progress);
function progress(e) {
e.preventDefault();
if (isTalking) {
speakindex = dialogue[talkindex][0].length
} else {
talkindex++;
if (talkindex >= dialogue.length) {
location.href = "/";
return;
}
try {
talkLol(dialogue[talkindex]);
} catch (err) {
talkLol(["oh hey by the wwwway, " + err.toString().toLowerCase().replace(/(m|w)/gm, "$1$1$1$1").replace(/\./gm, ""), "404_4"]);
}
}
};
function talkLol(dlg) {
isTalking = true;
speakindex = 0;
dlimg.src = "/assets/error/" + dlg[1] + ".png";
var x = setInterval(() => {
if (speakindex > dlg[0].length) {
console.log("Done");
isTalking = false;
clearInterval(x);
}
bdialog.innerHTML = dlg[0].slice(0, speakindex);
speakindex++;
}, 50)
}
talkLol(dialogue[talkindex])
</script>
<style>
.overflow {
overflow: visible;
}
#friendsim {
padding: 0;
display: inline-block;
width: calc(100vw - 64px);
max-width: 960px;
aspect-ratio: 16 / 9;
background-color: black;
border: 1px solid var(--this-color80);
box-shadow: 0 0 0 2px var(--this-color40);
border-radius: 8px;
position: relative;
}
#friendsim_box {
position: absolute;
bottom: 3.33%;
left: 8.335%;
width: 83.33%;
height: 31.25%;
background-image: url("/assets/images/pattern.svg");
background-color: var(--this-color20);
background-size: 25%;
border: 2px solid var(--this-color80);
border-radius: 8px;
text-align: left;
padding: 0.83%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: stretch;
gap: 0.83%;
box-sizing: border-box;
}
#boxdialog {
padding: 0.83%;
border-radius: 8px;
background-color: var(--this-color10);
color: var(--this-color-90);
height: 100%;
white-space: pre-wrap;
overflow-wrap: break-word;
}
#friendsim_img {
}
</style>
</body>
</html>