Status Bar Clock

Nostalgia for your footer. This script attempts to write the current time to the browser's status bar, and gracefully degrades to a simulated footer bar in modern browsers.

Look at the bottom of this box for the simulated status bar:

Loading...

Copy the Script

<script>
function statusClock() {
    var d = new Date();
    var timeStr = d.toLocaleTimeString();
    
    // Attempt legacy set (mostly ignored today)
    window.status = "Current Time: " + timeStr;
    
    // Modern fallback
    var el = document.getElementById("myStatus");
    if(el) el.innerText = "Current Time: " + timeStr;
    
    setTimeout("statusClock()", 1000);
}
statusClock();
</script>

<!-- Modern Fallback Display -->
<div id="myStatus" style="position:fixed; bottom:0; left:0; width:100%; background:#ddd; padding:2px; font-size:12px; border-top:1px solid #999;"></div>

Frequently Asked Questions

Security updates in browsers like Chrome, Firefox, and Edge prevent websites from modifying the status bar text to stop phishing attempts. This script works on very old browsers (IE6) but includes a visual fallback for today.

The fallback creates a fixed bar at the bottom of the viewport that *looks* like a status bar, displaying the clock there instead.

Yes. If you strictly want the legacy behavior only, simply remove the `div` element from the code.