en vrai il y a eu d'autres tests

This commit is contained in:
piair 2023-09-27 19:55:43 +02:00
parent 3199db3874
commit e7d8e8afa4
2 changed files with 8 additions and 9 deletions

View File

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block left_pannel %}
{% endblock %}
{% block left_pannel %}{% endblock %}
{% block content %}
@ -17,15 +16,15 @@
var myIframe = document.getElementById('iframe');
myIframe.addEventListener("load", async () => {
var myIframe = document.getElementById('iframe');
let doc = myIframe.contentDocument;
console.log(1);
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
console.log(2);
myIframe.contentDocument.body.innerHTML = myIframe.contentDocument.body.innerHTML + '<style>html{color:white;}</style>';
await delay(2000);
document.getElementById('iframe').contentWindow.location.reload();
});
window.setInterval(function() {
var myIframe = document.getElementById('iframe');
myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight);
}, 500);
</script>
{% endif %}
{% endblock %}

View File

@ -1 +1 @@
v6.6.16
v6.6.17