06-02-2011, 12:01 AM | #46 | |
Enthusiast
Posts: 35
Karma: 1566
Join Date: Nov 2010
Device: kindle 3wifi
|
Quote:
1) patch libwebkit, that's in another thread 2) patch readability, it's basically what this thread is about For me, I went for option 2. and there is what I did: 1) Jailbreak your kindle, and install usbnetworking 2) download my attachment in post #43 3) unzip the attachment, you'll get two files: readability_min_utf16.js and readability_min_utf16.css 4) replace the files under /usr/share/browserd/readability in your kindle with these two files. To do this, you can scp files to the destination, you can't just plugin your kindle via USB, and that's why you need to jailbreak and usbnetworking After you've done above steps, you'll see a menu as shown in my post #43, when you press "menu" -> "Article Mode", you can choose to enter the original "Article mode" by "Readability" or to fix the links to make them open in the same window by "Fix Targets". The advantage with this method is that it's pretty safe, only a few lines of javascript code addition. The disadvantage is that you have an additional layer of menu, which means more key presses and mouse movements, and that's is not a nice experience on kindle. And these fixed targets do not remain to be fixed after you reload the page, as pointed out by liuto. |
|
09-23-2011, 05:15 PM | #47 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2011
Device: kindle
|
does kindle javascript engine support web workers?
Quote:
|
|
Advert | |
|
10-15-2011, 08:45 AM | #48 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2011
Device: Kindle 3 3G
|
Quote:
|
|
12-06-2011, 10:43 PM | #49 |
Zealot
Posts: 128
Karma: 5792
Join Date: Mar 2011
Location: Australia
Device: Kindle 3
|
|
12-08-2011, 10:03 PM | #50 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
You could install luigi's terminal on the usb drive (I recommend myts-6), with its launchpad script. Then you get a command shell that will let you copy files from the usb drive to the root filesystem. You need to to a mntroot rw command to change the root, then do a mntroot ro to protect it. WARNING: keep track of changes to root -- "Reset to Factory Defaults" will not necessarily undo them, and you may need to undo your changes to do a kindle update.
Last edited by geekmaster; 12-08-2011 at 10:08 PM. |
Advert | |
|
12-22-2011, 01:11 AM | #51 | |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
Also, does replacing '/usr/share/browser/readability/readability_min_utf16.css' and '/usr/share/browser/readability/readability_min_utf16.js' as mentioned above do the same thing as the ReadabiltyMod by neftaly. ...and does it work for firmware 3.3? Last edited by inameiname; 12-22-2011 at 01:48 AM. |
|
12-22-2011, 01:41 AM | #52 | |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Copy these hacks without usbnetwork (or myts-6 terminal) hack?
Quote:
Anyway, as pointed out by thomass on this thread about merged developer keystore keys (https://www.mobileread.com/forums/sho...d.php?t=152294), here is how to do it without using the USB hack: readabilitymod.ini Code:
[Actions] ; ReadabilityMod R M I = !source /mnt/us/launchpad/readabilitymod_install.sh R M U = !source /mnt/us/launchpad/readabilitymod_uninstall.sh Code:
###### ReadabilityMod mntroot rw # backup the old ones if exist: if [ -f /usr/share/browser/readability/readability_min_utf16.css ] then mv /usr/share/browser/readability/readability_min_utf16.css /usr/share/browser/readability/readability_min_utf16.css.bkp fi if [ -f /usr/share/browser/readability/readability_min_utf16.js ] then mv /usr/share/browser/readability/readability_min_utf16.js /usr/share/browser/readability/readability_min_utf16.js.bkp fi # copy the new ones: if [ -f /mnt/us/launchpad/readability_min_utf16.css ] then cp /mnt/us/launchpad/readability_min_utf16.css /usr/share/browser/readability/ fi if [ -f /mnt/us/launchpad/readability_min_utf16.js ] then cp /mnt/us/launchpad/readability_min_utf16.js /usr/share/browser/readability/ fi mntroot ro exit Code:
###### ReadabilityMod mntroot rw # restore the old ones: rm /usr/share/browser/readability/readability_min_utf16.css rm /usr/share/browser/readability/readability_min_utf16.js mv /usr/share/browser/readability/readability_min_utf16.css.bkp /usr/share/browser/readability/readability_min_utf16.css mv /usr/share/browser/readability/readability_min_utf16.js.bkp /usr/share/browser/readability/readability_min_utf16.js mntroot ro exit Finally, I do not know whether or not this works for firmware 3.3 yet. Hopefully whatever updates were done by Amazon with it, one wasn't messing with these two files. Last edited by inameiname; 12-22-2011 at 02:18 AM. |
|
12-22-2011, 05:58 AM | #53 |
Member
Posts: 12
Karma: 14
Join Date: Sep 2011
Device: Kindle3 3G
|
you can do it much easier by using mount --bind (then you won't need do go to rw-mode, save old files etc). Something like:
readabilitymod_install.sh Code:
mount --bind /mnt/us/launchpad/readability_min_utf16.css /usr/share/browser/readability/readability_min_utf16.css mount --bind /mnt/us/launchpad/readability_min_utf16.js /usr/share/browser/readability/readability_min_utf16.js readabilitymod_uninstall.sh Code:
umount /usr/share/browser/readability/readability_min_utf16.css umount /usr/share/browser/readability/readability_min_utf16.js |
12-22-2011, 07:55 AM | #54 | |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
Hmmm, I have never seen 'mount --bind' before. And I consider myself a fairly apt Linux man. Thank you for sharing. So it is a normal Linux command, one that, I am guessing, when mounted, the file 'takes masks the older one'? Very interesting. |
|
12-24-2011, 01:58 AM | #55 |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2011
Device: Kindle 3 3G
|
I tried both sets of Launchpad scripts, but neither seem to work. I get a "Success!" message from launchpad, but trying to click on the "a new window" link at http://www.htmlcodetutorial.com/link...y110y107y.html still produces an error message.
|
12-24-2011, 04:01 AM | #56 | |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
Quote:
So far in my testing it seems to work. Although, I think there are a few links it doesn't work. I guess its all about testing. |
|
01-08-2012, 12:15 PM | #57 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Oct 2011
Device: Kindle 3 3G
|
Quote:
|
|
01-08-2012, 03:18 PM | #58 |
Groupie
Posts: 159
Karma: 20390
Join Date: Feb 2009
Device: none
|
|
01-22-2012, 10:26 PM | #59 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle 3
|
A naive question
Hi
Sorry for a very naive question. I am totally new to this area (but I have near 20 year unix experiences). I like to patch the readability. I install the jailbreak, my root directory (kindle 3 3G+Wifi) contains "audible documents linkjail metadata.calibre music system". Where is my "/usr, /etc .." directories? Did I miss some basic steps? Thanks Jxu98 |
01-22-2012, 11:41 PM | #60 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
Welcome to MR. To see those folders, you have to connect your Kindle to PC with usb cable in a mode called usbnetwork. Just search for it in MR ad you'll be good to go. Ask any questions though. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle web browser in Australia? | Blue Tyson | Amazon Kindle | 8 | 03-20-2011 06:14 PM |
Update Kindle 2 web browser to that of K3 - possible? | menevets | Amazon Kindle | 5 | 10-16-2010 01:16 AM |
Kindle DX as a web browser | Daithi | Amazon Kindle | 7 | 05-06-2009 09:08 PM |
Open HTML from Kindle file system w/browser | tomsem | Kindle Developer's Corner | 2 | 05-03-2009 01:21 PM |
Browser Window on Kindle 2 | glorya | Amazon Kindle | 9 | 03-26-2009 11:40 AM |