This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.



Sets or retrieves the default message displayed in the status bar at the bottom of the window.

Property of dom/Windowdom/Window


var statusMessage = window.defaultStatus;
window.defaultStatus = value;

Return Value

Returns an object of type StringString

The default message to display on the userAgents’ Status Bar.


The following example displays ‘Welcome to our website’ in the userAgent’s Status Bar when the page loads.

window.defaultStatus='Welcome to our website!';



 Use to customize the userAgent default Status Bar message.



Do not confuse defaultStatus with status. The status property reflects a priority or transient message in the status bar, such as the message that appears when an onmouseover event occurs over an anchor. Windows Internet Explorer 7: References to this property are ignored if the “Allow status bar updates via script” option is disabled or the URLACTION _FEATURE_SCRIPT_STATUS_BAR URL action is disallowed for the current URL security zone. For more information on URL security zones, please see About URL Security Zones.

defaultStatus in Metro style apps using JavaScript

Metro style apps using JavaScript don’t support this property because they don’t have status bars.