#Click Here to go back to Https://Offlinenotepad.com/gm9lIXrbYRhzsVooTHEP
#Welcome to App ID:gm9lIXrbYRhzsVooTHEP
function createCubeElement(link, code, aura) {
const linkElement = document.createElement('div');
linkElement.classList.add('hyper-cube');
linkElement.style.boxShadow = `0 0 15px 3px ${aura}`;
linkElement.innerHTML = `
<div class="front" style="background-color: ${aura};">🆔${code}</div>
<div class="back" style="background-color: ${aura};">🆔${code}</div>
<div class="right" style="background-color: ${aura};">🆔${code}</div>
<div class="left" style="background-color: ${aura};">🆔${code}</div>
<div class="top" style="background-color: ${aura};">🆔${code}</div>
<div class="bottom" style="background-color: ${aura};">🆔${code}</div>
`;
generateQRCode(code, linkElement);
linkElement.addEventListener('click', function() {
iframeElement.src = link;
iframeContainer.classList.add('active');
});
return linkElement;
}
function generateQRCode(code, element) {
const qr = new QRious({
value: `https://www.Literallyanything.io/iterate?id=${code}`,
size: 50
});
const qrImg = document.createElement('img');
qrImg.src = qr.toDataURL();
qrImg.classList.add('qr-code');
element.appendChild(qrImg);
}
function getRandomColor() {
const letters = '0123456789ABCDEF';
let color = '#';
for (let i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
}
closeIframe.addEventListener('click', function() {
iframeContainer.classList.add('fade-out');
setTimeout(() => {
iframeContainer.classList.remove('active', 'fade-out');
iframeElement.src = '';
}, 500);
});
storedLinks.forEach(({ code, aura }) => {
const link = `https://www.Literallyanything.io/app/${code}`;
const linkElement = createCubeElement(link, code, aura);
linksContainer.appendChild(linkElement);
});
});
</script>