From: Haojian Wu Date: Mon, 8 Jun 2015 06:29:30 +0000 (+0800) Subject: :memo: Add missing `useragent` doc. X-Git-Tag: v0.28.0~18^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=bf1765f941f60eeae4f14bd4c344e063176516d0;p=electron.git :memo: Add missing `useragent` doc. --- diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 67d31f27..768200dc 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -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://`.