Skip to content
Related Articles

Related Articles

Web Window API | Window toolbar property
  • Last Updated : 31 Jul, 2019

In HTML Window.toolbar property returns the object of toolbar, for which we can check the visibility.


objectReference = window.toolbar

Example: Check the visibility

<!DOCTYPE html>
        Window toolbar property
    <script type="text/javascript">
        function getvisibility() {
                    'visibility').innerHTML =
        <h1 style="color:green;">  
        <h2>Window toolbar property</h2>
        <button onclick="getvisibility ();"
          Check visibility
        <p id='visibility'></p>

Click the button:

When the button is clicked:

Supported Browsers:

  • Google Chrome
  • Edge 12
  • Firefox
  • Safari
  • Opera

My Personal Notes arrow_drop_up
Recommended Articles
Page :