Maybe a solution for safer interactive epub (kids book) ?

Hey folks,


I found this js library https://github.com/NeilFraser/JS-Interpreter 
could potentially provide a safer javascript runtime.

It seems can let book only run whitelisted JS API defined by digital 
book reading system. Hence, no unnecessary DOM manipulation, no 
unnecessary web access.

So I am thinking maybe this could be a good solution to provide safer JS 
runtime environment for interactive books such as Kids book.

But also thinking to let digital books use something like this it will 
need some consensus from reading system about what functionality to provide.


What do you think? Anyone interested in explore a little more?


Cheers,

Zheng

Received on Thursday, 15 June 2023 03:36:52 UTC