Context Menus

contextMenus
Low RiskCategory: Browser UIView Official Docs

Technical 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.contextMenus

Common 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