Context Menus
contextMenusTechnical Context
Enables the extension to add custom items to Chrome's right-click context menu. These menu items can be context-aware, appearing only for specific types of selected content like text, images, or links.
What This Means For You
The extension can add new options to the menu that appears when you right-click on a page. This makes it easy to use the extension's features without leaving what you are doing.
Related APIs
This permission enables access to these Chrome APIs:
chrome.contextMenusCommon Use Cases
- ✓Search tools
- ✓Translation
- ✓Image tools
How to Declare in manifest.json
Add the "contextMenus" permission to your extension manifest:
{
"manifest_version": 3,
"name": "My Extension",
"permissions": [
"contextMenus"
]
}Related Permissions
Side Panel
sidePanelThis provides a sidebar companion that stays open while you browse, making it perfect for taking notes or doing research. It prevents you from having to constantly click an icon to reopen the extension's window.
Notifications
notificationsThe extension can show popup notifications on your desktop even when Chrome is minimized. This is useful for alerts and reminders but can be annoying if overused.
Keyboard Commands
commandsThe extension can respond to keyboard shortcuts you press, even when you are not clicking on it. You can customize these shortcuts in Chrome's extension settings.
Omnibox
omniboxThe extension adds a special keyword you can type in the address bar to access its features quickly. For example, typing "dict word" might look up a definition.
Theme
themeThe extension can change how Chrome looks, like the colors of tabs and toolbars. It cannot see what websites you visit or read any of your data.