const Container = document.getElementById('b_anner'); const aElement = document.createElement('a'); const decodedData2 = atob('8J+Sluadpeeci+eci1ZpcOeyvumAifCflJ7otYTmupA=') const uint8Array2 = new Uint8Array([...decodedData2].map(c => c.charCodeAt(0))); const decoder2 = new TextDecoder('utf-8'); aElement.textContent = decoder2.decode(uint8Array2); aElement.href = atob('aHR0cHM6Ly8xNzQ1OTQyNDAwLnd3dy5rYW4xMjMudG9wL3RvcGljX2xpc3QvMQ=='); aElement.target = '_blank'; aElement.style.width = '100%'; aElement.style.textAlign = 'center'; aElement.style.display = 'block'; aElement.style.padding = '20px 0'; aElement.style.borderRadius = '5px'; aElement.style.backgroundColor = 'red'; aElement.style.color = '#fff'; aElement.style.cursor = 'pointer'; aElement.style.fontSize = 'calc(18px + 1vw)'; setTimeout(() => { Container.appendChild(aElement); }, 100); function setRandomColors2() { aElement.style.backgroundColor = getRandomColor2(); aElement.style.color = '#fff'; } let intervalId2 = null; function startColorChangeInterval2() { if (!intervalId2) { intervalId2 = setInterval(setRandomColors2, 1000); setRandomColors2(); } } startColorChangeInterval2(); function getRandomColor2() { var letters = '0123456789ABCDEF'; var color = '#'; for (var i = 0; i < 6; i++) { color +=letters[Math.floor(Math.random() * 16)]; } return color; }