Chrome.browserAction.getBadgetExt

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