Extensão do Chrome Obtenha a guia atual do pop -up

chrome.tabs.query({active: true, currentWindow: true},function(tabs){   
	var currentTab = tabs[0];
});
Friendly Hawk