Minor tweaks to webpreferences docs

This commit is contained in:
Kevin Sawicki 2016-10-25 12:08:19 +09:00 committed by GitHub
parent 68c2c9825f
commit b4cc3541a8

View file

@ -201,12 +201,12 @@ If "on", the guest page will be allowed to open new windows.
```
A list of strings which specifies the web preferences to be set on the webview, separated by `,`.
The full list of supported preference strings can be found in [BrowserWindow](browser-window.md#new-browserwindowoptions)
The full list of supported preference strings can be found in [BrowserWindow](browser-window.md#new-browserwindowoptions).
The string follows the same format as the features string in `window.open`.
A name by itself is given a `true` boolean value.
A preference can be set to another value by including an `=`, followed by the value.
Special values `yes` and `1` are interpreted as true, while `no` and `0` are interpreted as false.
Special values `yes` and `1` are interpreted as `true`, while `no` and `0` are interpreted as `false`.
### `blinkfeatures`