windows.WindowType

浏览器窗口的类型。

Type

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

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

浏览器适配

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
WindowType
app
devtools
panel

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

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