chrome.browseraction.getBadgetext

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