The state of this browser window.
Values of this type are strings
. Possible values are:
"normal"
"minimized"
"maximized"
"fullscreen"
"docked"
macOS compatibility: Beginning in macOS 10.10, the default maximizing behavior for windows changed to run applications as full screen applications instead of "zoomed" windows. fullscreen
refers to both the browser running as a full screen application and when content in a tab uses the Fullscreen API.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
WindowState |
Yes |
14 |
45 |
? |
Yes |
14 |
? |
? |
No |
? |
? |
? |
docked |
Yes |
79 |
No |
? |
Yes |
No |
? |
? |
No |
? |
? |
? |
fullscreen |
Yes |
79 |
45 |
? |
Yes |
14 |
? |
? |
No |
? |
? |
? |
maximized |
Yes |
79 |
45 |
? |
Yes |
14 |
? |
? |
No |
? |
? |
? |
minimized |
Yes |
79 |
45 |
? |
Yes |
14 |
? |
? |
No |
? |
? |
? |
Note: 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.
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/windows/WindowState