Implement getUserAgent API.

This commit is contained in:
Haojian Wu 2015-07-22 12:25:10 +08:00
parent 59269a70a0
commit 462e6e0a82
5 changed files with 15 additions and 0 deletions

View file

@ -875,6 +875,10 @@ Whether the renderer process has crashed.
Overrides the user agent for this page.
### WebContents.getUserAgent()
Returns a `String` represents the user agent for this page.
### WebContents.insertCSS(css)
* `css` String

View file

@ -215,6 +215,10 @@ Whether the renderer process has crashed.
Overrides the user agent for guest page.
### `<webview>`.getUserAgent()
Returns a `String` represents the user agent for guest page.
### `<webview>`.insertCSS(css)
* `css` String