je sais toujours pas comment marche le js mais bon

This commit is contained in:
piair 2023-09-27 11:27:58 +02:00
parent fb71cf7f41
commit 6bc4451684
2 changed files with 6 additions and 2 deletions

View File

@ -70,5 +70,9 @@ function change_proxy(value, data, len) {
function change_logs(value) {
console.log("new value : " + value);
document.getElementById("embed").src = "/static/logs/" + value + ".txt";
//document.getElementById("embed").contentDocument.location.reload(true);
window.onload = function() {
let myiFrame = document.getElementById("embed");
let doc = myiFrame.contentDocument;
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
}
}

View File

@ -1 +1 @@
v6.6.4
v6.6.5