window.onload = function () { if (http_streaming != "ready") http_streaming.reload(); };
</script>
</head>
-<body>
+<body onabort = "console.log('rd abort');" onunload = "console.log('rd unload');" onerror = "console.log('rd error');" onkeypress = "console.log('rd keypress');">
</body>
<?php
function mop_flush()
// if ($i == 0)
// sleep(1);
- if ($i != 8) {
+ if ($i != 8 || true) {
printf("<script id='hs%d' type='text/javascript'>
-push(\"$('cont').innerHTML = '%d';\");
-</script>", $i, $i);
+push(\"$('cont').innerHTML += '%s %d';\");
+</script>", $i, ($i == 0 ? "<br/>" : ""), $i);
}
else {
// exit();