View Single Post
Old 11-01-2018, 03:47 PM   #8
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
You can use my WebPortal mod to run HTML+JS+CGI stuff in the Kobo browser (from localhost, http://127.0.0.1 or http://webportal).

However, the Kindle app shown in their screenshot won't work on Kobo browser either.

Quote:
Nov 1 20:37:12 nickel: ( 76.812 @ 0x4c7898 / ui.debug) "http://127.0.0.1/kindle/iKommunicate-API-Kindle.html:661: 127.0.0.1"
Nov 1 20:37:12 nickel: ( 76.814 @ 0x4c7898 / ui.debug) "http://127.0.0.1/kindle/iKommunicate-API-Kindle.html:547: TypeError: null is not an object (evaluating 'localStorage.getItem')"
Nov 1 20:37:26 nickel: ( 90.839 @ 0x4c7898 / ui.debug) "http://127.0.0.1/kindle/iKommunicate-API-Kindle.html:661: 127.0.0.1"
Nov 1 20:37:26 nickel: ( 90.840 @ 0x4c7898 / ui.debug) "http://127.0.0.1/kindle/iKommunicate-API-Kindle.html:547: TypeError: null is not an object (evaluating 'localStorage.getItem')"
So this kindle script is trying to use localStorage which is apparently, not available on Kobo. And without local storage you can not configure server.

And once you fix the localStorage thing (just a few settings you can just as well put in the file directly), another problem is likely to come up, so it probably just won't work.

----

changed localStorage to cookies and next problem

Quote:
Nov 1 21:32:57 nickel: ( 430.229 @ 0x4c7898 / ui.debug) "http://127.0.0.1/kindle/iKommunicate-API-Kindle.html:200: TypeError: undefined is not an object (evaluating 'jsonParsed["navigation"][KEYS_4BOXES[2][positionPriority[2]]].value')"
I give up on it at this point, sorry

Last edited by frostschutz; 11-01-2018 at 04:35 PM.
frostschutz is offline   Reply With Quote