Google Chrome Extension Numbers on the Icon - Stack Overflow

PHOTO EMBED

Sun Aug 02 2020 13:46:24 GMT+0000 (Coordinated Universal Time)

Saved by @mishka #chrome

chrome.browserAction.setBadgeText({text: "10+"}); // We have 10+ unread items.
content_copyCOPY

To set a number badge on a the popup icon the extension.

https://stackoverflow.com/questions/5759130/google-chrome-extension-numbers-on-the-icon