On Sat, Dec 25, 2021 at 08:01:43PM +0100, Patrice Dumas wrote: > That being said, there is an interface for info.js with INFO_JS_DIR, so > it would make sense to include that in the epub when INFO_JS_DIR is set, > I'll have a try.
I did that as well as adding informations corresponding to JS_WEBLABELS_FILE. Calibre seems to try to do something with the javascript but it does not seems to work well if at all. It can follow the link to js_licenses.xhtml. I also tried Foliage, but it does not have the js functionnalities required, and shows the "'info.js' is not compatible with this browser" message (also need to set 'allows unsafe content'). It also cannot follow the link to js_licenses.xhtml. I also tried Bookworm, but it fails to open the epub files. -- Pat
