![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,640
Karma: 26963509
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Open HTML from Kindle file system w/browser
Like (all?) other browsers, the Kindle browser allows opening an HTML file from the local file system using 'file://..' syntax. I have confirmed this by opening a file I found in the file listing on Igor S.'s 'Reversing Everything' blog. Thus if you type this in the address field:
file:///opt/amazon/ebook/prefs/NowNowTemplate.html It loads up. However, I have not been able to discover the system path to the root of the user documents folder (with Audible/documents/music/system folders etc.), which you see with Explorer/Finder when the Kindle is tethered via USB. Does anybody know the correct file path to use to get there? I think it would be useful to be able to access HTML files stored on Kindle as an alternative to converting them to AZW. For one thing, they can have JavaScript in them... |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,640
Karma: 26963509
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Found my answer on another thread here. The root is /mnt/us/, so if you create a folder named 'html' with a file named 'test.html', you can load it by typing this: 'file:///mnt/us/html/test.html'.
Apparently this doesn't work on K1 but I can't confirm this; I would think it would work (possibly using a different root). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
If you just rename the file to xxx.txt instead of xxx.html, and put it in the documents directory, it will show up like any book, and be opened just fine. See the thread https://www.mobileread.com/forums/showthread.php?t=24127.
|
![]() |
![]() |
![]() |
Tags |
browser, html |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Merging multiple HTML files into one HTML file | skoobwoman | Workshop | 45 | 07-11-2014 10:46 AM |
Hacks Kindle browser to read html files | l1n1234 | Amazon Kindle | 23 | 01-28-2012 11:00 PM |
How can I access to Kindle root file system ? | meem | Amazon Kindle | 0 | 08-04-2010 02:34 AM |
Convert HTML file to MOBI for Kindle | IMFletch | Calibre | 5 | 04-16-2010 01:06 PM |
how to clean more disk space in root file system to upgrade system | chinaet | iRex | 1 | 12-18-2006 03:54 PM |