changing Useragent string - Windows Mobile Development and Hacking General

Hi
I have an HTC wizard branded by Vodafone.
And this little beast has a stupid Useragent which driects me to full blown websites on many occassions.
It is:
Vodafone/1.0/HTC_wizard/2.21.3.102/Mozilla/4.0 (compatible; MSIE 4.01; Windows C
And I would like to change it to the Standard one:
Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x320)
Searching the Registry was no Success. Anybody Ideas?
BR
Daniel

User Agent
Use PIEPlus...
you can change it in there.
Charlie Grillo

Hi
Thank you for the advice.
I'm using MultiIE and it can do it aswell..
But I'm posting here because I want to know where I can configure it.
Sometimes I also want my Pocket PC to play a Series60 device ....
BR
Daniel

Related

opera 8.5 - howto change user agent

seems that 8.5 is no loger supporting ua.ini ...
created ua.ini in applications\opera
added
[Identity]
live.vodafone.com=5
i.e. spoof as IE (actually it doesnt matter which number i use cos it doesnt work)
but browser still reporting as sharp ...
any ideas?
It means Opera annouces itself as a Sharp :?:
I cannot access on my Swisscom TV live with it :?
where do you get Opera for Windows Mobile 5 ?
Thanks
Re: where do you get Opera for Windows Mobile 5 ?
brosen said:
Thanks
Click to expand...
Click to collapse
here... http://forum.xda-developers.com/viewtopic.php?t=35595&highlight=opera+8+5 -
calvin4000 said:
It means Opera annouces itself as a Sharp :?:
I cannot access on my Swisscom TV live with it :?
Click to expand...
Click to collapse
Pretty certain I've found it in the DLL - will look to see if I can change it and make it available.
Cheers,
Steve.
Yeah, go ahead Steve
Oooppss, duplicate.. sorry
calvin4000 said:
Yeah, go ahead Steve
Click to expand...
Click to collapse
Having looked closer, I can see that the user agent is being passed through as:
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; SHARP/WS003SH; PPC; 480x640) Opera 8.50 [en]
And I've found the "Sharp" bit, but don't really know what it would be better set to.
Cheers,
Steve.
We should find out how to pass another parameter, instead 'Sharp' :?
I can easily change "SHARP/WS003SH; PPC; 480x640" to something else - but I'm not sure which bit of that would stop a site from working properly. The fact it has "Mozilla/4.0 (compatible; MSIE 6.0;" in there is probably enough for most sites, unless it's getting upset at finding "Windows CE;" - but to be honest, that would be surprising to me.
Cheers,
Steve.
Is this info 'inside' the opera DLL :?:
In my case, I should change the 'SHARP/WS003SH' into... smth else, to be recognized as a V800, by exemple...
Google comes up as the full page so it isnt being recognised as a ppc.
Right, but to be able to access my operator TV live, I need to be recognized as a HP iPAQ HW 6515 or a Sony Ericsson V800, by exemple :?
StevePritchard said:
I can easily change "SHARP/WS003SH; PPC; 480x640" to something else - but I'm not sure which bit of that would stop a site from working properly. The fact it has "Mozilla/4.0 (compatible; MSIE 6.0;" in there is probably enough for most sites, unless it's getting upset at finding "Windows CE;" - but to be honest, that would be surprising to me.
Cheers,
Steve.
Click to expand...
Click to collapse
steve, i assume you are using a hex editor to change the string - which is one way of skinning the cat! is there a more elegant solution? see my earlier post at the top of the thread re: (lack of support) for ua.ini in opera 8.5 for pocketpc.
the service i would like to get to is vodafone live (in particular the tv streaming) on a 3g phone. vodafone's servers are checking the user agent and to date i have had some success when i got PIE to pretend to be a 'Nokia6630' or 'Nokia6680' (i.e. change 'SHARP/WS003SH' to this and leave everything else alone) - perhaps that's sufficient for most people's needs ...
How is it possible to tell PIE that you are a Nokia 6630 :?:
Another ini file :?:
calvin4000 said:
How is it possible to tell PIE that you are a Nokia 6630 :?:
Another ini file :?:
Click to expand...
Click to collapse
nope. registry hack ... see http://forum.xda-developers.com/viewtopic.php?t=29595
Damn, I missed this one... thanks ericblong :lol:
Posted this earlier on the Opera thread in the news forum - may help:
Just been playing with Opera and it seems to be a hell of a lot better than the still shockingly bad Pocket IE. One thing I did have a problem with was it identifies itself as Internet Explorer by default, causing some CSS-based pages to render incorrectly. This can be fixed by adding a new section to the opera.ini file in \Application Data\Opera thus:
[User Agent]
Spoof UserAgent ID=1
Full options are:
Opera = 1
Mozilla = 2
Internet Explorer = 3
Mozilla, no Opera mention = 4
Internet Explorer, no Opera mention = 5
More information on these settings can be found here: http://www.opera.com/support/usingopera/operaini/
judas said:
Posted this earlier on the Opera thread in the news forum - may help:
Just been playing with Opera and it seems to be a hell of a lot better than the still shockingly bad Pocket IE. One thing I did have a problem with was it identifies itself as Internet Explorer by default, causing some CSS-based pages to render incorrectly. This can be fixed by adding a new section to the opera.ini file in \Application Data\Opera thus:
[User Agent]
Spoof UserAgent ID=1
Full options are:
Opera = 1
Mozilla = 2
Internet Explorer = 3
Mozilla, no Opera mention = 4
Internet Explorer, no Opera mention = 5
More information on these settings can be found here: http://www.opera.com/support/usingopera/operaini/
Click to expand...
Click to collapse
Thank you very much.

