mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: "disablewebsecurity" attribute
This commit is contained in:
@@ -112,6 +112,14 @@ after this script has done execution.
|
||||
|
||||
Sets the referrer URL for the guest page.
|
||||
|
||||
### disablewebsecurity
|
||||
|
||||
```html
|
||||
<webview src="https://www.github.com/" disablewebsecurity></webview>
|
||||
```
|
||||
|
||||
If "on", the guest page will have web security disabled.
|
||||
|
||||
## Methods
|
||||
|
||||
### `<webview>`.getUrl()
|
||||
|
||||
Reference in New Issue
Block a user