quick & dirty (don't judge) status in tab title

Code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Zorro Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="30">
<link href="zorro.css" rel="stylesheet" type="text/css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script>
$(document).ready(function(){
  document.title = $("body").text().split("System State:  ")[1].split("\n")[0];
})
</script>
</head>
<body>
<br>
<table border="0">
  <tr>
    <td><strong>Trade</strong></td>
    <td><strong>ID</strong></td>
    <td><strong>Lots</strong></td>
    <td><strong>Entry Time</strong></td>
    <td><strong>Entry</strong></td>
    <td><strong>Price</strong></td>
    <td><strong>Stop</strong></td>
    <td><strong>Trail</strong></td>
    <td><strong>Target</strong></td>
    <td><strong>Risk</strong></td>
    <td><strong>Profit</strong></td>
    <td><strong>Pips</strong></td>
  </tr>
</table>
</body>
</html>

Last edited by Lapsa; 06/07/22 11:47.