Chrome的方法会chrome.browserAction.setBadgeText在扩展程序图标上叠加文字.如果您想显示总未读邮件,这很方便.
chrome.browserAction.setBadgeText
开发Firefox Addon SDK扩展时是否有等效方法,或者在运行时更改图标的最佳方法是什么?
从SDK版本1.11开始,我在Firefox Add-on SDK API中找不到类似的方法.
firefox-addon-sdk
firefox-addon-sdk ×1