Browse Source

docs: "httpreferrer" attribute of <webview>

Cheng Zhao 10 years ago
parent
commit
57bfc63d23
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/api/web-view-tag.md

+ 8 - 0
docs/api/web-view-tag.md

@@ -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()