OMG VERSION DE FOU

This commit is contained in:
piair 2023-09-27 11:30:50 +02:00
parent 6bc4451684
commit dc2a9e20df
2 changed files with 9 additions and 8 deletions

View File

@ -68,11 +68,12 @@ function change_proxy(value, data, len) {
} }
function change_logs(value) { function change_logs(value) {
console.log("new value : " + value); var myIframe = document.getElementById('embed');
document.getElementById("embed").src = "/static/logs/" + value + ".txt"; myIframe.addEventListener("load", function() {
window.onload = function() { let doc = myIframe.contentDocument;
let myiFrame = document.getElementById("embed");
let doc = myiFrame.contentDocument;
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>'; doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
} });
myIframe.src = "/static/logs/" + value + ".txt";
} }

View File

@ -1 +1 @@
v6.6.5 v6.6.6