chrome.browseraction.getBadgetExt

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