[Q] UserAgent, about:debug doesn't work - Upgrading, Modifying and Unlocking

The trick for changing useragent with about:debug doesnt work for me because I never see the UAString button in settings, although I see a lot of other new settings.
What to do? Alot of moronic sites send me to their mobile version, but does not give any link to the desktop version. CNN for example. And alot of flash sites too even though we have flash 10.1 now
Doesnt any feel to make a root hack that can change to any UA? It would make android a lot more open and better I think

Ok so I found on this forum that it is in froyo actually about:useragent

Related

Opera diverting to mobile sites

Hi there,
It was my understanding that if I use IE on my Touch HD then it will be detected as a mobile by some websites and therefore load a different version of the website. I was also of the understanding that this wasn't the case when using Opera and infact the sites would just see a normal browser and load the "real" page.
My understandings above may or may not be correct however now I've noticed that Opera is sometimes being diverted to mobile sites where it wasn't before. I think I may have upgraded the stock version in the past and I'm currently running build 15316.
Is there anything I can do to force "real" pages?
Thanks for any help/info
Justin
The solution!
Hi,
Just follow the next step.. open opera->click on left down corner -> settings -> advanced -> at the bottom select "indentify as"-> from the drop down menu select "Desktop computer"-> restart Opera
That's all !
bg100106 said:
Hi,
Just follow the next step.. open opera->click on left down corner -> settings -> advanced -> at the bottom select "indentify as"-> from the drop down menu select "Desktop computer"-> restart Opera
That's all !
Click to expand...
Click to collapse
In Opera 9.5 build 15613 i believe it is like that:
click on RIGHT down corner -> settings -> display -> verify that "mobile view" is NOT checked-> restart Opera
Thanks for the responses.
I don't have the menu options as mentioned in the first post. Maybe a different build?
And I do indeed have mobile view unchecked from the second post..
Bilbo Fraggins said:
Thanks for the responses.
I don't have the menu options as mentioned in the first post. Maybe a different build?
And I do indeed have mobile view unchecked from the second post..
Click to expand...
Click to collapse
I too am interested to know the answer to this... For the most part it brings up full web pages, but BBC and Google sites always seem to bring up their mobile content.
Does someone have an answer? As stated above mobile view is unchecked in the options...
Gisbourne said:
I too am interested to know the answer to this... For the most part it brings up full web pages, but BBC and Google sites always seem to bring up their mobile content.
Does someone have an answer? As stated above mobile view is unchecked in the options...
Click to expand...
Click to collapse
It probably depends on the website.
Some websites will have "sniffer" code built in that will query your device and get information out (eg OS/browser version/browser name etc etc). Nothing sinister - they're just trying to either collate user stats (eg to prove FireFox is gaining in popularity), or tweaking the look of the file slightly to improve the user experience / make sure the site renders correctly in different browsers.
I'm a web developer myself and use simple versions of these scripts to tweak CSS styling because different browsers follow the standards set in different ways.
So even if you've set your Opera to identify itself as "not" mobile version, the website you're looking at might well be looking at the actual OS (or something else entirely) to define how it presents the site to you.
Incidentally if you want to see the "User-Agent" information that a simple php browser sniffer gathers - see this link: It's basically the same sort of code that some people put links to in their forum signature bar.
Riceburner said:
It probably depends on the website.
Some websites will have "sniffer" code built in that will query your device and get information out (eg OS/browser version/browser name etc etc). Nothing sinister - they're just trying to either collate user stats (eg to prove FireFox is gaining in popularity), or tweaking the look of the file slightly to improve the user experience / make sure the site renders correctly in different browsers.
I'm a web developer myself and use simple versions of these scripts to tweak CSS styling because different browsers follow the standards set in different ways.
So even if you've set your Opera to identify itself as "not" mobile version, the website you're looking at might well be looking at the actual OS (or something else entirely) to define how it presents the site to you.
Incidentally if you want to see the "User-Agent" information that a simple php browser sniffer gathers - see this link: It's basically the same sort of code that some people put links to in their forum signature bar.
Click to expand...
Click to collapse
Thanks Riceburner, this makes a bit more sense now and understand all of what you are saying...
Cheers

