Enable or disable a userscript
browser_tampermonkey_set_enabledEnable or disable an installed Tampermonkey userscript by UUID or @name. Disabled scripts remain installed but are not injected into pages.
Instructions
Turn a userscript on or off in Tampermonkey (modifyScriptOptions with {enabled}). Identify the script by uuid, or by the @name shown in browser_tampermonkey_list. A disabled script stays installed but is not injected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Script @name | |
| uuid | No | Script uuid, if you already have it | |
| enabled | Yes | true to enable, false to disable |