userScripts.getWorldConfigurations()
Returns all the USER_SCRIPT world configurations registered by the extension with userScripts.configureWorld().
Syntax
js
const gettingWorldConfigurations = await browser.userScripts.getWorldConfigurations();
Parameters
This function takes no parameters.
Return value
A Promise fulfilled with an array of userScripts.WorldProperties objects. If the request fails, the promise is rejected with an error message.
Browser compatibility
| desktop | mobile | ||||||
|---|---|---|---|---|---|---|---|
getWorldConfigurations
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support