per @surgejmueller
chrome.tabs.getSelected() is deprecated since Chrome 16. Change to chrome.tabs.query