Εκλογές Συλλόγου Εργαζομένων ΕΥΔΑΠ
March 17, 2021
var iframe = document.getElementsByTagName('iframe')[0];
iframe.addEventListener("load", function() {
/* the JS equivalent of the answer
*
* var node = document.createElement('style');
* node.appendChild(document.createTextNode('body { background: #fff; }'));
* window.frames[0].document.head.appendChild(node);
*/
// the cleaner and simpler way
window.frames[0].document.body.backgroundColor = "#ff0000";
});