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.

About this task

The Useragent Switcher Extension is a browser extension that provides the user agent switching feature. The mobile browser simulator supports implementations of this browser extension for the following web browsers:
  • 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

  1. Click Enable Useragent Switching.
  2. If the latest version of the Useragent Switcher Extension is not installed, the Install Useragent Switcher Extension dialog opens. Click Install Browser Extension. [8.5.5.5 or later]If you are using Chrome, you can download the extension from the Chrome Web Store.
    The Mobile Browser Simulator.

Results

You can now view your web application with the appropriate style sheets and theme in the simulated mobile devices.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tenableuseragent.html