Files

Try it now in CWS

User Agent Override

Sample that shows how to use the webview tag in an app to create a browser with multiple personalities. The browser overrides the user agent string for multiple views of the same webpage.

The app's main window contains a series of <webview>s that are sized to fit most of it (via the width and height attributes). Clicking links, the navigation control buttons, or entering an address in the location bar update the src attribute of all webviews.

<webview> is the preferred way for you to load web content into your app. It runs in a separate process and has its own storage, ensuring the security and reliability of your application.

Resources

Screenshot

screenshot