зеркало из https://github.com/electron/electron.git
docs: "disablewebsecurity" attribute
This commit is contained in:
Родитель
da54ac5f55
Коммит
423d269187
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче