<body>
<script>
var es = new EventSource("event-stream-with-delay.php");
es.onerror = function() {
var es2 = new EventSource("event-stream-with-delay.php");
es2.onerror = function() {
top.finish();
frameElement.remove();
}
}
es.onopen = function() {
location.reload();
}
</script>
</body>