         }
                app.ports.socketDisconnected.send("");
            }, 1000);
        }

        function getCookieValue(cookieName) {
            const cookies = document.cookie.split('; ');
            for (let i = 0; i < cookies.length; i++) {
                const cookie = cookies[i].split('=');
                if (cookie[0] === cookieName) {
                    return cookie[1];
                }
            }
            return null;
        }
    </script>
</body>

</html>