PPC Browser masking

Is there anyway to stop sites from knowing im surfing with a PPC ? I want to visit a site but it must be detecting that im on a mobile device as its coming up different to when I surf on my computer.
I have installed PIE Plus which was listed as working on WM5 but it doesnt show in the taskbar of Pkt explorer and so doesnt give me the option of indentifying as 5.5 or 6.0 IE.
Are there any other programs that will do this ? I was surprised that Opera 8.50 doesnt do this.
Anyone ?
Use tweak2k to edit your useragent string (I'm sure it can be done in registry by yourself). I presume the WM5 version does this, the WM2003 version does I think.
V
changed the version from 3.02 that was set to 6.0. Didnt make any difference and the page still showed up different from on my pc.
Out of interest the page was http://wwitv.com
Not merely the version number.
various settings under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent
eg
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; Vijay555)
V

Anyone? Force gmail to regular mode instead of pda mode...?

Whenever I use gmail on my o2 XDA Exec, it loads in PDA mode. I want view it the way I would on my pc. Any way to force it into "regular" mode?
Thanks
You have to remove all signs of PPC from headers:
1. Make your phone send something like Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) (can be done by MultiIE or through registry).
2. Not sure if you can remove 240x320 other way than using a different browser.
3. Maybe turning off JS can help
You can manually type in this URL for the HTML version, which is a bit better than the mobile/PDA version:
http://mail.google.com/mail/h/
Changing the last 'h' to 'x' would make it switch back to 'PDA' mode.
bob190cm said:
You have to remove all signs of PPC from headers:
1. Make your phone send something like Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) (can be done by MultiIE or through registry).
Click to expand...
Click to collapse
Can someone give me a step by step of making this work? I have total commander so I can see the registries...but don't want to mess things up...
Thanks...

Is User Agent ID disabled in Opera Mobile 9.5?