opera mini4 &5 keep switching to mobile sites instead of full

When I visit websites that also have sites optimized for mobile phones like nu.nl and cracked.com i am direcedt to those. But I want the original site. I can't find a way to change it. I turned mobile view off.
taarmen said:
When I visit websites that also have sites optimized for mobile phones like nu.nl and cracked.com i am direcedt to those. But I want the original site. I can't find a way to change it. I turned mobile view off.
Click to expand...
Click to collapse
You can't change it. It's not caused by Opera. It's the site that detects that you are using Opera Mini, and decides that you are to get a mobile site instead of the full site. Complain to the site.
Type opera:config in your address bar and poke around with the settings. It's in there somewhere.
EyeAmRubber said:
You can't change it. It's not caused by Opera. It's the site that detects that you are using Opera Mini, and decides that you are to get a mobile site instead of the full site.
Click to expand...
Click to collapse
And where do you think the site gets this information from? From Opera! - sending the wrong string as user agent in it's HTTP-requests.
EyeAmRubber said:
Complain to the site.
Click to expand...
Click to collapse
No. The site does deliver correctly what the browser requested. It's definitely Opera sending the wrong request.
SE-X1 said:
And where do you think the site gets this information from? From Opera! - sending the wrong string as user agent in it's HTTP-requests.
Click to expand...
Click to collapse
No, it's sending the right string. It's telling the site which browser it is. The wrong thing would be to lie about it.
No. The site does deliver correctly what the browser requested. It's definitely Opera sending the wrong request.
Click to expand...
Click to collapse
No, Opera is just telling the site that it's Opera. The site is choosing what it does when it encounters Opera.
If Opera changed its user agent string to become unrecognizable, browser statistics would be messed up, and sites relying on browsers to be truthful would break.
EyeAmRubber said:
No, it's sending the right string. It's telling the site which browser it is. The wrong thing would be to lie about it.
No, Opera is just telling the site that it's Opera. The site is choosing what it does when it encounters Opera.
If Opera changed its user agent string to become unrecognizable, browser statistics would be messed up, and sites relying on browsers to be truthful would break.
Click to expand...
Click to collapse
So this anoying problem can be fixed by just changing one string or telling 3476587653745344378 sites to change the way they handle requests.
I think it wouldn't even mess up statistics. There are more reliable methods to identify the browser than by using the user agent. The desktop version for example is capable of identifying itself as IE or Firefox and it does not mess up statistics.
I don't get mobile versions of pages shown in Opera mobile so this should be possible in Mini too.
SE-X1 said:
So this anoying problem can be fixed by just changing one string or telling 3476587653745344378 sites to change the way they handle requests.
Click to expand...
Click to collapse
Changing the string would break 3476587653745344378^10 other sites. And would remove it completely from browser stats. Which would get all the whiners going on about how no one is using Opera again.
I think it wouldn't even mess up statistics. There are more reliable methods to identify the browser than by using the user agent.
Click to expand...
Click to collapse
Such as?
The desktop version for example is capable of identifying itself as IE or Firefox and it does not mess up statistics.
Click to expand...
Click to collapse
It identifies as Opera by default. When it identifies as something else, it is not counted as Opera, but as a different browser.
I don't get mobile versions of pages shown in Opera mobile so this should be possible in Mini too.
Click to expand...
Click to collapse
Of course it's possible in Mini. This has got nothing to do with Opera Mini's capabilities. It's the site that chooses to send you to a mobile site.
You can argue as much as you want, it doesn't change anythink about the fact, that O-mini does not show the expected content although it could be very easily be fixed. That's ultra-anoying on any high-res-device.
There's even a checkbox in Opera's options to chose if you want to see mobile-versions if available or not, but it's just ignored.
I'm pretty sure the string can be altered in a way that does both, full-size-content AND right statistics.
Check showip.com with Desktop-Opera. It shows your user agent. It changes when you set Opera to claim it's IE or FF, but they all still include "Opera" +version in that string. Stats can still identify it correctly no matter what you select.
SE-X1 said:
You can argue as much as you want, it doesn't change anythink about the fact, that O-mini does not show the expected content although it could be very easily be fixed.
Click to expand...
Click to collapse
I'm not arguing. I'm pointing out the fact that Opera Mini is simply showing the content that's being sent to it. I'm pointing out the fact that it's the site that's doing this. You are arguing because you evidently don't understand the subject matter.
There's even a checkbox in Opera's options to chose if you want to see mobile-versions if available or not, but it's just ignored.
Click to expand...
Click to collapse
No, that checkbox actually controls what Opera Mini does. It changes the way Opera Mini handles a page. This is completely different from the problem you are referring to, which has to do with what the site does when it detects that you are using Opera Mini.
I'm pretty sure the string can be altered in a way that does both, full-size-content AND right statistics.
Click to expand...
Click to collapse
No, because the sites that are sending Opera Mini to mobile pages are doing so specifically for Opera Mini. If Opera Mini changes its UA string, those sites will simply adapt to the new string, and send that to a mobile page as well. You will have gotten nowhere, except making other people's life harder.
Check showip.com with Desktop-Opera. It shows your user agent. It changes when you set Opera to claim it's IE or FF, but they all still include "Opera" +version in that string. Stats can still identify it correctly no matter what you select.
Click to expand...
Click to collapse
Again, the sites that send Opera Mini to a mobile version are specifically looking for Opera Mini. If you change the string to include other browsers, the page will still specifically look for Opera Mini. It would solve nothing, as explained above.
Stats can identify it correctly if you don't remove Opera Mini from the string. But you seemed to suggest that they simply hide Opera Mini completely, in which case those stats sites would not be able to detect it.
Finally, what more reliable methods to identify the browser than the user agent string are there?
This is getting too much blah blah for a trivial thing. It could be fixed but it's not --> not good
It does work with Opera mobile, that's proof enough that it could work with mini too, no matter how it works.
You are right about the checkbox "mobile view", that's "Small screen rendering mode" which is something else... misleading label.
Im not the expert that can tell you how exactly the user Agent string has to look like, but it's obvious that it could work with the right one.
(Forget about "more reliable methods", seams like it does all work fine with user agents only)
SE-X1 said:
This is getting too much blah blah for a trivial thing. It could be fixed but it's not --> not good
Click to expand...
Click to collapse
It needs to be fixed by the site. It is not Opera Mini which decides which page it's being sent.
It does work with Opera mobile, that's proof enough that it could work with mini too, no matter how it works.
Click to expand...
Click to collapse
Opera Mini and Opera Mobile have different UA strings. Again, it's got nothing to do with "working with Opera Mini". This isn't caused by Opera Mini. It's caused by sites that detect that you are using Opera Mini.
Im not the expert that can tell you how exactly the user Agent string has to look like, but it's obvious that it could work with the right one.
Click to expand...
Click to collapse
I'm telling you that it couldn't. These sites that send Opera Mini mobile content do so because they chose to specifically do so for whatever reason. Changing the UA string would just piss these people off, and update their scripts to send mobile pages to the new UA string as well.
It's getting boring. Have fun with ugly unreadable pages while I surf the web how it's supposed to look.
You admit that you were mistaken then, I presume?
EyeAmRubber said:
You admit that you were mistaken then, I presume?
Click to expand...
Click to collapse
No, you're simply wrong, I just gave up convining you.
So I am "simply wrong" even though you made all the false assertions, such as "more reliable methods" (showing that you have no idea what you are talking about).
Telling me that I'm wrong when all your arguments so far have been devastated is not exactly convincing.
EyeAmRubber said:
So I am "simply wrong" even though you made all the false assertions, such as "more reliable methods" (showing that you have no idea what you are talking about).
Telling me that I'm wrong when all your arguments so far have been devastated is not exactly convincing.
Click to expand...
Click to collapse
I was wrong in a detail like I already said above. But that doesn't change anything about the rest. The problem can definitely be fixed in the Software, that's a provable fact I'm not going to discuss anymore. Saying the software is ok, just the rest of the world has to change to become compatible is just nonsense because it will not fix the problem because it will never happen.
Besides the alternative view does make sense on low end devices so it has to be Opera to decide witch view to load depending on the resulution of the device or better by the settings the user made. And don't tell me again it's not possible, that's just nonsense because it's not and does already work with other browsers.
The "problem" can't be "fixed" by Opera without breaking it for everyone else.
The rest of the world doesn't need to change. You are the one who wants sites who specifically send Opera Mini users to a mobile site to change.
As I already explained, this is not about "Opera views", this is about what kind of content a site sends to Opera. It "works" in other browsers because the sites are not sending them to a mobile site.
Again: Changing the useragen string would break ****loads of websites, and Opera would disappear from the stats. That, or the change will achieve exactly nothing, because the sites that are sending Opera Mini users to a mobile site are specifically looking for Opera Mini in the first place.
You need to stop making assertions when you are clearly severely lacking in knowledge on the subject. It gets worse when you blame Opera for something the site is doing, and claim that it's in Opera's hands.
Sure it's the Site that sends different content, nobody stated anything else. But it depends on the request made by the browser! And when I say it works in other browsers I'm NOT talking about desktop browsers. I use Opera mobile and it does what i want although I got the same results as with Mini with default settings.
In Opera mobile you just go to the setting and set "Spoof UserAgent ID" to "2" to mask as Mozilla. That does still leave "Opera 9.7" mentioned in the User agent and is still identified in browser statistics correctly, but this way you allways get fullsize content without breaking anything. Sure thing the same can be done to any other browser easily.
Maybe you just try it yourself and then we talk again who's got a lack of knowledge.
It's so funny reading all the time what's impossible while everyone can download other mobile browsers and see with own eyes that it's not.
SE-X1 said:
Sure it's the Site that sends different content, nobody stated anything else. But it depends on the request made by the browser!
Click to expand...
Click to collapse
In what way, specifically? What kind of request?
And when I say it works in other browsers I'm NOT talking about desktop browsers. I use Opera mobile and it does what i want although I got the same results as with Mini with default settings.
Click to expand...
Click to collapse
Again, that is because other browsers have a different UA string, and the sites haven't started specifically sending those to a mobile page.
In Opera mobile you just go to the setting and set "Spoof UserAgent ID" to "2" to mask as Mozilla. That does still leave "Opera 9.7" mentioned in the User agent and is still identified in browser statistics correctly, but this way you allways get fullsize content without breaking anything.
Click to expand...
Click to collapse
No, masking as Mozilla completely removes "Opera". "Identify as" doesn't.
How do you know that it's identified in browser statistics?
BTW, please give me an example of a site which sends mobile content to Opera Mobile 7 before changing this setting.
It's so funny reading all the time what's impossible while everyone can download other mobile browsers and see with own eyes that it's not.
Click to expand...
Click to collapse
Evidently, those other mobile browsers are not being singled out by the site and sent mobile content. Once again you show that you completely fail to understand the fundamentals of browser sniffing.
in my view i dont think mini5 is esstially much speedy & good than mini4.2 so i am still use 4.2 now

