Files
chrome-extensions-samples/api-samples/contextMenus/basic
Benjamin Lörincz dc5d34f0f7 pretty print (#895)
* added json for prettier, npm run prettier in lint-staged
2023-05-01 11:29:59 -04:00
..
2023-05-01 11:29:59 -04:00

chrome.contextMenus

A sample extension demonstrating use of the chrome.contextMenus API.

Overview

In this sample the chrome.contextMenus API is used to create menu items, listen for different context menu types being clicked, and run code based on what the user has selected.

Implementation Notes

Different console readouts are made when context menu items are clicked. This can be quickly adapted to use new functions or API calls for more advaced functionality.