Been searching around and have seen the tutorials telling you how to change the user agent settings in Opera through the 'opera:config' menu but no matter what setting I choose I get the same report when I go to http://www.whatsmyuseragent.com
mozilla /4.0 (compatible; MSIE 6.0; WIndows CE; IEMobile 7.11)
How can I get it to report as a desktop or iphone browser?
Thanks
I got it working as Iphone
griffindodd said:
Been searching around and have seen the tutorials telling you how to change the user agent settings in Opera through the 'opera:config' menu but no matter what setting I choose I get the same report when I go to http://www.whatsmyuseragent.com
mozilla /4.0 (compatible; MSIE 6.0; WIndows CE; IEMobile 7.11)
How can I get it to report as a desktop or iphone browser?
Thanks
Click to expand...
Click to collapse
Hey maybe this is too late but look for User Pref in about:config, there is a Custom User Agent setting where you can enter your favorite one. Rember to scroll all the way to the bottom after entering the UA and press SAVE, then restart Opera.
Iphone UserAgent:
Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5H11 Safari/525.20
Enjoy

Opera shows mobile view only on some sites

i got a problem with the preinstalled opera 9.5. on some sites it show only the mobile view and can`t be convinced to show the full desktop site. in the adress line there is then mobile.....com writen and i can`t change the mobile. youtube or google for example. is there a way to change this? (i unchecked the mobile view box in the settings). i also tried 9.7 beta. this one shows full desktop view but crash very often.
bump
for TP2 (sprint)
did u try to change your settings? in the address field type "about:config" and scroll down to user agent. change it to 2 or 3 (firefox or ie respectively). this should make websites recognize your browser differently. it should work for most sites.
first off, thank you for replying. I changed my user agent settings to both 2 and 3. no luck with either. I have to admit I don't which number coincides with which browser (firefox or ie). Any other suggestions??
nothing has worked for me either. I'm using Opera 9.5
You need to change your "custom user agent" string to something like this:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3)
It's under "user preferences" in opera's "about:config".
Ok, thanks.
1st here is my string under that exact setting:
Mozilla/4.0 (compatible;MSIE 6.0; windows CE; IEMobile 8.12 MSIEmobile6.0) Sprint T7380.
I'm not sure what to edit.
i changed Mozilla/4.0 to 5.0 but wasnt sure what to leave or take away. thanks for helping.
meccadon123 said:
Ok, thanks.
1st here is my string under that exact setting:
Mozilla/4.0 (compatible;MSIE 6.0; windows CE; IEMobile 8.12 MSIEmobile6.0) Sprint T7380.
I'm not sure what to edit.
i changed Mozilla/4.0 to 5.0 but wasnt sure what to leave or take away. thanks for helping.
Click to expand...
Click to collapse
The part in bold identifies your browser as being a "mobile" browser. See what I mean? There are sites that tell you how to "break down" the agent string.
http://www.zytrax.com/tech/web/browser_ids.htm
Go to this site in your mobile phone and see what it returns (it will show you your agent string):
http://webmaster.info.aol.com/browserjs.html
Then, go to the same site with your desktop and see what it returns (mine is below):
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
The trick is to "spoof" a desktop computer. So, you will want to research "user agent string" for Browsers.
Thanks again, used your string, worked like a charm. However i need flash for some websites. Any suggestions? Sprint TP2
Thanks again man, this was bugging me like crazy.
adobe flash lite
http://forum.xda-developers.com/showthread.php?p=4397173&highlight=flash#post4397173
Thanks for link
its far from perfect, but its the best opera can do right now. if u still cant view the flash on the site u want, then i suggest u try the app skyfire. it is a browser that can handle most anything.
www.skyfire.com
haha, I was just about to chime back in. I unzipped into opera folder but no luck. I also found some generic flash cab install, no luck. Funny, i beta tested Skyfire on my 6800. I like opera better, i cant view NFL websites. They are still saying "need flash"...Grrr...thanks for the skyfire link and all the help. Some folks usually ignore threads like this, you all have been very helpful.
meccadon123 said:
haha, I was just about to chime back in. I unzipped into opera folder but no luck. I also found some generic flash cab install, no luck. Funny, i beta tested Skyfire on my 6800. I like opera better, i cant view NFL websites. They are still saying "need flash"...Grrr...thanks for the skyfire link and all the help. Some folks usually ignore threads like this, you all have been very helpful.
Click to expand...
Click to collapse
the desktop youtube works for me with this.
http://forum.xda-developers.com/showthread.php?t=544770

Categories

Resources