This object contains a boolean indicating whether the tab is muted, and the reason for the last state change.
Values of this type are objects. They contain the following properties:
extensionId
可选
string
. The ID of the extension that last changed the muted state. Not set if an extension was not the reason the muted state last changed.
muted
boolean
. Whether the tab is currently muted. Equivalent to whether the muted audio indicator is showing.
reason
可选
tabs.MutedInfoReason
. The reason the tab was muted or unmuted. Not set if the tab's muted state has never been changed.
BCD tables only load in the browser
注意:
This API is based on Chromium's
chrome.tabs
API. This documentation is derived from
tabs.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 贡献者