-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathindex.html
66 lines (66 loc) · 2.02 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
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<meta content='width=device-width, initial-scale=1.0' name='viewport' />
<title>MangaOnlineViewer Script</title>
<link
rel='stylesheet'
href='https://cdn.jsdelivr.net/npm/@picocss/pico@1/css/pico.min.css'
/>
</head>
<body>
<main id='MangaOnlineViewer' class='container'>
<h1>MangaOnlineViewer</h1>
<div id='LocalTest'>
<h2 id='run-test'>Run local test</h2>
<button type='button' id='test'>Run Local Test</button>
</div>
<div id='LocalFiles'>
<h2>
Local Files (ZIP, CBZ, CBR..., PNGs, JPGs...)
</h2>
<p>
<b>Attention</b>: You will need to "Allow access to file URLs" for tampermonkey,
just go to the browser extension settings.
</p>
<p>
Can read any zip file with images inside and display it like any of the supported
sites
</p>
<label for='file'>Choose the local zip file:</label>
<input
type='file'
id='file'
name='file'
class='btn'
accept='.zip, .cbz, .cbr, .7z, .rar'
value=''
/><br />
<p>Note : your browser will process the zip file, don't choose a file too big !</p>
<label for='file'><b>OR</b> Select a folder with images inside:</label>
<input
type='file'
id='folder'
name='folder'
class='btn'
webkitdirectory
mozdirectory
directory
value=''
/><br />
<label for='file'><b>OR</b> Select images:</label>
<input
type='file'
id='images'
name='images'
class='btn'
accept='image/*'
multiple
value=''
/><br />
</div>
</main>
<script src='/src/index.ts' type='module'></script>
</body>
</html>