05.02.2023, 21:59
komplette Lösung:
Code:
let logodiv = document.querySelector('div.tw-animated-glitch-logo');
logodiv.innerHTML = '';
let newlogo = document.createElement("img");
newlogo.src = 'https://administrator.de/images/u/2022/11/20/4693369142_43066222500_256.jpg';
newlogo.width = 32;
newlogo.height = 32;
logodiv.appendChild(newlogo);