User-Agent Sample
Item logo image for User-Agent Sample

User-Agent Sample

Developer Tools10 users
Item media 1 screenshot

Overview

User Agent Override Sample that shows how to use the [webview tag](http://developer.chrome.com/apps/app_external.html#webview) in…

User Agent Override Sample that shows how to use the [webview tag](http://developer.chrome.com/apps/app_external.html#webview) in an app to create a browser with multiple personalities. The browser [overrides the user agent string](https://developer.chrome.com/apps/tags/webview#method-setUserAgentOverride) 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. See the source code at https://github.com/GoogleChrome/chrome-app-samples/tree/master/webview-samples/user-agent This version was built from git commit d4f327a https://github.com/GoogleChrome/chrome-app-samples/tree/d4f327a/webview-samples/user-agent

0 out of 5No ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    2.0
  • Updated
    May 27, 2014
  • Offered by
    Chrome App Samples
  • Size
    171KiB
  • Languages
    English (United States)
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has not provided any information about the collection or usage of your data.

Support

For help with questions, suggestions, or problems, visit the developer's support site

Google apps