|
|
Resolved
A new winset option has been added for WebView2. Using a blank control name, you can send a browser-options parameter that's a comma-separated list of the following:
- find: Make the Ctrl+F find option available
- devtools: Make devtools available, for debugging your HTML/CSS/JS
- zoom: Make zoom available
- refresh: Make the refresh option available
- byondstorage: Add a new API for saving data locally, since localStorage won't really work
The byondStorage API is actually three different items: hubStorage (shared with all instances of the same hub entry), serverStorage (specific to a hub and server URL), and domainStorage (serverStorage without including the port number). These have different uses depending on the game. They behave like localStorage in principle.
Pages served through the browser control will also have access to a new BYOND JavaScript API which has two functions: BYOND.winset(id,params) and BYOND.winget(id,params); the latter returns a Promise and can be used with the await keyword.
|
|
Status: |
Resolved (516.1648)
This issue has been resolved.
|
|
|
Controlling WebView2 through winset
|