• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Hero browser useragent

PaulC

Newbie
Hi,
Trying to find out what the browser useragent of the hero is for some custom web development.

On mine it seems to be:
Code:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_5; en-gb) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.20.1
Which seems very odd... why is the hero pretending to be safari on OSX?

According to a google search it *should* be:
Code:
Mozilla/5.0 (Linux; U; Android 1.5; en-za; HTC Hero Build/CUPCAKE) AppleWebKit/528.5+ (KHTML, like Gecko) Version/3.1.2 Mobile Safari/525.20.1
So if I could get a few of you to visit http://tehjunk.com/agent.php on your hero and report back here what it says, that'd be most helpful.

If anyone has any ideas of what would be causing it to identify itself as safari on OSX (an app changed it maybe?) that'd useful too :)

Thanks

Edit: as usual, just after posting I figured it out. If you set the hero browser to mobile view you get the android agent, if you disable mobile view it pretends it's desktop safari. Makes sense I guess.
 
Back
Top Bottom