Skip to content
Related Articles
Open in App
Not now

Related Articles

Web Window API | Window toolbar property

Improve Article
Save Article
  • Last Updated : 12 Jul, 2022
Improve Article
Save Article

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 1 and above
  • Edge 12 and above
  • Firefox 1 and above
  • Safari 3 and above
  • Opera 15 and above
  • Internet Explorer not supported
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!