1. Check out our companion app, Forums for Android! Download from Google Play

Hero browser useragent

Discussion in 'Android Devices' started by PaulC, Nov 16, 2009.

  1. PaulC

    PaulC Active Member
    Thread Starter

    Sep 30, 2009
    Trying to find out what the browser useragent of the hero is for some custom web development.

    On mine it seems to be:
    Code (Text):
    1. 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 (Text):
    1. 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 :)


    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.



Share This Page