}/craft/${selectedSite}?input_url=${encodeURIComponent(inputUrl)}`
            document.getElementById("resultUrl").textContent = resultUrl;
            const copyButton = document.getElementById("copyButton");
            if (resultUrl) {
                copyButton.style.display = "inline-block";
                copyButton.textContent = "复制 URL";
            } else {
                copyButton.style.display = "none";
            }
        }

        function copyUrl() {
            const resultUrl = do