0 points

Google Chrome Extension Numbers on the Icon - Stack Overflow


dashboard

Sun Aug 02 2020 13:46:24 GMT+0000 (UTC)

Posted by @mishka #chrome

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

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

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