User Scripts
userScriptsTechnical Context
Provides access to the chrome.userScripts API for executing user-provided scripts in the User Scripts context. This enables Tampermonkey-style functionality for running custom scripts on web pages.
What This Means For You
The extension can run custom scripts that you or others create on websites. This is powerful for customization but means third-party code runs in your browser.
Related APIs
This permission enables access to these Chrome APIs:
chrome.userScriptsCommon Use Cases
- ✓Userscript managers
- ✓Tampermonkey alternatives
- ✓Page customizers
How to Declare in manifest.json
Add the "userScripts" permission to your extension manifest:
{
"manifest_version": 3,
"name": "My Extension",
"permissions": [
"userScripts"
]
}Related Permissions
Scripting
scriptingThe extension can run code on web pages to modify how they look or behave. The actual pages it can access depend on other permissions it has.
Developer Tools
devtoolsThe extension can add new panels and features to Chrome's developer tools. This is only useful for web developers who use the inspector.
Debugger
debuggerThe extension can control web pages at a very deep level, including pausing code and changing how pages run. This is extremely powerful and typically only needed by developer tools.
Bookmarks
bookmarksThe extension can see all your saved bookmarks and folders, including their names and URLs. It can add new bookmarks, move them around, or delete them entirely.
Top Sites
topSitesThe extension can see a list of websites you visit most often, similar to what Chrome shows on a new tab page. It cannot see your full history, only your top visited sites.