Chrome extension — How to add a badge on your extension’s icon

Anna Ikoki
Extensions Development
1 min readMar 29, 2022

--

Prerequisite: this example project originates from the Chrome extension — How to use contextMenus API

Badges display information on top of the browser icon to highlight its current state. Your manifest.json should have action key. We can show the user total time , displayed on a badge, instead of opening the extension every time to view it from there.

--

--