Update index.html
Browse files- index.html +10 -1
index.html
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
-
<title>
|
| 6 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
| 7 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.css" rel="stylesheet">
|
| 8 |
</head>
|
|
@@ -85,6 +85,15 @@
|
|
| 85 |
config.data.datasets[0].data.push(data.value);
|
| 86 |
lineChart.update();
|
| 87 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
});
|
| 89 |
</script>
|
| 90 |
</body>
|
|
|
|
| 2 |
<html lang="en">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
+
<title>Custom Dstat By @Vano_Ganzzz</title>
|
| 6 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet">
|
| 7 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.css" rel="stylesheet">
|
| 8 |
</head>
|
|
|
|
| 85 |
config.data.datasets[0].data.push(data.value);
|
| 86 |
lineChart.update();
|
| 87 |
}
|
| 88 |
+
|
| 89 |
+
// Dynamic title update every 5 seconds
|
| 90 |
+
let titleIndex = 0;
|
| 91 |
+
const titles = ["Custom Dstat By @Vano_Ganzzz", "Live Monitoring", "Network Traffic Analysis", "Security Insights"];
|
| 92 |
+
|
| 93 |
+
setInterval(() => {
|
| 94 |
+
document.title = titles[titleIndex];
|
| 95 |
+
titleIndex = (titleIndex + 1) % titles.length;
|
| 96 |
+
}, 5000);
|
| 97 |
});
|
| 98 |
</script>
|
| 99 |
</body>
|