Movatterモバイル変換


[0]ホーム

URL:


MDN Web Docs

userScripts.getScripts()

Returns user scripts registered by the extension.

Syntax

js
const gettingUserScripts = await browser.userScripts.getScripts(  filter       // object);

Parameters

filterOptional

userScripts.UserScriptFilter. A list of user script IDs to return.

Return value

APromise fulfilled with an array ofuserScripts.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.

Example extensions

Browser compatibility

Help improve MDN

Learn how to contribute.

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp