Viewing mobile store pages by using desktop Web browsers
You can configure your desktop Web browser to simulate the mobile environment
to view your mobile site without using a mobile device. This configuration is performed
by modifying the user-agent string that is transmitted by the browser. The browser type is specified
in the user-agent string and, if the server is configured to deliver pages specific to the
particular mobile device browser, the device-specific pages are returned.
Procedure
-
Use one of the following user-agent switching tools for the browser you are using:
- Mozilla Firefox with the User Agent Switcher add-on
- Safari includes a built-in user-agent switching tool that is not visible by default. To enable
the tool:
- Navigate to .
- Under Advanced, select Show Develop menu in menu bar.
- Click OK. The Develop menu appears.
- Under , select the user-agent corresponding to the device you want to target.
- Google Chrome has built-in user-agent spoofing as part of its developer tools. For more information, see Google Developers: Useragent Spoofing.
- Windows Internet Explorer has a built-in device emulation as part of its developer tools. For more information, see Internet Explorer Dev Center: Using the F12 developer tools.
-
The following sample user-agent strings can be used:
- Apple iPhone – Safari iOS 7
Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53
- Apple iPad – Safari iOS 7
Mozilla/5.0 (iPad; CPU OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) CriOS/30.0.1599.12 Mobile/11A465 Safari/8536.25
- BlackBerry Z10 - BlackBerry OS10
- Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+
- Windows Phone 8
- Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)