mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Thu Sep 23 05:28:42 PM CST 2021
This commit is contained in:
parent
90e1d439bb
commit
1778ab4ca6
3 changed files with 80 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
<div id="area"></div>
|
||||
<script>
|
||||
let url = location.search.substring(3);
|
||||
if(url.startsWith("file:///"))
|
||||
url = "https://local/"+url.substring(8);
|
||||
var book = ePub(url);
|
||||
var rendition = book.renderTo("area");
|
||||
var displayed = rendition.display();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue