Add WebContents.setUserAgent
This commit is contained in:
parent
07a8a50861
commit
1f08d50e98
4 changed files with 15 additions and 2 deletions
|
@ -606,6 +606,12 @@ Navigates to the specified offset from the "current entry".
|
|||
|
||||
Whether the renderer process has crashed.
|
||||
|
||||
### WebContents.setUserAgent(userAgent)
|
||||
|
||||
* `userAgent` String
|
||||
|
||||
Overrides the user agent for this page.
|
||||
|
||||
### WebContents.executeJavaScript(code)
|
||||
|
||||
* `code` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue