stock browser-FINALLY FOUND A WAY TO CHANGE USERAGENT!! - Captivate Android Development

so far i have tested this on two different froyo build browsers and they both work
in the address bar type about:useragent theres a couple different things you can change it to
i also have a stock browser that i modified with a bigger apn file and it just seems to work all around better.

di11igaf said:
so far i have tested this on two different froyo build browsers and they both work
in the address bar type about:useragent theres a couple different things you can change it to
Click to expand...
Click to collapse
Changed mine to desktop... it works fine thus far. None of my favorite sites are trying to pull up the mobile version.

try hulu.com and see if that works.

madjsp said:
try hulu.com and see if that works.
Click to expand...
Click to collapse
Hulu still gave me the "your using android" message when I set it to desktop.

Changed to Desktop and hulu reported non-supported browser. Sorry.

same here.
Thanks!
i dont use hulu, but it would be nice.

Got a sec to try grooveshark.com? Can't get a desktop browser agent string at the moment...

every time I select desktop it doesn't save it and goes right back to custom. Any help?

rsohne said:
Changed to Desktop and hulu reported non-supported browser. Sorry.
Click to expand...
Click to collapse
When I started loading a video Hulu said it is not supported on this platform.
I don't think it is a browser issue... what player does Hulu use?

Mine continues to go back to custom after I leave the menu. Still being sent to wap sites which is getting really annoying.

