← 返回首页
windows.WindowType - Mozilla | MDN

windows.WindowType

The type of browser window this is.

In this article

Type

Values of this type are strings. Possible values are:

  • "normal"
  • "popup"
  • "panel"
  • "devtools"

Browser compatibility

Enable JavaScript to view this browser compatibility table.

Note: This API is based on Chromium's chrome.windows API. This documentation is derived from windows.json in the Chromium code.