I am using Opera Mobile on a rooted Nook Simple Touch. I want to force Mobile view (it's better for e-ink) but in the settings dialog the only options are "Tablet" and "Desktop"
What custom user agent string should I use in opera:config?
We recently added a custom opera:config setting to the desktop version called "Custom User-Agent" under "User Prefs". I notice that this is also available on Opera Mobile for Android, so you could give it a try.
For a list of known userangent strings, try a Google search for "opera mobile 12 useragent string". The first search result I get is from "myip.ms", which seems to show real ones (for both Android and Symbian).
Be careful, though. A broken useragent string could cause serious compatibility issues.
I think this should do it.
It took me too long to figure it out, so here it is.
I went to whatsmyuseragent.com and copied the user agent string.
Code:
Opera/9.80 (Android 2.1; Linux; Opera Tablet/ADR-1207201819; U; en) Presto/2.10.254 Version/12.00
Guessing it should be...
Code:
Opera/9.80 (Android 2.1; Linux; Opera Mobi/ADR-1207201819; U; en) Presto/2.10.254 Version/12.00
I pasted in the modified "Tablet" to "Mobi" string in "Custom User-Agent string" in the "User Prefs" section. Which is not to be confused with "User Agent Spoof" in the "User Agent" section. The dash is key.
And, no restart is required. engadget.com now redirects to m.engadget.com.
Related
Is it true ( as mentioned in this thread: http://forum.xda-developers.com/showthread.php?t=353739&highlight=user+agent+PPC&page=2 ) that it is no longer possible to make PIE on WM6 appear as IE on Windows NT? The registry tweaks listed here: http://forum.xda-developers.com/archive/index.php/t-323389.html do not match my device (standard AT&T Tilt) as there is no registry entry that has "240x320". My OEM settings are already Mozilla/4.0 and MSIE 6.0.
You can use a IE5 user agent. The problem comes when somesites querry your device using code such as GetDevInfo which will report from areas other than the PIE user agent settings. So it can vary from site to site.
I emailed Nika these last night, and they work for 95% of the sites out there that I have been browsing. Use KaiserTweak & add these entries to the User Agent section in the kaisertweak.xml and run the program. You can then pick your choice between IE 6 & IE 5.5 impersonation for sites. Don't forget to do a soft reset for them to take effect properly.
Code:
<value value="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)">IE 6.0</value>
<value value="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; )">IE 5.5</value>
Also, the user agent settings above will only work for PIE. For Opera you need to enter "Opera:Config" into the address field & it will pull up the advanced configuration page where you can make similar changes.
GSLEON3 said:
Also, the user agent settings above will only work for PIE. For Opera you need to enter "Opera:Config" into the address field & it will pull up the advanced configuration page where you can make similar changes.
Click to expand...
Click to collapse
That is true, & I forgot to mention that point. I've been using PIEPlus for so long, I rarely consider the alternatives. Of course I still had to use KaiserTweak to make the user agent switch work again, even with PIEPlus previously supporting that feature (it still works with WM5).
DaPutster said:
I emailed Nika these last night, and they work for 95% of the sites out there that I have been browsing. Use KaiserTweak & add these entries to the User Agent section in the kaisertweak.xml and run the program. You can then pick your choice between IE 6 & IE 5.5 impersonation for sites. Don't forget to do a soft reset for them to take effect properly.
Code:
<value value="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)">IE 6.0</value>
<value value="Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; )">IE 5.5</value>
Click to expand...
Click to collapse
So what you are saying is just use some registry tweaks right? I don't use KT!
Can you verify if MLB.com with your adjustments redirects to the WAP site?
Thanks.
In IE, i can found this key at HKLM\security\IE\agentbase .. .. ... which I can set the agent of of the browser to P3650 Mozilla Firefox 4.0 (pretend as a Touch Cruise).
But how can I do it for the Opera Browser?
Thanks
It's in the file opera.ini located in Windows/Opera9
thanks, i found it.
But can't do what I want, server still able to identify my handset is Diamond which i don't want.
Does anyone of you have some suggestions?
Check in \application data\Opera9, there is an opera.ini too
Seb = = = o>°o
@Bandit13
\application data\Opera9 does not exist.
Is there anything in about:config or is that where the ini file already points to?
I managed to get my banking working by changing it in there and they pick up handset and browser type.
Don't know I'm just adding to the mix here!
yeah, go in opera:config, at the end in the section named "User Prefs" you can set a custom user-agent, or if you want to spoof it with a pc one, you can directly go in the section named User-Agent and you can choose which one you want to "spoof" (internet explorer, firefox...)
@ericsson68 and idsk
where can I found the files you mentioned?
and how should edit so that i can spoof it as firefox?
The one that i tried to edit opera.ini was "HTC_P3650 Mozilla/4.0 (Windows NT, 5.1; U; en)" ... but doesn't work though
How to modify User Agent in Opera Browser
Hi,
I've made a little illustrated tutorial in this thread : How to modify User Agent in Opera Browser
Except the fact that it's in french, I think it's very easy to understand with the screenshots ^^
Hey all,
Not sure if there is any way to mess with these settings, but I wanted to know if there was a way to change a devices UA String via command or app.
I do some mobile phone testing and I can emulate through FireFox, however, wanted to know if there was a way to emulate via the handset itself.
Example:
The UA String for the Nexus one (that we see (from stock)) is:
Mozilla/5.0 (Linux; U; Android 2.1-update1; en-us; Nexus One Build/ERE27) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Mobile Safari/530.17
And the UA String for the G1 is:
Mozilla/5.0 (Linux; U; Android HTC_Dream-1.13.0.1; en-us; dream) AppleWebKit/525.10+ (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2
Now, each device has as different experience on our system and I wanted to emulate that on the Nexus.
Any input would be great!
Thanks!
Ok, found some information on Dolphin and Steel browsers letting you change your user agent, however, it only lets you change between Android, Desktop and iPhone.
I want something that will let me define my own user agent strings.
How to load normal websites ( not mobile version) on new froyo
Entering about:useragent in the address bar works (as opposed to entering about:debug on Eclair and changing the useragent in the browser settings). It seems as though the useragent change is only retained for that window you enter it in so it's not saved persistently and you'll need to enter it again I think if you open a new window.
or u can use skyfire browser
Yeah the user agent is what you want to change, although most sites i visit also have a "desktop version" or "full version" link at the bottom of the page...Try opera i used that a lot on windows mobile - enter "opera:config" i believe that gets you to the hidden settings...
due to issues with the stock browser with heavy sites (try e.g. repubblica.it faulty scrolling, zoom etc..)opera11 is a very good alternative but it needs some mods:
1-disabling splashscreen!!
2-when open going directly to "google.com" skipping the opera starting page....
3-must changing the default user agent from opera to android original u.a.
any xda hacker can do these mods??
thx
I don't know about the first 2, but changing the user agent is rather easy.
1. Type "about:config" in the address bar
2. go to "user prefs"
3. look for "custom user agent"
4. paste "Opera/9.80 (Windows NT 6.0; U; en) Presto/2.8.99 Version/11.10" or any other user Agent string you want
5. click "save changes" and restart
BTW i think this is the wrong section
See here
dude, why this crap is even here? dont u read about the statement from AllGamer above? i hope mod will see this and do something about it.