![]() |
#31 |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Nov 2024
Device: KOBO
|
The thing is that Javascript actually IS supported. You can execute JS on page load. So it can’t be a security concern issue!
The only missing part here is that touches get absorbed by the reader app for accessing the menu. On iOS you can use event.preventDefault() to break through this filter and get to your underlying JS code for providing the user with further interactive functionality. Only on the KOBO device itself you can’t… Last edited by mramosch; 01-31-2025 at 05:25 PM. |
![]() |
![]() |
![]() |
#32 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,601
Karma: 16300090
Join Date: Sep 2022
Device: Kobo Libra 2
|
That's pretty odd. I guess it really is just a case of "too lazy to implement the spec" at work here.
|
![]() |
![]() |
![]() |
#33 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,462
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For my purposes, the limited implementation of JS in the Kobo WebKit based renderer is moderately useful but 99.99% of the ebooks I've seen do not use JS at all. I also remember that Kobo's ereaders are intended for reading ebooks. Most of the features of JS are less than useless for reading ebooks. Implementing features that would not be useful for ebooks is not laziness, it's more likely that the programmers are trying to keep the code size down for a device with limited memory and CPU.
I am curious as to what layer below the renderer on a Kobo ereader are you trying to send touch events to? The Linux OS? Have you written a shim to run between the renderer and Linux? Last edited by DNSB; 01-31-2025 at 09:40 PM. |
![]() |
![]() |
![]() |
#34 | ||
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Nov 2024
Device: KOBO
|
Quote:
So apps like AppleBooks, BookFusion or FileBrowser let the touches fall through their ‘hijacked’ layer and hence giving the epub developer/publisher the opportunity to add further interactivity to their content. Quote:
If one insists on using a device for reading text only and not for listening to audiobooks you might - e.g. for language acquisition purposes - nevertheless enjoy features for accessing multi-lingual content on demand without using the clumsy interface of most reader applications and without having to get your device’s battery drained because you need WiFi to connect to translation servers. The lack of complete implementations of the epub3 standard and proprietary decisions on many readers give us producers headaches with pop-ups, links, footnotes, endnotes etc. - we all know this from other threads ;-) That’s where a few lines of JS can come in very handy. And if you you are willing to leave the ‘reading only’ reservation the same holds true for some audio magic. I managed to find a way to make epubs with MediaOverlays also accessible on apps like Apple Books although they are all trying hard to convince us that you need their KOBO, Apple, Amazon like Audible-Stores to be able to consume AudioBooks on their proprietary platforms. In addition you can have AudioBooks be much more accessible (and here I am literally talking about ‘Accessibility’ for the handicapped/impaired folks - I hope I am being politically correct here with these expressions) than they are with the standard transport bar interfaces. Now that I have all this working on non e-Ink screen devices I wanna have the same functionality on e-Ink, that’s my dream for consuming multilingual text and AudioBooks. I hope that answers your questions. — — — Last edited by mramosch; 02-01-2025 at 04:31 AM. |
||
![]() |
![]() |
![]() |
#35 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,122
Karma: 16342480
Join Date: May 2017
Device: Sage, Scribe, Boox Note 2 Plus, iPad Pros and Samsungs S6,S7,S8
|
Is there a reason that you just don't buy the ebooks from KOBO store? it is illegal to strip DRM off of ebooks
|
![]() |
![]() |
![]() |
#36 |
Connoisseur
![]() Posts: 55
Karma: 10
Join Date: Nov 2024
Device: KOBO
|
DELETED: misunderstood the question…
Last edited by mramosch; 02-14-2025 at 03:01 AM. |
![]() |
![]() |
![]() |
#37 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,435
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
There is a load of FUD about DRM, that's propagated by large US companies wanting to control the consumer. It's not about piracy. Even the DMCA is only the USA and might not even apply. The "injured" rights holder would have to prove a loss. |
|
![]() |
![]() |
![]() |
#38 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,781
Karma: 69984959
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
|
|
![]() |
![]() |
![]() |
#39 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,601
Karma: 16300090
Join Date: Sep 2022
Device: Kobo Libra 2
|
Does the EPUB3 spec not define what a reading platform should be able to do with JS?
|
![]() |
![]() |
![]() |
#40 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,138
Karma: 78857258
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
For what it's worth here are the ePub 3.3 compliance testing results --> https://w3c.github.io/epub-tests/results
It's not stated how exactly the testing is performed for Kobo, but I thin k it's safe to say it will be with kepub format through (what was once) the Net Access engine (I don't recall it's current name). |
![]() |
![]() |
![]() |
#41 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,601
Karma: 16300090
Join Date: Sep 2022
Device: Kobo Libra 2
|
Yeah, Kobo uses an old version of RMSDK that doesn't support EPUB3. Firmware 4.x uses WebKit for KEPUB, but I recall somebody said that firmware 5.x may have an updated engine.
Section 3.10 seems to say that scripting support is optional, so I guess DNSB would be correct that Kobo can ignore some or all of the functionality as the developers see fit while still claiming EPUB3 support in general. |
![]() |
![]() |
![]() |
#42 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,462
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The problem for me is that I read at about 1,000 WPM. Any audio book playback is at a far lower speed or totally undecipherable by my ears. As for mentioning things like listening to books while driving? I really don't need to get nicked for distracted driving.
As for using the types of books you seem to want Kobo to support despite the hardware limitations? I have my desktop computer, laptop computer, iPad Pro and Lenovo M8 tablet for when I want to scratch those itches. Yes, 3/4 of them were more expensive than my Sage but sometimes, you need an i9-24 core with 64GB of memory and 4TB of PCI4 SSD storage to keep yourself from dying from impatience. I worked in IT for decades and needed my toys to do much of my work and have seen little reason not to continue keeping them up to date. I read books in English mostly with the occasional French, German and Spanish book where the language to English dictionaries tend to get a good workout. If I want to translate a book, I use the Ebook Translator plugin in calibre and let my desktop do the heavy lifting. Similarly I use a calibre plugin for converting an ebook to audio. Every once in a while, I give audiobooks another try. So far nothing but cold pancakes and no honey. As for interactive ebooks? They've been pushed at least since Ted Nelson in the 1960s. So far, any efforts that I've seen have convinced me that interactive books are little more than a solution in search of a problem. Media overlays? The last interactive book project I was involved with was a ebook with media overlays ended up foundering on the sheer size of the book. 2MB for the original books, 307MB for the media overlay version in development—those images and audio files chewed up space like it was free. The project was eventually dumped though they had the sense to stop the project while they could still pay out the contractors (my personal opinion as one of those contractors). There may have been a few fans who would have purchased the ebook regardless of size and cost but not enough to make it financially viable considering that it had issues with Amazon's requirements so would miss out on the elephant in the ebook market. |
![]() |
![]() |
![]() |
#43 | ||
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,462
Karma: 165170834
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Looking at the rather aged Kobo epub spec page: Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressing "Restore Defaults" under "Book Details" wipes all "Look & Feel" settings. | MarjaE | Library Management | 1 | 03-30-2021 11:46 AM |
Feedback on "The server interface" and "The book reader" | Henning | Server | 4 | 05-24-2020 05:15 PM |
Closest output profile to Kobo Forma in "Convert Book" dialog is "Kobo Reader" but.. | droopy | Devices | 6 | 10-13-2019 10:52 PM |
Removing "Duokan Store" and "Duokan Push" from directory view | barbiedolphin | Kindle Developer's Corner | 13 | 01-29-2019 07:09 PM |
There are "RSS reader" and "mail client" hacks for kobo? | Seninha | Kobo Reader | 2 | 09-30-2014 11:02 PM |