--- title: windows.WindowState slug: Mozilla/Add-ons/WebExtensions/API/windows/WindowState translation_of: Mozilla/Add-ons/WebExtensions/API/windows/WindowState ---
{{AddonSidebar()}}

浏览器窗口的状态。

类型

类型的值是字符串类型。 可能的值如下:

浏览器适配

{{Compat("webextensions.api.windows.WindowState")}}

{{WebExtExamples}}

致谢

此API基于谷歌浏览器 chrome.windows API。此文档源于谷歌源码 windows.json .

微软Edge浏览器兼容性数据由微软公司提供,并包含在美国Creative Commons Attribution 3.0许可证下。