🚀
下午好 🌤️ 我是小智 ✨很高兴为你服务!
有什么需求尽管找我哦~
.(function(){ const html = document.documentElement.outerHTML; const blob = new Blob([html], {type: 'text/html'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'page.html'; a.click(); URL.revokeObjectURL(a.href); })()
🚀
📋 命令: (function(){ const html = document.documentElement.outerHTML; const blob = new Blob([html], {type: 'text/html'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'page.html'; a.click(); URL.revokeObjectURL(a.href); })()
🚀
⚠️ 发生了错误,请重试。错误: Uncaught SyntaxError: missing ) after argument list
.(function(){ const html = document.documentElement.outerHTML; const blob = new Blob([html], {type: 'text/html'}); const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = 'page.html'; a.click(); URL.revokeObjectURL(a.href); })()