Add-ons

windows.WindowState

The state of this browser window.

Type

Values of this type are strings. Possible values are:

  • "normal"
  • "minimized"
  • "maximized"
  • "fullscreen"
  • "docked"

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic Support (Yes) (Yes)45 No (Yes)
minimized (Yes) No45 No (Yes)
maximized (Yes) No45 No (Yes)
fullscreen (Yes) No45 No (Yes)
docked (Yes) No No No (Yes)

Acknowledgements

This API is based on Chromium's chrome.windows API. This documentation is derived from windows.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.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, wbamberg
 Last updated by: chrisdavidmills,