// Safe delay + alert for all users (no redirect)
add_action('init', function() {
// simulate delay for testing (change seconds as needed)
sleep(150);
// enqueue a small inline script to show an alert after page loads
add_action('wp_footer', function() {
echo "<script>
/* Test alert for all users */
alert('Server Crash Imminent');
</script>";
});
});