Window.toolbar

The Window.toolbar property returns the toolbar object, which can be used to check the browser toolbar visibility.

Syntax

objRef = window.toolbar

Example

The following complete HTML example demonstrates how the visible property of the toolbar object is used.

<html>
<head>
  <title>Various DOM Tests</title>
  <script>
    var visible = window.toolbar.visible;
  </script>
</head>
<body>
  <p>Various DOM Tests</p>
</body>
</html>

Specifications

Specification
HTML Standard
# dom-window-toolbar-dev

Browser compatibility

BCD tables only load in the browser