Context menu items

Using the contextMenus API, you can add items to the browser's context menu, to be displayed in the contexts you specify. For example, you can show the item only when the user clicks on an image, or on an editable element, or when part of a page is selected.

Specifying context menu items

You manage context menu items programmatically, using the contextMenus API.


The context-menu-demo WebExtension creates various different sorts of context menu items.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,