John Factotum
b6f514675b
Reader: open external links
2022-11-04 14:40:44 +00:00
John Factotum
c32e1c8cf1
Create .gitattributes
2022-11-04 14:19:37 +00:00
John Factotum
2b51522c43
Add .eslintrc.json
...
And fix issues
2022-11-04 14:12:07 +00:00
John Factotum
a9805d3e63
EPUB: preliminary work on Media Overlays
2022-11-04 11:47:27 +00:00
John Factotum
b1ac5a943f
Reader: expose the reader object globally
...
Makes it easier for debugging or exploring the API in the console
2022-11-04 11:00:18 +00:00
John Factotum
6b553eb89c
Fix method definition
2022-11-04 10:49:22 +00:00
John Factotum
bc22699bab
EPUB: add a method for getting Calibre bookmarks
...
See https://github.com/johnfactotum/foliate/issues/849
2022-11-04 10:43:30 +00:00
John Factotum
a11fd9637d
FXL: support spread both and portrait
...
Also fix `page-spread-center` in portrait
2022-10-29 16:45:17 +00:00
John Factotum
3aad499696
FXL: page-spread-center and spread none
2022-10-29 16:10:56 +00:00
John Factotum
602c8381c2
Add support for <object>
...
It's sometimes used for SVGs
2022-10-27 18:11:21 +00:00
John Factotum
2a5ccb93d9
Reader: allow opening unzipped EPUBs
2022-10-27 17:41:26 +00:00
John Factotum
60bebc39b4
Remove useless variable
2022-10-27 09:30:47 +00:00
John Factotum
967a00f5b8
Make paginator more self-contained
...
Don't rely on absolute positioning and margin. And set background on
the containing element rather than the document body.
2022-10-27 09:05:29 +00:00
John Factotum
88ac253f30
FB2: fix encoding on Firefox
2022-10-26 08:32:24 +00:00
John Factotum
af0050aba7
MOBI: fix duplicated anchors
2022-10-26 06:07:15 +00:00
John Factotum
750458d4b7
Reader: avoid overriding the align attribute
2022-10-26 04:24:32 +00:00
John Factotum
f2f41e6013
Reader: add unprefixed hyphens
2022-10-25 08:47:52 +00:00
John Factotum
6977ac005d
Get rect in reader instead of view
...
Also expose index in `loaded` event
2022-10-25 05:55:57 +00:00
John Factotum
d63905346c
Add annotations
...
Simplify overlayer API; allow one overlayer only.
2022-10-24 13:11:51 +00:00
John Factotum
37ccb74238
Replace viewport units in CSS
...
In theory it could do something much more complicated. But it seems
better to just say "vh and vw are not supported", and this would just
be failing more gracefully.
I mean, the spec itself says,
> Keep in mind that some Reading Systems will not support all desired
> features of CSS. In particular, the following are known to be
> problematic [...] Pagination is sometimes done using columns, which
> can result in incorrect values for viewport sizes.
Fixes #1
2022-10-22 21:50:47 +00:00
John Factotum
21bf6499a4
Reader: add progress slider
2022-10-22 18:29:52 +00:00
John Factotum
c3598e3c38
Update README.md
2022-10-22 14:17:14 +00:00
John Factotum
5103dc9b90
View: make it possible to do things on load
...
Also refactor reader, and add left/right shortcuts
2022-10-22 12:42:35 +00:00
John Factotum
4def05e741
Reader: fix popover arrow when space is limited
...
Also make the arrow aria-hidden
2022-10-22 10:14:13 +00:00
John Factotum
bf9a2699e0
Update README.md
2022-10-21 23:33:56 +00:00
John Factotum
3c05d0a957
Reader: add footnote popovers
...
Lacks a "go to" button, but at least shows something instead of nothing
2022-10-21 18:57:26 +00:00
John Factotum
e74ad4311f
FXL: fix overflowing
...
Which for some reason only happens in Firefox
2022-10-21 10:39:55 +00:00
John Factotum
9250f47058
EPUB: set content type for cover blob
...
Although the type can often be auto-detected, it's better to set it
explicitly, especially for SVGs.
2022-10-21 10:20:23 +00:00
John Factotum
f39d74f932
Reader: add layout option
2022-10-21 09:53:00 +00:00
John Factotum
fea239a111
Reader: show cover, title, and author in sidebar
2022-10-20 18:16:44 +00:00
John Factotum
6348ca4a9d
EPUB: fixed unload func not added to section
...
Missed it for some reason
2022-10-20 17:00:00 +00:00
John Factotum
759a3b31a7
Fix vertical writing for Firefox
2022-10-20 15:30:49 +00:00
John Factotum
84691787fa
Reader: add title and file chooser button
2022-10-20 14:28:42 +00:00
John Factotum
9a2bb558fd
Reader: add sidebar and TOC
2022-10-20 12:50:37 +00:00
John Factotum
cf9d4cb8a5
Update README.md
2022-10-20 09:32:00 +00:00
John Factotum
2dc424de29
Update README.md
2022-10-19 20:13:03 +00:00
John Factotum
3ac917c706
Add tests for EPUB CFI
2022-10-19 17:03:49 +00:00
John Factotum
8ca6bd5f29
Update README.md
2022-10-19 12:19:51 +00:00
John Factotum
d0cd085a22
Add sample reader
2022-10-19 11:04:43 +00:00
John Factotum
1d1b5ed82b
Update README.md
2022-10-18 19:39:47 +00:00
John Factotum
5fc72d121c
Add files via upload
2022-10-18 18:55:54 +00:00
John Factotum
c986ba68e5
Initial commit
2022-10-18 18:45:22 +00:00