Enabling user agent switching
You can use the mobile browser simulator to render your web applications on different mobile devices. To render your web applications with the appropriate style sheets and theme, you must enable user agent switching.
Before you begin
About this task
- Mozilla Firefox.
- Chrome 17 and later, with limitations.
- Useragent Switcher Extension for Chrome
- The Useragent Switcher Extension emulates requests from different
device-specific agents. When a web application checks the user agent
on the server to create content, it is correctly simulated.
The Useragent Switcher Extension includes support for Dojo Mobile 1.7 and later. If you enabled the detect device option when you created your Dojo Mobile page, the Useragent Switcher Extension uses the automatic device detection and theme loading for Dojo Mobile to select the appropriate theme.
For more information about the mobile browser simulator, see Mobile browser simulator.
Procedure
- Click Enable Useragent Switching.
- If the latest
version of the Useragent Switcher Extension is not installed, the
Install Useragent Switcher Extension dialog opens. Click Install
Browser Extension.
If you are using Chrome, you can download the extension from the Chrome Web Store.