]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: "httpreferrer" attribute of <webview>
authorCheng Zhao <zcbenz@gmail.com>
Wed, 12 Nov 2014 02:34:54 +0000 (10:34 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 12 Nov 2014 02:34:54 +0000 (10:34 +0800)
docs/api/web-view-tag.md

index 0b5f6397384325e91c28721f1c8b302ebca7c345..d4650b683f51cb6bc89b30d0539ac3add69a5c1f 100644 (file)
@@ -104,6 +104,14 @@ When the guest page doesn't have node integration this script will still have
 access to all Node APIs, but global objects injected by Node will be deleted
 after this script has done execution.
 
+### httpreferrer
+
+```html
+<webview src="https://www.github.com/" httpreferrer="http://cheng.guru"></webview>
+```
+
+Sets the referrer URL for the guest page.
+
 ## Methods
 
 ### `<webview>`.getUrl()