Implement getUserAgent API.
This commit is contained in:
parent
59269a70a0
commit
462e6e0a82
5 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue