Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

chrome extension get current tab url

chrome.tabs.query({currentWindow: true, active: true}, function(tabs){
    console.log(tabs[0].url);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #chrome #extension #current #tab #url
ADD COMMENT
Topic
Name
9+1 =