wrote a class to handle epub parsing, implemented bytesize of all previous files, total bytesize. still needs implementation of bytesize of current file until CFI point.

This commit is contained in:
quarz12
2023-06-09 18:32:05 +02:00
parent c29b1696f7
commit 10c66b6e63
2 changed files with 81 additions and 0 deletions
+1
View File
@@ -153,6 +153,7 @@
<script src="{{ url_for('static', filename='js/libs/screenfull.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/reader.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/reading/epub.js') }}"></script>
<script src="{{ url_for('static', filename='js/libs/pako.min.js') }}"</script>
<script>
function getTextByteLength() {
let size = 0;