Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chrome extension get current tab from popup

chrome.tabs.query({active: true, currentWindow: true},function(tabs){   
	var currentTab = tabs[0];
});
 
PREVIOUS NEXT
Tagged: #chrome #extension #current #tab #popup
ADD COMMENT
Topic
Name
9+8 =