HTML | DOM Window defaultStatus Properties

The DefaultStatus property is used to set or return the default text in the status bar at the bottom side of the browser.

Syntax:

window.defaultStatus

Return Type: The Default text in status bar.

Example:

filter_none

edit
close

play_arrow

link
brightness_4
code

<!DOCTYPE html>
<html>
  
<head>
    <title>
        HTML | DOM Window defaultStatus Properties
    </title>
</head>
  
<body>
  
    <p>This is first paragraph.</p>
  
    <script>
        window.defaultStatus =
            "The default text of the status bar.";
    </script>
  
</body>
  
</html>

chevron_right


NOTE :

  • The output of this example can’t be generated as this property is not supported by any browser.
  • This property supports in Opera 12 and earlier version.
  • This property supports in Firefox 23 and earlier version.

Supported Browsers: The major browsers are not supported by DOM Window defaultStatus Properties



My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.