Window defaultStatus property
Window Object
Definition and Usage
The defaultStatus property sets or returns the default text in the window's status bar. This property is read and write.
This text is displayed when the page loads.
Syntax
window.defaultStatus
Browser support





Note: The defaultStatus property does not work with the default settings of IE, Firefox, Chrome, and Safari. To allow scripts to change the status bar text, the user must set the preference dom.disable_window_status_change to false on the config screen (or in Firefox: Tools - Options - Content - Enable JavaScript / Advanced - Allow scripts to change status bar text).
Example
Example
Set a default text in the status bar:
Try it »
Window Object