Simulate iPad browser in Safari

First of all you need to enable the developer menu in Safari. To do that you need to launch the terminal and enter the following command into it. Be sure to type it in exactly because it's case sensitive:

defaults write com.apple.Safari IncludeInternalDebugMenu 1

Press enter and relaunch safari. A new menu item should be available to you. If for some reason something were to go wrong just retype the command in the terminal and end with a "0" instead of a "1".

Then go to the develop menu -> user agent and choose other. Then you need to type in the user agent string. For iPad the string is:

Ipad user agent

Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10

Hit return and your browser should now emulate an iPad browser.

Leave a comment