🎁 买Hostinger主机,免费获得此源码 | zfuye.org

规范URL检查工具

分析HTML以验证规范标签实现并识别SEO问题。

HTML输入

分析结果

等待分析...
statusCard.textContent = "Waiting for analysis..."; copyBtn.disabled = true; downloadBtn.disabled = true; }); copyBtn.addEventListener("click", async () => { const report = `Canonical URL Checker Report Status: ${statusText.value} Canonical URL: ${canonicalUrl.value || "Not Found"} Recommendations: ${recommendation.value} `; try { await navigator.clipboard.writeText(report); const originalText = copyBtn.textContent; const originalColor = copyBtn.style.backgroundColor; copyBtn.textContent = "Copied!"; copyBtn.style.backgroundColor = "#16a34a"; setTimeout(() => { copyBtn.textContent = originalText; copyBtn.style.backgroundColor = originalColor || "#1d9bf0"; }, 2000); } catch { alert("Failed to copy report."); } }); downloadBtn.addEventListener("click", () => { const report = `Canonical URL Checker Report Status: ${statusText.value} Canonical URL: ${canonicalUrl.value || "Not Found"} Recommendations: ${recommendation.value} `; const blob = new Blob([report], { type: "text/plain" }); const link = document.createElement("a"); link.href = URL.createObjectURL(blob); link.download = "canonical-url-report.txt"; link.click(); URL.revokeObjectURL(link.href); }); exampleBtn.addEventListener("click", () => { htmlInput.value = ` Example

Hello World

`; analyzeHTML(); });