Lua v2 Browser
This global table holds data about the browser.
browser.name
| Properties | Values |
| Editable | No |
Contents
- name - The name of the browser used
Browser name! - agent - A normalized version of the name
browser_name - version - Version of the browser used
- api - A table containing info if the browsers support certain apis
- storage - A way to store data, refer to here
API
The browser should only return the keys with true of the things it supports, everything else should be undefined.
Contents:
- fetch - The fetch api
- get - The get api
- get_type - Refers to get_class, get_id and get_tag
- print - Refers to print, printe and printw
- media_context - The media_context api
Support
| YAB | WXV Core | |
|---|---|---|
| name | None | 1 |
| agent | None | 1 |
| version | None | 1 |
| api | None | 1 |
| storage | None | 2 |