oh bordel qu'es ce que je fous

This commit is contained in:
piair 2023-09-27 11:58:39 +02:00
parent 7e6062ca1c
commit 07c37b9ae9
2 changed files with 14 additions and 1 deletions

View File

@ -73,7 +73,20 @@ function change_logs(value) {
let doc = myIframe.contentDocument;
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
window.setInterval(function() {
reloadIFrame()
}, 500);
});
function reloadIFrame() {
console.log('reloading..');
document.getElementById('iframe').contentWindow.location.reload();
window.setInterval(function() {
reloadIFrame()
}, 100000);
}
myIframe.src = "/static/logs/" + value + ".txt";

View File

@ -1 +1 @@
v6.6.9
v6.6.10