Get to know MDN better
Returns user scripts registered by the extension.
userScripts.UserScriptFilter. A list of user script IDs to return.
A Promise fulfilled with an array of userScripts.RegisteredUserScript objects. If no matching user scripts are found, the array is empty. If the request fails, the promise is rejected with an error message.
Enable JavaScript to view this browser compatibility table.
This page was last modified on Jul 17, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.