So I’m creating my first chrome extension and was extremely confused for a while as I could not figure out how to grab the url of the currently open tab, until some research pointed me in the direction of chrome.tabs.getSelected(). The problem is, I cannot find anything in the API docs on this method. I’ve even found links to where it’s supposed to be (http://code.google.com/chrome/extensions/tabs.html#method-getSelected) but it’s not there. Am I missing something? Is this method deprecated and supposed to be replaced with something else?
Share
chrome.tabs.getSelectedwas removed in release 16.The documentation for
chrome.tabs.queryis here.