Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-28-2023, 09:08 PM   #1
cdhigh
Enthusiast
cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 333332
Join Date: Oct 2011
Device: KINDLE 3
How to modify userAgent of Kindle webBrowser

We know that the Kindle browser is not very useful because it uses a desktop web layout. Nowadays, many websites have mobile-optimized web pages. Is it possible for us to modify the browser's userAgent string so that it defaults to displaying the mobile version of websites?

I'm not sure which file the userAgent string is saved in. If we find out, it might be possible to modify it after jailbreaking the device.
cdhigh is offline   Reply With Quote
Old 06-29-2023, 12:20 AM   #2
GeorgeYellow
Enthusiast
GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!GeorgeYellow is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 48
Karma: 50000
Join Date: Nov 2017
Device: Nook, Kindle
It appears to be in :
`/var/local/mesquite/browser/config.xml`

Code:
    <kindle:network>
            <kindle:asset key="user-agent" value="Mozilla/5.0 (X11; U; Linux armv7l like Android; en-us) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/533.2+ Kindle/3.0+" />
GeorgeYellow is offline   Reply With Quote
Advert
Old 06-29-2023, 02:13 AM   #3
hius07
Wizard
hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.hius07 ought to be getting tired of karma fortunes by now.
 
Posts: 1,155
Karma: 3592855
Join Date: Sep 2014
Location: Ukraine
Device: Kindle PW2, PW3, PW4, Voyage
Look at var/local/mesquite/browser/config.xml
hius07 is offline   Reply With Quote
Old 06-29-2023, 05:05 AM   #4
cdhigh
Enthusiast
cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.cdhigh ought to be getting tired of karma fortunes by now.
 
Posts: 38
Karma: 333332
Join Date: Oct 2011
Device: KINDLE 3
Quote:
Originally Posted by hius07 View Post
Look at var/local/mesquite/browser/config.xml
Thanks, It works!

Due to compatibility issues, some websites work while others do not, and there are also some blank pages.

Last edited by cdhigh; 06-29-2023 at 05:32 AM.
cdhigh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to modify the file names on my kindle jbcohen Amazon Kindle 27 04-01-2023 10:11 AM
Metadata useragent yamusing Library Management 1 01-21-2023 06:31 AM
Is it possible to modify kindle update package to include jailbreak Galunid Kindle Developer's Corner 6 08-12-2016 06:26 PM
Modify my Kindle library bsekf Amazon Kindle 7 12-25-2013 10:39 AM
912. webbrowser? pocketreader9 PocketBook 0 05-04-2012 04:17 PM


All times are GMT -4. The time now is 08:52 PM.


MobileRead.com is a privately owned, operated and funded community.