mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
📝 Add missing useragent doc.
This commit is contained in:
@@ -783,6 +783,7 @@ Emitted when the WebContents is destroyed.
|
||||
* `url` URL
|
||||
* `options` URL
|
||||
* `httpreferrer` String - A HTTP Referer url
|
||||
* `useragent` String - A user agent originating the request
|
||||
|
||||
Loads the `url` in the window, the `url` must contains the protocol prefix,
|
||||
e.g. the `http://` or `file://`.
|
||||
|
||||
Reference in New Issue
Block a user