08/16/2011, 05:57 PM
|
#722 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Chicago
Posts: 62
Thanks: 25
Thanked 12 Times in 8 Posts
|
It's frustrating when browsing to certain sites and only the mobile version is displayed. There has to be a way to tweak the User Agent String on the touchpad. I've been looking everywhere with no luck. I found that Iphone UA spoof for the Pre but havn't had the courage to try it yet for fear of screwing it up.
|
08/23/2011, 04:26 PM
|
#723 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
anyone working on touchpad version? I would like to be able to change it to any user agent, not just iphone.
Would be willing to help out testing and such or maybe someone can point me to a site to learn programming or what tools to use for webOS. |
08/23/2011, 05:31 PM
|
#724 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: Swansea, UK
Posts: 674
Thanks: 24
Thanked 204 Times in 79 Posts
|
It doesn't appear to work on a Pre3. (Updated line 22)
"ERROR: Could not find area to patch (unknown file version?)" Can I help to debug this for you? I *think* the UA is now.. (Using a hex editor on libWebkitLuna) "Mozilla/5.0 (Linux; webOS/%s; U; %s) AppleWebKit/534.6 (KHTML, like Gecko) %s/221.54 Safari/534.6 %s/%s" Do the OLD_UA and NEW_UA need to have identical lengths for the sed to work?
__________________
Pilot 5000 > Pre > Pre2 > Pre3 > Galaxy Nexus TouchPad > Galaxy Tab 8.9 |
08/24/2011, 09:40 AM
|
#725 (permalink) |
|
Member
![]() Join Date: Aug 2006
Location: Philadelphia, Pa
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
With all of the TouchPad's purchased recently someone should be able to fix this script. I just got mine so I haven't had much time to mess with it. Once it's fixed for webOS 3.0 it should work on the TouchPad.
|
08/24/2011, 03:20 PM
|
#726 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 27
Thanks: 0
Thanked 3 Times in 3 Posts
|
Anyone working on this for webOS 3?
Edit: On second thought, from looking at the script, this seems fairly straight forward. I will give it a go. Touchpad's UA is as follows (as listed in libWebKitLuna.so): Mozilla/5.0 (%s; Linux; %s/%s; U; %s) AppleWebKit/534.6 (KHTML, like Gecko) %s/234.40.1 Safari/534.6 %s/%s Edit 2: I think I've got it. Waiting on reboot. Edit 3: File attached. Uncomment the NEW_UA line of your choice before running the script. The included Google Chrome user agent has not been tested. As far as I could tell, the iPad user agent works. Edit 4: I think this may have broken the app catalog. File has been removed for the time being. Last edited by davegarbs; 08/24/2011 at 07:28 PM. |
08/24/2011, 06:45 PM
|
#728 (permalink) | |
|
Member
![]() Join Date: Oct 2009
Location: Swansea, UK
Posts: 674
Thanks: 24
Thanked 204 Times in 79 Posts
|
Quote:
Do you think it will work on the Pre3 too? (Too scared to just try it in case I bugger anything up)
__________________
Pilot 5000 > Pre > Pre2 > Pre3 > Galaxy Nexus TouchPad > Galaxy Tab 8.9 |
|
08/24/2011, 07:19 PM
|
#729 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 27
Thanks: 0
Thanked 3 Times in 3 Posts
|
RedList: possibly, but hold off because I think it may have broken some things
Edit: Confirmed. Whoops... I will say that changing the user agent still doesn't help us get past hulu
Last edited by davegarbs; 08/24/2011 at 07:29 PM. |
08/25/2011, 02:01 AM
|
#730 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 1,004
Thanks: 17
Thanked 1,076 Times in 208 Posts
|
Yeah, hulu is based on flash. You'd have to mess with the flash .so file to be able to get it working...
There's some details from android hacking on how to do it here: xda-developers - View Single Post - Working hulu There's even a .so file there, but I'm pretty sure that wouldn't be a copy paste fix for the touchpad (for obvious reasons). Might be worth a look at what they actually -did- however, as you could potentially edit the touchpad's flash .so file appropriately to fix hulu... As for you "breaking things" - one of the first things I did with my touchpad was edited that script to swap in an ipad user agent . When I saw it was fubar'ing everything up, I gave up on the attempt altogether.I'd love to get an ipad user agent up and running properly though - there are quite a few sites that are ipad specific and keep me locked out despite the touchpad's ability to render them... |
08/25/2011, 11:35 AM
|
#731 (permalink) |
|
Member
![]() Join Date: Jul 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
How about another approach...
Does anyone know a proxy site that will mimic an iPad to the final website? So basically, if a proxy site was to connect to the final website as an iPad, iPhone, etc. then we could just goto the proxy website, then connect to the final web site and see the results as an iPad would. |
08/25/2011, 11:45 AM
|
#732 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: Swansea, UK
Posts: 674
Thanks: 24
Thanked 204 Times in 79 Posts
|
Maybe we could patch the TouchPad Browser app so uses a custom libWebKitLuna.so
Leaving the App Catalog, etc, to still open the original libWebKitLuna.so
__________________
Pilot 5000 > Pre > Pre2 > Pre3 > Galaxy Nexus TouchPad > Galaxy Tab 8.9 |
08/25/2011, 02:13 PM
|
#733 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 1,004
Thanks: 17
Thanked 1,076 Times in 208 Posts
|
I went ahead and changed this post (thanks Abyssul). I've removed the link to the file - but - Abyssul has given us an even easier method. Here's what you do:
Go into webOS quick install on your home pc - you can find it here: http://forums.precentral.net/canuck-...-v4-2-3-a.html Run the program, select the TOOLS tab, and pick LINUX COMMANDLINE. Make sure your browser is closed on the touchpad. You should now be in a terminal at a command line looking at your touchpad .Now type the following -exactly- (ALL ON ONE LINE, not two lines): cp /usr/lib/BrowserServerPlugins/libflashplayer.so /usr/lib/BrowserServerPlugins/libflashplayer.so.bak Now type: cd /usr/lib/BrowserServerPlugins Now type (again, ALL ON ONE LINE): sed -i 's/WEB 10/WIN 10/' libflashplayer.so Finally, type: chmod 755 /usr/lib/BrowserServerPlugins/libflashplayer.so TADA, hulu works. Want to reverse the process? Simply type (ALL ONE LINE): cp /usr/lib/BrowserServerPlugins/libflashplayer.so.bak /usr/lib/BrowserServerPlugins/libflashplayer.so Last edited by ncinerate; 08/25/2011 at 04:24 PM. |
08/25/2011, 02:48 PM
|
#734 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Chicago
Posts: 62
Thanks: 25
Thanked 12 Times in 8 Posts
|
Hulu does seem to work after that, thanks! I do still however need the ability to change my UAS. Some sites are still stubbornly coming up as mobile when I know the desktop version would work. I'm not sure what do do. MP
|
08/25/2011, 05:56 PM
|
#735 (permalink) |
|
Member
![]() Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
I'm continuing to have the terminal tell me the file system is read only. Chmod 777 will not change this, device is in dev mode. I was able to create the backup and mod the file but i cannot write back to the /usr/lib or any other system directory. What am i doing wrong?
|
08/25/2011, 05:57 PM
|
#736 (permalink) | |
|
Member
![]() Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
Im getting read only error over and over, what am I doing wrong. Hulu is my favorite feature of my touchpad, next to the amazing webOS community, Please help me out guys! |
|
08/26/2011, 09:55 PM
|
#738 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
I'd love to see the full sed command that (maybe?) fixed the useragent in the web browser.
I could actually care less if it breaks app catalogue, I just want a working web browser that'll display the ipad version of sites, since the desktop versions of youtube, google docs, etc display too slow to use on the touchpad). |
08/27/2011, 12:51 PM
|
#739 (permalink) |
|
Banned
Join Date: May 2010
Posts: 25
Thanks: 7
Thanked 0 Times in 0 Posts
|
Attached a version of the Patch for webOS 2.1.1
Too bad Google doesnt treat the webOS Browser of a HP Veer as a mobile device automatically. After applying this patch (for v2.1.1) via webOS Quick Install, Google+, GMail and co are now working nicely... like on iOS. |
08/27/2011, 02:57 PM
|
#740 (permalink) | |
|
Member
![]() Join Date: Feb 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
Quote:
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



