i believe the prsing method may work and consider it a good eoute to taek to successfully parse the data however using the index.html and index2.html files below, index2.html does not receive the input data from index.html via the browser - the game displays run"bomber; it should display the input of the user from the index.html page

ndex.html
<!DOCTYPE html>
<html>
<head>
    <title>Amstrad Game Selector</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f0f0f0;
        }
        .input-container {
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        input, button {
            display: block;
            width: 100%;
            margin: 10px 0;
            padding: 10px;
            box-sizing: border-box;
        }
        button {
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <div class="input-container">
        <h2>Enter Amstrad Game Command</h2>
        <input type="text" id="customInput" placeholder="Enter custom command (e.g., run&quot;yourgame)">
        <button onclick="startGame()">Start Game</button>
    </div>
    <script>
        function startGame() {
            var customInput = document.getElementById('customInput').value.trim();
            var param1 = 'hello.dsk';
            var param2 = customInput || 'run"bomber';  // Default to 'run"bomber' if nothing is entered by user
            window.location.href = 'http://teven.atwebpages.com/index2.html?param1=' + encodeURIComponent(param1) + '&param2=' + encodeURIComponent(param2);
        }
    </script>
</body>
</html>

index.html
<html manifest="roland.manifest">
<head>
<title>Bomber</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body />
<script type="text/javascript">
    ie = 0
</script>
<!--[if IE]><script type="text/javascript">ie=1;onhelp=function(){return false}</script><script type="text/vbscript" src="ie.vbscript"></script><![endif]-->
<script type="text/javascript">
    pb = [];
    param2 = pbf = pbt = frc = game = t = u = 0;
    function cb(b, c) {
        if (c == 1)
            emul = b;
        else
            game = b;
        if (c == 3)
            document.write(game);
        else if (!t--)
            this.eval(emul.substr(311365));
        else if (c == 2) {
            k = b.indexOf('\0');
            ci = b.length;
            frc = bp = k + 1;
            while (bp < ci)
                pbf += (ap = b.charCodeAt(--ci)), ap != 255 && bp++;
            while (ci < b.length)
                ap = b.charCodeAt(ci++), pb[pbt++] = ap == 255 ? ap : ap
                        | b.charCodeAt(frc++) << 8;
            frc = pb[0] & 255;
            param = b.substr(0, k), param1 = param.split('/')[0],
                    param2 = param.split('/')[1], ajax(
                            (param1.slice(-1) == 'a' ? 'snaps/' : 'games/')
                                    + param1, 0);
        }
    }
    function ajax(f, g, h) {
        var xhr = new XMLHttpRequest();
        if (g < 0)
            xhr.onreadystatechange = function() {
                if (xhr && xhr.readyState == 4)
                    rt(ie ? bin2arr(xhr.responseBody)
                            : bin2str(xhr.responseText));
            };
        else
            xhr.onreadystatechange = function() {
                if (xhr && xhr.readyState == 4)
                    cb(ie ? bin2arr(xhr.responseBody)
                            : bin2str(xhr.responseText), h);
            };
        xhr.open(g ? 'POST' : 'GET', f, true);
        if (!ie)
            xhr.overrideMimeType('text/plain;charset=x-user-defined');
        xhr.send(g);
    }
    function bin2str(a) {
        return a.replace(/[\s\S]/g, function(t) {
            return String.fromCharCode(t.charCodeAt(0) & 255);
        });
    }
    function bin2arr(a) {
        return arr(a).replace(/[\s\S]/g, function(t) {
            v = t.charCodeAt(0);
            return String.fromCharCode(v & 0xff, v >> 8);
        }) + arrl(a);
    }
    k = location.href.indexOf('?') + 1;
    ifra = location.href.slice(-1) == '#';
    /*
    if (k) {
        params = param = decodeURI(ifra ? location.href.slice(k, -1)
                : location.href.slice(k));
        param1 = param.split('/')[0];
        param2 = param.split('/')[1];
        t++;
        if (param1.slice(-1) == 'c')
            t++, ajax('recorded/' + param1, 0, 2);
        else
            ajax((param1.slice(-1) == 'a' ? 'snaps/' : 'games/') + param1, 0);
    }
    */

    // XXX formatted and modified 6128s.html: auto start game, so that it can be cached as home screen app
    // http://amstrad.co.nf/6128s?span5.dsk/run"bomber on correct server
    param1 = 'span5.dsk';
    param2 = 'run"bomber';
    t++;
    ajax('' + param1, 0);

    ajax('_6128s.rom', 0, 1);
</script>
</html>