forked from futurepress/epubjs-reader
-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
34 lines (27 loc) · 934 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="icon" type="image/png" href="img/favicon.png">
<link rel="stylesheet" href="css/main.css">
<!-- Libs -->
<script src="js/libs/jszip.min.js"></script>
<script src="js/libs/md5.min.js"></script>
<script src="js/libs/epub.min.js"></script>
<!-- Reader -->
<script type="module">
import { Reader } from "./js/epubreader.min.js"
const url = new URL(window.location)
const path = url.searchParams.get("bookPath") || "https://s3.amazonaws.com/moby-dick/"
window.onload = (e) => new Reader(path)
</script>
</head>
<body>
</body>
</html>