} else {
                document.getElementById("copyout").disabled = true;
            }

            document.getElementById('output').value = output;
        }

        function Copy() {
            navigator.clipboard.writeText(
                document.getElementById('output').value
            );
            history.back();
            //window.close();
        }

        document.getElementById("fullRecipe").addEventListener("change", function () {
            updateOutput();
        });
        upd