警告:
This method has been deprecated. Use
extension.getViews()
代替。
Returns an array of the JavaScript
Window
objects for each of the tabs running inside the current extension. If
windowId
is specified, returns only the Window objects of tabs attached to the specified window.
chrome.extension.getExtensionTabs(
windowId
// optional integer
)
This API is also available as
browser.extension.getExtensionTabs()
.
windowId
可选
integer
.
array
of
对象
. Array of global window objects
BCD tables only load in the browser
注意:
This API is based on Chromium's
chrome.extension
API. This documentation is derived from
extension.json
in the Chromium code.
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.
最后修改: , 由 MDN 贡献者