docs: "httpreferrer" attribute of <webview>
This commit is contained in:
parent
fbd74c0e2d
commit
57bfc63d23
1 changed files with 8 additions and 0 deletions
|
@ -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
|
access to all Node APIs, but global objects injected by Node will be deleted
|
||||||
after this script has done execution.
|
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
|
## Methods
|
||||||
|
|
||||||
### `<webview>`.getUrl()
|
### `<webview>`.getUrl()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue