08/29/2009, 07:10 PM
|
#1 (permalink) |
|
Member
Join Date: Jan 2005
Location: Bay Area, CA
Posts: 936
Thanks: 80
Thanked 369 Times in 90 Posts
|
[Updated: 21 November 2009]
We all know that the Palm Pre has a fantastic web browser that handles full web pages very well. But I've noticed that many mobile websites designed for the small screen of mobile devices don't display properly on the Pre. To add insult to injury these same sites display perfectly on the iPhone which uses the same browser engine. The problem is that these mobile sites do not recognize the Pre and send it generic web pages that don't look good or work very well. On the other hand these sites recognize the iPhone and send it web pages that are designed to look and work perfectly on it. My solution is to change the Pre's browser so that it identifies itself to websites as an iPhone. Web sites will send your Pre pages designed for the iPhone which also work perfectly on the Pre. Technically I accomplish this by patching a library on the Pre to modify the user agent string sent to websites. (If you don't understand that last sentence that's OK.) Here is how the USA Today mobile web site looks before the patch: ![]() And after the patch is applied: ![]() You need to be able to access a root command line on your Pre to use this patch. This is very easy to do by downloading the developer's kit from Palm, putting your Pre in developer mode a running the novaterm program on your computer. See this site for complete instructions. I and others have extensively tested this patch and it has proven to be very safe. There is a lot of error checking to make sure nothing unexpected or bad happens to your phone. However, it's a very good idea to back up your phone before doing this just in case. You may only use this patch if you accept that no one other than you yourself is responsible for any problems you may have if you try this. How to install:
/media/internal/change-user-agent uninstallEnjoy! If you find this useful please post a reply here to keep this thread alive so that others will see it. Thank you! UPDATE: Now plays nice with Google Maps! UPDATE 2: (No longer applies.) UPDATE 3: Now the normal, safe version of the patch works perfectly with virtually every mobile web site. There is no longer any version that breaks Google Maps. Many thanks go to hofs1 for the idea that made things perfect! UPDATE4: Should now work for Bell Canada Devices. UPDATE5: Now the patch is a simple shell script without any binary files. It uses the 'sed' command to change the library instead. This makes the patch much more transparent and easy to understand for those that wish to audit what it is doing. UPDATE6: Now the patch should work on any webOS device running any recent version of webOS on any mobile network. Yes, this means the patch should (hopefully) work for GSM Pre users as well as Pixi owners. Please test this as I do not have any of these devices. Last edited by clipcarl; 01/25/2010 at 09:00 PM. |
|
|
| Thanked By 78: | awrnsmn, bausti25, bigkoont, bpdamas, btmille, Carioca_FL, Chadney, chrissurra, commonplace, connuh, craftsman, damnregister, Davad, dellibedaboss, djcoronel, docbeatle, doczhivago007, Dogg006, drizek, enice2, Erckul, fishtale, FlameOut, fredewins, gage006, georgezachary, Georgo10, glorifiedg, GoBears, goosechaser, gorow247, gvndeb60, gweempose, Henrymd73, hippie_hideaway, hparsons, i700plus, idiotboxxer, iowabatman, Jaer57, jghacker, jrstinkfish, kenford, Kra68, ksom, kuruptlon, mamouton, milliman, Milominderbinder, moserjj, musicguy, odontastic, pgvelez, postalUT, PowerUser, ppcjacky, pullingj, Pulp, Radvette, rand0m1, robbskittles, Sheuba, socoot, solarus, stflush, Stlsports, storino03, StormD, tamaran-2000, tbirdsaw, teej51685, Tikerz, todivefor, tyranomike, wtgreen, xtn, zipzap62, Zob |
08/29/2009, 10:06 PM
|
#4 (permalink) |
|
Moderator
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2002
Location: All over the place
Posts: 8,021
Thanks: 141
Thanked 118 Times in 85 Posts
|
Wow thanks. Do you have any plans on making this work with the webos Quickinstall patch install method or perhaps preware? Thanks!
__________________
_________________ aka Gfunkmagic Current device: Palm Pre To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Device graveyard: Palm Vx, Cassiopeia E100, LG Phenom HPC, Palm M515, Treo 300, Treo 600, Treo 650, Treo 700p, Axim X50v, Treo 800w Moderator, To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Please don't PM me about my avatar. For more info go To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. . Restore your Pre to factory settings using To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. and follow these To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
08/29/2009, 10:45 PM
|
#5 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 70
Thanks: 68
Thanked 8 Times in 7 Posts
|
I do a lot of browsing and this is just what I needed. It works beautifully. I was starting to get fed up with these mobile sites that didn't look right.
All the mobile sites look normal except popurls.com where the links just overwriting the main menu screen. Google looks seemed to work better for me when it was optimized for the Palm Pre. Is there a way to make an exception for gmail & igoogle? Thank you. Last edited by odontastic; 08/29/2009 at 11:18 PM. |
|
|
08/29/2009, 11:42 PM
|
#7 (permalink) |
|
Member
Join Date: Jul 2009
Posts: 70
Thanks: 68
Thanked 8 Times in 7 Posts
|
Unfortunately after installing this patch Google maps don't work properly. At first I thought that gmail was broken too, but after a couple of refreshes, it's fine. Launching Google Maps from the built-in application icon dumps me into Latitude and it is unable to update my location or allow me to zoom or pan around the map. But at least there's still Sprint Navigation.
|
|
|
| Thanked By: |
08/30/2009, 12:27 AM
|
#12 (permalink) | |
|
Member
Join Date: Aug 2009
Location: Just query Cheney's database
Posts: 117
Thanks: 27
Thanked 15 Times in 12 Posts
|
Quote:
|
|
|
|
08/30/2009, 12:45 AM
|
#13 (permalink) | |
|
Member
Join Date: Jan 2005
Location: Bay Area, CA
Posts: 936
Thanks: 80
Thanked 369 Times in 90 Posts
|
Quote:
|
|
|
|
08/30/2009, 02:02 AM
|
#16 (permalink) |
|
Member
![]() Join Date: Jan 2009
Posts: 1,737
Thanks: 456
Thanked 231 Times in 167 Posts
|
So, just wondering out loud, could there not be another way to do this? You know how the browser will display these pages correctly if you go to a working mobile site (such as m.precentral.net) and rotate to landscape and back before visiting the site? Can this a patch automatically set the browser to that state on opening instead of identifying itself as an iPhone? I don't want to mess up all the ad trackers out there by having them think there's yet another iPhone out there.
|
|
|
| Thanked By: |
08/30/2009, 04:42 AM
|
#20 (permalink) |
|
Member
Join Date: Oct 2005
Location: Fort Lauderdale, FL
Posts: 649
Thanks: 48
Thanked 52 Times in 35 Posts
|
Can anyone check Netflix's mobile page? As with other "mobile" pages, it displays fine on the iPhone, but not so great on the Pre's browser.
Netflix Mobile Page |
|
|
| Thanked By: |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -4. The time now is 03:47 PM.















Linear Mode








