Status Bar Redirect

Inform before you move. This script sets a message in the browser's status area (or a simulated UI element) briefly before triggering a URL redirection.

Ready

Copy the Script

<script>
function go() {
    var msg = "Loading content... Please wait.";
    
    // Legacy support
    window.status = msg; 
    
    // Modern UI update
    document.getElementById("statusDiv").innerText = msg;
    
    // Delay slightly to let user see message, then move
    setTimeout(function() {
        window.location.href = "nextpage.html";
    }, 1000);
}
</script>

<button onclick="go()">Next Page</button>
<div id="statusDiv"></div>

Frequently Asked Questions

In older browsers, the page would sometimes 'freeze' while fetching a new URL. Updating the status bar gave users feedback that the click was registered.

Browsers now block `window.status`. This script includes a modern fallback that updates a fixed 'footer notification' div instead.

Yes! You can use this same logic to show a 'Saving...' or 'Loading...' toast notification during single-page app navigation.