Chrome.BrowSerAction.getBadGeText

chrome.browserAction.getBadgeText({}, function(result) {
    alert('Badge text = ' + result);
});
Proud Porcupine