Best alternative browser for android

Not really digging the default android browser interface so what would you the xda-developers community (who know much more about phones than me lol) say is the best replacement browser. I have only tried Opera mobile so far and i think its brilliant but im sure their is something better. fyi Just wanting it for general browsing.
Dolphin Browser and Skyfire are very good alternatives.
Seem quite nice but cant download them atm , The market isnt letting me download anything :O
Opera mobile is my fav.
Likely since I got used to it on winmo, but I still think it is a good browser.
Note: Mobile, not mini...two different things even though they look similar.
I'm a huge xscope fan.
uZard, anyone?
I have not received my Defy yet (it is on its way), but I often run uZardWebP on my current WM6.1 phone. It can be found here. Not sure it it will work correctly, since the Defy' screen is 854x480 pixels, and uZard seems to be suitable for up to 800x480 only.
Anyone here to give it a try?
Cheers!
Carlos
Dolphin HD. I loves me it! I have a ton of bookmarks, and it's the only browser that remembers the last position when I go to the next bookmark after viewing a page. All the other ones go back to the top, and I have to scroll all the way back down the list.

T-Mobile Now Blocking BROWSER Strings

Be aware that T-Mobile is now checking Browser User Agent strings and is apparently blocking those with various things in them -- "Cyanogen" being, apparently, one of them.
Guess how I found this out?
Opera and similar will still work (of course) but this is a particularly-evil thing for them to be doing, as it now means that if you develop up something you're going to have to take some care to EXACTLY match a stock browser ID or it's likely you'll get bounced.
They've used this trick for quite some time to detect tethering, but now it appears they're just denying PHONE strings that are perfectly legitimate and from actual PHONE firmware if it's not theirs.
I'm not sure what's happening but I was able to not only search for it but browse the cyanogenmod.com website. That's serious censorship stuff if TMO is actively blocking access selectively like that.
No no you're missing the point.
Your browser sends a "User Agent" string that the web server can use to customize for the sort of device you are. This is why some sites come up with a "mobile" interface optimized for a smaller screen.
Well, carriers can intercept that -- that's how they detect tethering if you go around their "tethering manager" garbage, incidentally. AT&T has done this for a long time and T-Mobile started doing it a few months ago.
As of this evening I got an error while testing a CM7 build on another device stating that my browser agent string was invalid. The only thing odd about it is that it identified as a T-Mobile device with a Cyanogen firmware build on it, and they refused to let it go through. Opera of course works as do other browsers, but the stock Android one was refused.
Very naughty, in my opinion, and this is going to make custom firmware a bit more fun as developers and such will have to "spoof" an official T-Mobile browser UA or they're likely to find it doesn't work at all.
download Miren browser, and move on.
Well yes, other browsers work fine. But this is just another kick in the nuts from the "T".
Genesis3 said:
Well yes, other browsers work fine. But this is just another kick in the nuts from the "T".
Click to expand...
Click to collapse
Kick 'em right back in the nuts with the APN workaround.
Ok I dont understand your logic.
You can download Dolphin browser on a stock phone, and change the user agent to desktop, iphag, or custom...
This is a silly post because it dosnt mean youre rooted, tethering, or have a custom rom.
As for T-mobile governing you, its their equipment (switches, access points...) they can do what they want basically. We are here to find ways arround that.
Point being that it's just going to be another thing that people will have to deal with, and its pointless from a carrier perspective.
I can see them looking for the common laptop and desktop stuff and screaming "Tether!" if they find it, but barring an obvious mobile browser because it's not one of "theirs" is rather foolish -- and annoying.
tzbigworm said:
download Miren browser, and move on.
Click to expand...
Click to collapse
Am I the only one who can't find Miren in the Android Market anymore? Weird.
fbueller said:
Am I the only one who can't find Miren in the Android Market anymore? Weird.
Click to expand...
Click to collapse
It seems to be gone now. Search for black Miren browser on Google. That's what I did and the black version is awesome.
This does not happen for me I'm the self alpha cm rom. I can get to any website just fine. Using the stock cm browser. I even installed cm on another device. It still works.
Sent from my SGH-T989 using xda premium
I just had an issue with this for the first time a day ago.
Using opera, I tried to visit my bank and kept getting blocked/redirected to a wifi tethering uosell page. Also, tethering stopped working.
Rebooted, opera is working again, but no wireless or usb tethering.
Sent from my SGH-T989 using Tapatalk
Genesis3 said:
No no you're missing the point.
Click to expand...
Click to collapse
Actually I do understand the need to prevent unauthorized tethering. My comment was pointed directly at the censoring of specific websites which appears to be happening to the OP. TMO has the right to block unauthorized tethering but to wall off specific sites is an entirely different animal. Sorry I wasn't clear in my original reply.
Cheers
When doing about:debug in the stock browser on 2.3.6, I couldn't even find the setting to change the UA string. I think they removed it?
v8dreaming said:
When doing about:debug in the stock browser on 2.3.6, I couldn't even find the setting to change the UA string. I think they removed it?
Click to expand...
Click to collapse
It is about:useragent in Samsung phones.
Sent from my SGH-T989 using xda premium
Eh this is lame. T-Mobile is doing some really lame things now.
Can someone tell me how to replicate this? I am on a custom ROM and can browse Cyanogenmod.com website just fine.
I use Opera Mobile and Firefox Mobile with desktop user agent strings and have no problems. Then again I haven't tethered in months.
To those that think webpages are being censored you're misunderstanding; when you browse on a mobile device there is a little bit of code that tells the webpage what kind of device you're on and what software its running. This is called a user agent. Tmobile has started blocking devices on custom software (read roms) from accessing the web at all. This will only happen on roms that have had the user agent modified for example cyanogenmod.
It is not a censorship issue its a net neutrality issue.
Sent from my Hercules with xda Premium.
that doesn't sound likely at ALL.. it sounds more like a glitch than anything else.

