-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
197 lines (185 loc) · 6.95 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<base href="https://neco2.github.io" target="_blank">
<link rel="apple-touch-icon" href="/assets/favicon.png">
<link rel="icon" type="image/png" href="/assets/favicon.png">
<link rel="shortcut icon" type="image/png" href="/assets/favicon.png">
<!-- <link rel="stylesheet" href="/assets/css/zCssMerge.css"> -->
<link rel="stylesheet" href="/assets/css/styles.css">
<link rel="stylesheet" href="/assets/css/wrapper.css">
<link rel="stylesheet" href="/assets/css/series.css">
<!-- <link rel="stylesheet" href="/assets/css/seriesPage.css"> -->
<link rel="stylesheet" href="/assets/css/links.css">
<style>
.spoiler {
color:#FFFFFF00;
background:black;
}
.spoiler:hover {
color:inherit;
background:black;
}
</style>
<script>
function zeroPad(number) {
let [integer, decimal] = number.split('.');
integer = integer.padStart(3, '0');
if (decimal) {
return `${integer}.${decimal}`;
}
return integer;
}
async function downloadURL(uri, short, chapter, dlLink) {
const ext = uri.match(/\.[^\.\/]+$/);
console.log(short)
if (!ext) {
return
}
var name = ""
try {
chapterMatch = chapter.match(/\d+(\.\d+)?/)
name = short + zeroPad(chapterMatch[0])
}
catch {
name = short + "_" + chapter
}
event.preventDefault();
console.log("Downloading " + uri + " as " + name)
const oldInnerHTML = dlLink.innerHTML;
dlLink.innerHTML = oldInnerHTML + " <span style='font-size:65%'>(Connecting)</span>";
const response = await fetch(uri);
const contentLength = response.headers.get('content-length');
const total = parseInt(contentLength, 10);
let loaded = 0;
const res = new Response(new ReadableStream({
async start(controller) {
const reader = response.body.getReader();
for (;;) {
const {done, value} = await reader.read();
if (done) break;
loaded += value.byteLength;
dlLink.innerHTML = oldInnerHTML + " <span style='font-size:65%'>(" + (loaded/1000000).toFixed(2) + "/" + (total/1000000).toFixed(2) +"mb)</span>";
controller.enqueue(value);
}
controller.close();
},
}));
const blob = await res.blob();
const href = window.URL.createObjectURL(blob);
const a = document.createElement("a");
a.download = name + ext;
a.target="_blank"
a.href = href;
a.click();
a.href = "";
dlLink.innerHTML = oldInnerHTML;
}
</script>
<title>404 - neCo</title>
</head>
<!--
░█▀█░█▀▄░█▀█░█▀█░█▀▄░█▀█░█▀█░░░█▀█░█░░░█░░░░░█░█░█▀█░█▀█░█▀▀░░░░░░░█░█░█▀▀░░░█░█░█░█░█▀█░░░█▀▀░█▀█░▀█▀░█▀▀░█▀▄░░░█░█░█▀▀░█▀▄░█▀▀░
░█▀█░█▀▄░█▀█░█░█░█░█░█░█░█░█░░░█▀█░█░░░█░░░░░█▀█░█░█░█▀▀░█▀▀░░░░░░░░█░░█▀▀░░░█▄█░█▀█░█░█░░░█▀▀░█░█░░█░░█▀▀░█▀▄░░░█▀█░█▀▀░█▀▄░█▀▀░
░▀░▀░▀▀░░▀░▀░▀░▀░▀▀░░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀▀▀░░░▀░▀░▀▀▀░▀░░░▀▀▀░▄▀░░░░░▀░░▀▀▀░░░▀░▀░▀░▀░▀▀▀░░░▀▀▀░▀░▀░░▀░░▀▀▀░▀░▀░░░▀░▀░▀▀▀░▀░▀░▀▀▀░
-->
<body>
<div id="fakeBody">
<header id="header">
<div class="headerPos">
<nav>
<div class="headerImg">
<a target="_self" href="https://neco2.github.io" style="position: relative;">
<img src="assets/neco.svg" alt="" height=65px>
</a>
</div>
<a target="_self" href="https://neco2.github.io">
<div class="headerButton">
Home
</div>
</a>
<a target="_self" href="translations">
<div class="headerButton">
TLs
</div>
</a>
<!-- <a target="_self" href="chapters/">
<div class="headerButton">
Chapters
</div>
</a> -->
<a target="_self" href="blog/">
<div class="headerButton">
Blog
</div>
</a>
<a target="_self" href="resources/">
<div class="headerButton">
Resources
</div>
</a>
<!-- <input type="checkbox" id="colourSwitch" /> -->
</nav>
</div>
</header>
<div class="refreshBanner ver4 Aver2024-11-08-15-57">
<div>
If you are seeing this, please refresh the page without cache.<br>
(ctrl+shift+r usually)
</div>
</div>
<div id="contentContainer">
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
.headerImg {
padding-top: 8px;
background: url("/assets/neco-.png");
background-size:65px;
background-repeat:no-repeat;
background-position: center;
}
.hat{
bottom: 37px;
}
.headerImg img:not(.hat) {
opacity:0%;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found</strong></p>
<p>A fox playing tricks on you?</p>
</div>
<br>
</div>
<noscript>
<div>
JavaScript is unfortunately required to download chapters with the correct file-names.
</div>
</noscript>
</div>
<footer id="footer">
<div class="footerContent">
<span style="font-size:18px;margin-left:50%;left:-137px;display:table;vertical-align:top;text-align:center;position:absolute;"> <a target="_self" href="support">HOW TO SUPPORT THE AUTHOR</a></span>
</div>
<span style="opacity:20%">
May your path lea<a class="nonStyled" target="_self" href="debug">d</a> you to the gardens of eternal spring.
<span style="font-size:8px;">2024-11-08 15:57</span>
</span>
<span style="float:right;opacity:20%">
<a target="_self" href="feeds">Feeds</a> - <a target="_self" href="contact">Contact</a>
</span>
</footer>
</body>
</html>