OMG VERSION DE FOU
This commit is contained in:
parent
6bc4451684
commit
dc2a9e20df
|
@ -68,11 +68,12 @@ function change_proxy(value, data, len) {
|
|||
}
|
||||
|
||||
function change_logs(value) {
|
||||
console.log("new value : " + value);
|
||||
document.getElementById("embed").src = "/static/logs/" + value + ".txt";
|
||||
window.onload = function() {
|
||||
let myiFrame = document.getElementById("embed");
|
||||
let doc = myiFrame.contentDocument;
|
||||
var myIframe = document.getElementById('embed');
|
||||
myIframe.addEventListener("load", function() {
|
||||
let doc = myIframe.contentDocument;
|
||||
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
|
||||
}
|
||||
});
|
||||
myIframe.src = "/static/logs/" + value + ".txt";
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue