Chrome.Browseraction.getBadgeText

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