p4ranoid4ndroid said:
Mine continues to go back to custom after I leave the menu. Still being sent to wap sites which is getting really annoying.
Click to expand...
Click to collapse
goes back to custom, but keeps the useragent the same for desktop (or whatever you picked.
mtv.com and southparkstudios finally loads full sites
thanks OP

I have a browser that is modified.
The settings for useragent are in the regulare settings menu.

tjsooley said:
I have a browser that is modified.
The settings for useragent are in the regulare settings menu.
Click to expand...
Click to collapse
have the apk by any chance?

This is a froyo browser.
This does work for hulu.
I tested it 2 days ago.

tjsooley said:
This is a froyo browser.
This does work for hulu.
I tested it 2 days ago.
Click to expand...
Click to collapse
thanks much, do you know if this apk is deodexed?

andy2na said:
thanks much, do you know if this apk is deodexed?
Click to expand...
Click to collapse
yes it has.

Just installed this.. Hulu does not work.

tjsooley said:
This is a froyo browser.
This does work for hulu.
I tested it 2 days ago.
Click to expand...
Click to collapse
And what (if any) differences there are between this and the stock Samsung FroYo browser?
Also, I believe Hulu enforces viewing policy based on information it receives from Flash itself, not based on the browser user agent. Hence, different browsers/UAs shouldn't matter.
I can confirm that the "about:useragent" trick works on Cognition Beta 2.2 v9. Only problem is it doesn't persist if the browser is restarted. Still very useful though.

Shammyh said:
And what (if any) differences there are between this and the stock Samsung FroYo browser?
Also, I believe Hulu enforces viewing policy based on information it receives from Flash itself, not based on the browser user agent. Hence, different browser/UAs shouldn't matter.
Click to expand...
Click to collapse
Looks like the color scheme is diff. UA aAgent is now in the settings pane.

andy2na said:
goes back to custom, but keeps the useragent the same for desktop (or whatever you picked.
mtv.com and southparkstudios finally loads full sites
thanks OP
Click to expand...
Click to collapse
So jealous. Ive been wanting this fix just for southparkstudios and still isnt working for me.

Related

Web Browser experience

Does a modern html5 site like this http://sammystodos.brandonaaron.net
works on Nexus One or Desire?
It seems that the browser doesn't support standards as much as safari on iPhone..
Chrome is by far the best browser on the market, followed by Opera.
Eventually they will merge everything that desktop's Chrome can do into Android..
But so far - yes, that website works fine, except for editing the fields that you added. I assume that can easily be fixed by tweaking the site itself.
I can confirm that its working on the nexus one with to stock browser.
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
Works for me with the stock browser.
Sent from my Nexus One
DarkDvr said:
Chrome is by far the best browser on the market, followed by Opera.
Eventually they will merge everything that desktop's Chrome can do into Android..
But so far - yes, that website works fine, except for editing the fields that you added. I assume that can easily be fixed by tweaking the site itself.
Click to expand...
Click to collapse
Which "Chrome" browser are you speaking of? I see a couple that say they only replace the logo, but none claiming to be anything different than the stock browser.
Sorry can u post a screenshot because I tried it in an emulator and I just see the background
No problem
Thanks a lot!
Rusty! said:
No problem
Click to expand...
Click to collapse
Rusty! said:
No problem
Click to expand...
Click to collapse
Can you actually type?
I tried it on the Desire browser and it looks exactly like yours, but I cannot type. Holding the Menu button to bring up the keyboard doesn't work either.
Checking the checkboxes and using the trash can icon to delete items do work.
pjcforpres said:
Which "Chrome" browser are you speaking of? I see a couple that say they only replace the logo, but none claiming to be anything different than the stock browser.
Click to expand...
Click to collapse
Google Chrome browser. I understand that Android is running a simplified version of Chrome on the PDAs.
http://www.favbrowser.com/chrome-vs-opera-vs-firefox-vs-internet-explorer-vs-safari/
Paul22000 said:
Can you actually type?
I tried it on the Desire browser and it looks exactly like yours, but I cannot type. Holding the Menu button to bring up the keyboard doesn't work either.
Checking the checkboxes and using the trash can icon to delete items do work.
Click to expand...
Click to collapse
Ah, no... same on the stock browser
DarkDvr said:
Google Chrome browser. I understand that Android is running a simplified version of Chrome on the PDAs.
http://www.favbrowser.com/chrome-vs-opera-vs-firefox-vs-internet-explorer-vs-safari/
Click to expand...
Click to collapse
So the stock Android browser?
The Android browser isn't Chrome. They're both WebKit based though.
Rusty! said:
The Android browser isn't Chrome. They're both WebKit based though.
Click to expand...
Click to collapse
Yeah I know.. but I betcha they use a lot of the same code.
Why rewrite the whole thing of they're both based on WebKit and Chrome obviously has awesome code.
I think the N900 might have the best mobile browser, my brother has one and it's pretty slick.
Lazarpandar said:
I think the N900 might have the best mobile browser, my brother has one and it's pretty slick.
Click to expand...
Click to collapse
How is it better?
It's Fennec, which can do everything Firefox can do, including making use of the desktop addons, and it supports Flash 9.4
This will be an ongoing problem with HTML5.
"how does it look on this browser ??"
This is what people dont get about Flash. You have complete control over how everything looks. You dont have that control in HTML , everything is still browser dependent.
Not saying this cant be ironed out..but the impression that a <video> tag is going to solve HTMLs shortcomings is silly. As it stands the browsers are already divided over codec support.
Hi guys, i wanna take advantage of this thread to now more real-life web browsing issues.
How well works this sites on the N1 or HTC Desire browser? (without adding any ad-hoc apps)
- www.facebook.com (does the chat work?)
- www.google.com/reader
- www.google.com/analytics
- www.youtube.com/html5 (how well run the html5 video)
Can u compare them to a normal web browser or iphone?

Hulu Denies Android 2.2 Flash Player!?!? MUST SEE

So reading up on this. It is not official that I know of at this moment.
But hulu was a no show for Google I/O 2010, and this was found
TECH.ICRONTIC.COM----Hulu is another big name at the top of everyone’s list when Flash is mentioned, but they’ve decided to sit this one out. Hulu has blocked Android 2.2’s Flash player citing copyright concerns; their content providers don’t want to be seen on any device but the desktop.
Click to expand...
Click to collapse
PC WORLD.COM---Missing from all of this Flash action, of course, is Hulu. I was really disappointed when I tried-and ultimately failed-to watch an episode of "30 Rock" on the Nexus One. According to Adobe, Hulu does not own distribution rights for their content on mobile devices and therefore cannot stream video to smartphones. With no Hulu on the iPad and no Hulu on your Android phone, isn't time for Hulu to develop an app? Let's hope so.
Click to expand...
Click to collapse
ENGADGET.COM---Also not on the docket? Hulu -- it's being blocked due to content licensing issues, and our inquiries with that company turned up nil.
Click to expand...
Click to collapse
http://tech.icrontic.com/news/android-2-2-is-official-froyos-features-and-phones-revealed/
http://www.pcworld.com/article/196727/first_look_android_22_froyo_with_flash_player_101.html
http://www.engadget.com/2010/05/20/flash-10-1-for-android-beta-unveiled-hulu-a-no-show-froyo-now/
UPDATE: The news seems to be true, as I am awaiting an email from HULU. Will post ASAP
Update: Hulu is refusing to comment, however you cannot play hulu on android flash. BUT there is a trick...See here
Apparently Hulu doesn't have the rights to broadcast their content to any non-desktop devices. That's something they'll have to sort out with the networks.
They also go on to say that this could very well be a temporary lock as Flash hasn't hit the mobile market in full yet. Once it's out on the handsets (~Jun 17th) that lock will probably be lifted. Also, I wouldn't worry so much. If you have a rooted phone, you can always use a proxy and change your UserAgent to something that is supported.
Change your user agent to desktop (through about:debug) and it loads fine.
The videos play badly though. Audio comes in clear, but the framerate is terrible, more like a slideshow.
mortzz said:
Change your user agent to desktop (through about:debug) and it loads fine.
The videos play badly though. Audio comes in clear, but the framerate is terrible, more like a slideshow.
Click to expand...
Click to collapse
Which browser are you using on the Nexus that you have the about:debug option?
mortzz said:
Change your user agent to desktop (through about:debug) and it loads fine.
The videos play badly though. Audio comes in clear, but the framerate is terrible, more like a slideshow.
Click to expand...
Click to collapse
Be curious to see the result on froyo.
chesh420 said:
Which browser are you using on the Nexus that you have the about:debug option?
Click to expand...
Click to collapse
Stock Chrome browser. Type that in, hit enter, and go to settings. All the way at the bottom you have the option to change your user agent (among other things) to Android, Desktop (as OSX IIRC), and iPhone.
krabman said:
Be curious to see the result on froyo.
Click to expand...
Click to collapse
This is of Froyo, but it's an early non accelerated Flashplayer 10.1
I've read hulu blocks all non-desktop users because they can't control who see's it. Technically I think it is only legal for U.S. residents to watch the shows on hulu and if it is a mobile phone they can't detect where they are.
bougelahi said:
I've read hulu blocks all non-desktop users because they can't control who see's it. Technically I think it is only legal for U.S. residents to watch the shows on hulu and if it is a mobile phone they can't detect where they are.
Click to expand...
Click to collapse
They detect through IP address though.
mortzz said:
Stock Chrome browser. Type that in, hit enter, and go to settings. All the way at the bottom you have the option to change your user agent (among other things) to Android, Desktop (as OSX IIRC), and iPhone.
This is of Froyo, but it's an early non accelerated Flashplayer 10.1
Click to expand...
Click to collapse
Hrm, not working for me. Must be cause of the tweaks done in the Cyanogen builds. When I click Go, it just goes back to the last web page I viewed and does nothing.
chesh420 said:
Hrm, not working for me. Must be cause of the tweaks done in the Cyanogen builds. When I click Go, it just goes back to the last web page I viewed and does nothing.
Click to expand...
Click to collapse
It's not supposed to do anything. Go to settings after you hit enter.
Back on topic please
mortzz said:
They detect through IP address though.
Click to expand...
Click to collapse
not if you use your wifi.
chesh420 said:
Hrm, not working for me. Must be cause of the tweaks done in the Cyanogen builds. When I click Go, it just goes back to the last web page I viewed and does nothing.
Click to expand...
Click to collapse
you have to type that in, then go to your browser settings and you have new options to pick. UAstring is at the bottom. the stock browser has always had this trick.
http://www.phonescoop.com/articles/article.php?a=371
Video of Hulu working on a Nexus One running froyo and flash 10.1... interesting.
pjcforpres said:
http://www.phonescoop.com/articles/article.php?a=371
Video of Hulu working on a Nexus One running froyo and flash 10.1... interesting.
Click to expand...
Click to collapse
Sorry to kill your post, but you never see a hulu video working. This actually supports that HULU is not letting us view vids
Hulu is likely finishing their pay subscription licensing issues before rolling out full video support to mobile devices.
I'd be surprised if they werent working on both at the same time. Hopefully we will see the mobile audience addressed when the "new" Hulu is released.
spazoid said:
Sorry to kill your post, but you never see a hulu video working. This actually supports that HULU is not letting us view vids
Click to expand...
Click to collapse
He only had XX amount of time for the video and didn't want to waste it waiting for it to load, if you read the article he says it did load and play the video, he just had to move on during the filming since he wanted to show other stuff on the video.
Edit: Here is the quote:
"I then visited Hulu.com. All of the content on Hulu.com worked as intended by the designers of the web site. I was able to navigate and play various videos with few problems. Video playback worked just as it does on a desktop web browser. I did the same with MTVMusic.com, which is a great place to watch music videos for free. All the video played just fine."
I frequent that site a fair ammount, and their review videos follow the same format, they don't like waiting for stuff to happen, and they try and keep them inside a time limit... we asked about it once, and they said they like to keep their videos to 7 minutes or less.
I also asked in the "discuss" tab about it, for further clarification. They respond pretty quickly, but might not until tomorrow since it is late in the day.
RogerPodacter said:
not if you use your wifi.
you have to type that in, then go to your browser settings and you have new options to pick. UAstring is at the bottom. the stock browser has always had this trick.
Click to expand...
Click to collapse
Right, which was my point. They're not going to be blocking mobile users by IP addresses, which is their only method of blocking aside from user agents (which are easily spoofed).
I can also watch Hulu videos on the Desire ROM, with Dolphin Browser HD (which uses the Flash 10 Lite from the ROM) and by setting my user agent to 'Desktop'. Apparently they haven't made all the proper modifications to block us entirely.
mortzz said:
Right, which was my point. They're not going to be blocking mobile users by IP addresses, which is their only method of blocking aside from user agents (which are easily spoofed).
Click to expand...
Click to collapse
Have you implied you have FroYo earlier? If you do, then please please dump for us ... you know what I mean.

froyo web browser, no user agent faker?

the froyo web browser finally has flash. but many of the websites that have flash that we wanna see on our phones have mobile versions. therefor we cant access the full website to take advantage of the flash content. froyo does not come with a user agent faker like CM does, so is there any way to manually change the user agent in froyo? this is really bugging me.
about:debug
Then goto the settings and scroll to the bottom
Rusty! said:
about:debug
Then goto the settings and scroll to the bottom
Click to expand...
Click to collapse
thanks a lot. works great.
for us non computer, unrooted guys , what does 'about:debug" mean and where do you find it?
thanks!
Old MuckenMire said:
for us non computer, unrooted guys , what does 'about:debug" mean and where do you find it?
thanks!
Click to expand...
Click to collapse
You type it into the url bar and then press Go.
Yeah I saw it in Paul's thread thanks
Doesn't work on all sites. Comedy central still sends me to wap

Android Web Browser Test - XOOM, ADAM, NEXUS S

web browser test on each tablet's native browser. Summary, the browser in Honeycomb is better than previous version. All three tablets are connected to the same wifi. check out the results yourself!
http://acid3.acidtests.org/
http://html5test.com/
http://www.webkit.org/perf/sunspider/sunspider.htm
Probably the most amazing use of chrome to phone I have seen. When all three devices instantly ran the Acid3 test I was like WTF, ninja edit.
muyoso said:
Probably the most amazing use of chrome to phone I have seen. When all three devices instantly ran the Acid3 test I was like WTF, ninja edit.
Click to expand...
Click to collapse
Yeah, Chrome to Phone is the shizit.
muyoso said:
Probably the most amazing use of chrome to phone I have seen. When all three devices instantly ran the Acid3 test I was like WTF, ninja edit.
Click to expand...
Click to collapse
indeed
The only wish that I have with Honeycomb web browser is ability to change USER AGENT STRING. That's all I want.
I know, there is that about:debug trick, but it does not stick and we must do it again and again. Even does not work on certain website.
So, Google ... please please please add this!
Don't force me to use Dolphin
Is there anyway to edit the ".apk" and make it permanent change An idea for hacker with root.
gogol said:
The only wish that I have with Honeycomb web browser is ability to change USER AGENT STRING. That's all I want.
I know, there is that about:debug trick, but it does not stick and we must do it again and again. Even does not work on certain website.
So, Google ... please please please add this!
Don't force me to use Dolphin
Is there anyway to edit the ".apk" and make it permanent change An idea for hacker with root.
Click to expand...
Click to collapse
My user agent string has never changed back, what are you talking about?
The reason some sites come up mobile is because they match on the word Android instead of mobile. Websites are to blame, not google in this case.
i swear Androidcentral took my blog story!
http://www.androidcentral.com/motorola-xoom-browser-ready-primetime#comment-116845
Create a book mark to about:config on your home screen. All you do is click the shortcut then hit the go button in the URL bar.
I tried with my Nexus S and browse to Facebook.com (full site).
It worked for a while, but then went back to Touch.Facebook.com.
Because of this, I am using Dolphin Mini which has option to browse as desktop browser. Problem solved.
Bauxite said:
My user agent string has never changed back, what are you talking about?
The reason some sites come up mobile is because they match on the word Android instead of mobile. Websites are to blame, not google in this case.
Click to expand...
Click to collapse

[Q] Any way to browse without it being seen as mobile device?

Any way to make it happen? A lot of people he websites i've tried are giving me the mobile site and it's getting on my nerves.
Thanks
Yes, change the user agent in the advanced parameters of your browser.
sisopetron said:
Yes, change the user agent in the advanced parameters of your browser.
Click to expand...
Click to collapse
Unfortunately, you will have to do this after each reboot of the device. This has been an issue from the earliest versions of Android and Google seem to be incapable of finding a solution to what on the face of it seems to be a relatively simple problem.
tonyblack said:
Unfortunately, you will have to do this after each reboot of the device. This has been an issue from the earliest versions of Android and Google seem to be incapable of finding a solution to what on the face of it seems to be a relatively simple problem.
Click to expand...
Click to collapse
Dolphin Pad seems to be a bit better about remembering this...although some sites still insist on loading the mobile versions, at least it seems to remember the setting once it's set. It's a good browser anyway, I keep going back and forth between the normal browser and it, can't decide which one I like better. Both are good.
BatPenguin said:
Dolphin Pad seems to be a bit better about remembering this...although some sites still insist on loading the mobile versions, at least it seems to remember the setting once it's set. It's a good browser anyway, I keep going back and forth between the normal browser and it, can't decide which one I like better. Both are good.
Click to expand...
Click to collapse
What are you talking about? I set defalt browser to desktop a month ago and it still shows as desktop.
That's not the same thing - that just renders in desktop mode. Sites can (and some still) redirect you to an m. version. The difference being major HTML/CSS /JS(Q) etc. Optimization for mobile browsing is still a concern for a lot of Web developers.
You can set to render Desktop but the sites that check mostly doesn't care what you have it set at. If you don't meet its criteria for a Desktop browser they will redirect you to a m. version (IF they have that functionality in place - not all sites do)
EDIT***
I'd also like to add that the the UserAgent setting not being permanent is in all likelihood a Honeycomb bug. Nobody can get it to stick using the stock browser however it works flawlessly on 2.x OS versions.
I just went into the browser settings, under advanced, changed to desktop and I don't get the mobile sites anymore.
wpghtc said:
I just went into the browser settings, under advanced, changed to desktop and I don't get the mobile sites anymore.
Click to expand...
Click to collapse
Same Here.
I just type about:debug and change the string to desktop. You need to do it every reboot but it is true desktop.
Sent from my ADR6300 using XDA Premium App

Categories

Resources