as title I can't able find this method into the Api -> Tabs... Way and where? Thanks'
相关问题
- How does same-domain policy apply to background sc
- YouTube Data API v3 allowed referers for browser a
- Chrome Extension: How can I get global settings in
- Keep receiving Login Required error when trying to
- chrome.runtime.reload blocking the extension
相关文章
- Make Bootstrap tab Active on the bases of URL link
- ViewPager first fragment shown is always wrong wit
- Progressive web app(PWA) vs Electron vs Browser ex
- Decrease the tabs bar height in gnome terminal
- chrome.runtime.getURL vs. chrome.extension.getURL
- Will this hotkey work for Mac users?
- Chrome extension permission for “about:blank” page
- getElementById not working in Google Chrome extens
https://developer.chrome.com/extensions/tabs#method-getSelected
It's a deprecated method, but you can still use it.
It was removed. Use chrome.tabs.query instead.
It was deprecated in Chrome 16. The correct way is to use
chrome.tabs.query
withactive:true
andlastFocusedWindow:true
.