Add documentation
This commit is contained in:
parent
50c913fe92
commit
ca63ea0882
1 changed files with 8 additions and 0 deletions
|
@ -112,6 +112,14 @@ after this script has done execution.
|
|||
|
||||
Sets the referrer URL for the guest page.
|
||||
|
||||
### useragent
|
||||
|
||||
```html
|
||||
<webview src="https://www.github.com/" useragent="Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; AS; rv:11.0) like Gecko"></webview>
|
||||
```
|
||||
|
||||
Sets the user agent for the guest page before the page is navigated to. Once the page is loaded, use the `setUserAgent` method to change the user agent.
|
||||
|
||||
### disablewebsecurity
|
||||
|
||||
```html
|
||||
|
|
Loading…
Add table
Reference in a new issue