FIX: No More Mobile Sites in Webtop Firefox Browser

Just wanted to spread the information I learned; you can ensure that the laptop dock version of Firefox always loads the full sites instead of the mobile sites by doing the following:
1) Open Firefox.
2) In the address bar type: about:config
3) Find the string "general.useragent.override", without the quotes.
3.5) Save the old string just in case you want to go back...
4) Change the user agent string from the existing one (which should say ARM somewhere in there), to the following: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0
5) Save the changes, close the browser, and re-start the browser.
This should fix the issues. Try going to www.cnbc.com or www.jalopnik.com and see if it works. These sites usually gave me lots of problems, but now no issues.
Enjoy!
strange. i dont have that string. using 2.3.4.1 stock rooted here.
mn3kgtvr4 said:
strange. i dont have that string. using 2.3.4.1 stock rooted here.
Click to expand...
Click to collapse
Huh, mine has the flag for sure.
supernatedogg18 said:
Just wanted to spread the information I learned; you can ensure that the laptop dock version of Firefox always loads the full sites instead of the mobile sites by doing the following:
1) Open Firefox.
2) In the address bar type: about:config
3) Find the string "general.useragent.override", without the quotes.
3.5) Save the old string just in case you want to go back...
4) Change the user agent string from the existing one (which should say ARM somewhere in there), to the following: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20100101 Firefox/6.0
5) Save the changes, close the browser, and re-start the browser.
This should fix the issues. Try going to www.cnbc.com or www.jalopnik.com and see if it works. These sites usually gave me lots of problems, but now no issues.
Enjoy!
Click to expand...
Click to collapse
Works a treat - thanks for that!
I'll try again tonight removing Useragent Switcher add on, maybe that's why I don't show the string. Love Jalopnik, would love a permanent fix.
Why wouldn't you just use the Phony add-on (written by a Mozilla developer, mbrubeck) to change to "Desktop Firefox" or user agent of your choice?
Thanks for this I have been trying for over a year now to get full web facebook access rather than the mobile one, no one elses solutions worked.
xmixahlx said:
Why wouldn't you just use the Phony add-on (written by a Mozilla developer, mbrubeck) to change to "Desktop Firefox" or user agent of your choice?
Click to expand...
Click to collapse
The reason I did not like these add-ons was because it changes the file menu bar selections, and because I had to change the setting every time I restarted the browser. The solution I proposed is preserved over sessions and does not change any menu bars.

Categories

Resources