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
Loading…