views:

16

answers:

1

So I'm developing a chrome extension and I would like to put a number on the icon. I'm assuming this is done through the canvas element but I can't find any examples. Anyone have an example they want to share?

+2  A: 

The number is called a "badge", and you can use up to four characters: http://code.google.com/chrome/extensions/browserAction.html

Call setBadgeText() to change it.

Ben Kudria
Are you serious? Ha ha thanks!
Chuck Hriczko