View Single Post
Old 01-11-2016, 09:40 AM   #1
zobo
Junior Member
zobo began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2015
Device: h2o
Javascript and local .html files

Greetings!

I'm using an "out-of-the-box" Kobo Aura H20.
I'm hoping to use it as a one-stop reference tool - the ability to read pdfs, access tiffs, use a browser in the rain, etc is very handy and not economically available in other hardware.
BUT...
I wanted a scientific calculator. I knocked one up in Javascript, and although it works well enough when I use the Kobo browser to access the calculator "on-line" on a remote server, the javascript is not active when I load the calculator.html file into the Library and view it. The buttons show, but do nothing. Some experimentation showed it's not my bad js, but that the reader ignores js.
Q1) Is there a way to make the reader parse and act on js code?

I tried to use the browser to walk the local directory tree by entering

file:///

in the address bar - but that fails to load anything.

Q2) Can the kobo browser access local files?
Q2a) If so, how, and what syntax?

Thanks for your time...

zobo
zobo is offline   Reply With Quote