Rod
Rod

Reputation: 15475

user agent in safari to iphone

I've changed the User Agent in Safari browser to iPhone but nothing happens. Am I misunderstanding the use of this? I'm running Safari in a window environment.

Thanks, rod.

Upvotes: 0

Views: 1680

Answers (1)

ankitjaininfo
ankitjaininfo

Reputation: 12372

'nothing happens' means what? What are you expecting? After changing user agent I need to force refresh the webpage, and go to mobile version of website again.

E.g. when with firefox's user-agent, http://m.google.com redirects to another page. But with iPhone's it shows original mobile website. The user agent for iPhone 3 is as follows:

Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16

Upvotes: 1

Related Questions