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
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
getWorldConfigurations
Chrome – Full support
Chrome 133 (Release date: 2025-02-04)
footnote Full support
Edge – Full support
Edge 133 (Release date: 2025-02-06)
footnote Full support
Firefox – Full support
Firefox 136 (Release date: 2025-03-04)
footnote Full support
Opera – Full support
Opera 118 (Release date: 2025-04-15)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – Full support
Firefox for Android 138 (Release date: 2025-04-29)
footnote Full support
Safari on iOS – No support
Safari on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support