pas mal la 1.16 (je sais pas pk c'est cassé)
This commit is contained in:
parent
98bb9ad6d0
commit
3199db3874
@ -17,6 +17,7 @@
|
|||||||
var myIframe = document.getElementById('iframe');
|
var myIframe = document.getElementById('iframe');
|
||||||
|
|
||||||
myIframe.addEventListener("load", async () => {
|
myIframe.addEventListener("load", async () => {
|
||||||
|
var myIframe = document.getElementById('iframe');
|
||||||
let doc = myIframe.contentDocument;
|
let doc = myIframe.contentDocument;
|
||||||
console.log(1);
|
console.log(1);
|
||||||
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
|
doc.body.innerHTML = doc.body.innerHTML + '<style>html{color:white;}</style>';
|
||||||
|
Loading…
Reference in New Issue
Block a user