Quote:
Originally Posted by jgoguen
As I've mentioned many times before, I can't include kobo.js or kobo.css, both of which are needed for many things (highlighting, annotations, bookmarks...) to work properly, because they are copyrighted non-distributable files.
|
I understand fully why you can include those files.
But nowadays the kobo.css is just an empty file and the kobo.js is the same in every kepub.
Kobo should not put these files into their kepubs but place them on their devices and write a routine that looks for them.
The only interesting thing i've found in the
kobo.js is the "webkit-nbsp-mode" implementation by Kobo:
CSS property: -webkit-nbsp-mode
Description
Defines the behavior of nonbreaking spaces within text.
Syntax: -webkit-nbsp-mode: normal | space;
Values• normal (default): Nonbreaking spaces are treated as usual.
• space: Nonbreaking spaces are treated like standard spaces.
Kobo.js
Kobo's implementation in the kobo.js file:
Code:
webkitNbspMode = 'space';
and could be changed to:
Code:
webkitNbspMode = 'normal';
Maybe this will work on sideloaded epubs if you add this to the reading section of the Kobo eReader.conf file:
Code:
[Reading]
readingWebkitNbspMode=normal