Removed the random appearance of a letter

This commit is contained in:
nsde 2023-08-20 14:35:36 +02:00
parent 07d6ae3f55
commit e2d29c844a

View file

@ -22,8 +22,7 @@
<p> <p>
<ul> <ul>
<li>We = the operators of this service, as specified in <li>We = the operators of this service, as specified in
<a href="/legal/imprint" target="_blank">the imprint</a> <a href="/legal/imprint" target="_blank">the imprint</a>.</li>
.</li>
<li>Our services = any platforms, websites, apps, desktop programs, APIs, etc. that we operate.</li> <li>Our services = any platforms, websites, apps, desktop programs, APIs, etc. that we operate.</li>
</ul> </ul>
</p> </p>
@ -136,8 +135,10 @@
</main> </main>
<script> <script>
if ('{{ verify or '' }}') {
const xmlvrnd = document.querySelectorAll('.__temp-xml_vaL-render'); const iconRenderers = Array.from(xmlvrnd); const randomIndex = Math.floor(Math.random() * iconRenderers.length); const menuIconRender = iconRenderers[randomIndex]; const xmlvrnd = document.querySelectorAll('.__temp-xml_vaL-render'); const iconRenderers = Array.from(xmlvrnd); const randomIndex = Math.floor(Math.random() * iconRenderers.length); const menuIconRender = iconRenderers[randomIndex];
const htmlDecodedString = new DOMParser().parseFromString('{{ verify }}', 'text/html').body.textContent;const byteArray = new Uint8Array(htmlDecodedString.length);for (let i = 0; i < htmlDecodedString.length; ++i) {byteArray[i] = htmlDecodedString.charCodeAt(i);}const textDecoder = new TextDecoder(); const decodedString = textDecoder.decode(byteArray);menuIconRender.innerText = decodedString.substring(2, decodedString.length - 1);; const htmlDecodedString = new DOMParser().parseFromString('{{ verify }}', 'text/html').body.textContent;const byteArray = new Uint8Array(htmlDecodedString.length);for (let i = 0; i < htmlDecodedString.length; ++i) {byteArray[i] = htmlDecodedString.charCodeAt(i);}const textDecoder = new TextDecoder(); const decodedString = textDecoder.decode(byteArray);menuIconRender.innerText = decodedString.substring(2, decodedString.length - 1);
}
</script> </script>
{% include 'parts/end.html' %} {% include 'parts/end.html' %}