X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Window defaultStatus Property

Window Object Reference Window Object

Example

Set a default text in the status bar:

window.defaultStatus = "This is the default text in the status bar!!"

Try it yourself »


Definition and Usage

The defaultStatus property sets or returns the default text in the status bar at the bottom of the browser (the text will be displayed when the page loads).

Note: The defaultStatus property does not work in the default configuration of IE, Firefox, Chrome, Safari or Opera 15 and newer. To allow scripts to change the text of the status, the user must set the dom.disable_window_status_change preference to false in the about:config screen. (or in Firefox: "Tools - Options - Content -Enable JavaScript / Advanced - Allow scripts to change status bar text").


Browser Support

Property
defaultStatus Not supported Not supported Not supported Not supported Not supported

Note: Opera 12 and earlier supports this property. However, support was removed in version 15.

Note: Firefox removed this property in version 23.


Syntax

window.defaultStatus

Technical Details

Return Value: The default text displayed in the status bar


Window Object Reference Window Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook