Is there an equivalent for Chrome's 'setBadgeText' in Firefox Add-on SDK?

Viewed 2098

Chrome's method chrome.browserAction.setBadgeText overlays text on top of the extensions icon. This is handy if you want to display total unread mails for example.

Is there an equivalent method when developing a Firefox Addon SDK extension, or what is the best way to change the icon at runtime?

As of version 1.11 of SDK I can't find similar method in Firefox Add-on SDK API.

4 Answers
Related