mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
9 lines
341 B
HTML
9 lines
341 B
HTML
<script src="https://cdn.jsdelivr.net/npm/epubjs/dist/epub.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/jszip/dist/jszip.min.js"></script>
|
|
<div id="area"></div>
|
|
<script>
|
|
let url = location.search.substring(3);
|
|
var book = ePub(url);
|
|
var rendition = book.renderTo("area");
|
|
var displayed = rendition.display();
|
|
</script>
|