Chrome extension — How to use contextMenus API

Anna Ikoki
Extensions Development
1 min readMar 24, 2022

--

Prerequisite: this project originates from the chrome extension — Notifications API

Chrome extension API, contextMenus, add functionalities on right clicking of data, whereby the functionality will be accessed from background script through the menu-box. This background script is run by serviceworker.

When we click time on webpage, it should show up. So, we use events.

--

--