Movatterモバイル変換


[0]ホーム

URL:


  1. Mozilla
  2. Add-ons
  3. Browser extensions
  4. JavaScript APIs
  5. windows
  6. windows.WindowState

windows.WindowState

The state of this browser window.

Type

Values of this type arestrings. Possible values are:

"normal"

The window is at the default size or user-selected size.

"minimized"

The window is only visible as an icon in the taskbar.

"maximized"

The window fills the screen on which it is displayed not including any screen areas reserved by the operating system.

"fullscreen"

The window is running as a full screen application or content in a tab is using theFullscreen API

"docked"

A docked window occupies a fixed position relative to other windows owned by the same application.

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.

Browser compatibility

Note:This API is based on Chromium'schrome.windows API. This documentation is derived fromwindows.json in the Chromium code.

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp