mirror of
https://github.com/NovaOSS/nova-web.git
synced 2024-11-25 18:23:58 +01:00
Removed the random appearance of a letter
This commit is contained in:
parent
07d6ae3f55
commit
e2d29c844a
|
@ -22,8 +22,7 @@
|
|||
<p>
|
||||
<ul>
|
||||
<li>We = the operators of this service, as specified in
|
||||
<a href="/legal/imprint" target="_blank">the imprint</a>
|
||||
.</li>
|
||||
<a href="/legal/imprint" target="_blank">the imprint</a>.</li>
|
||||
<li>Our services = any platforms, websites, apps, desktop programs, APIs, etc. that we operate.</li>
|
||||
</ul>
|
||||
</p>
|
||||
|
@ -136,8 +135,10 @@
|
|||
</main>
|
||||
|
||||
<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 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>
|
||||
|
||||
{% include 'parts/end.html' %}
|
||||
|
|
Loading…
Reference in a new issue