Answers for "how to get current tab url in chrome extension"

2

chrome extension get current tab url

chrome.tabs.query({currentWindow: true, active: true}, function(tabs){
    console.log(tabs[0].url);
});
Posted by: Guest on February-06-2021

Code answers related to "how to get current tab url in chrome extension"

Code answers related to "Javascript"

Browse Popular Code Answers by Language