- 通过
outerHTMLdocument.documentElement.outerHTML - 通过异步请求
$.get(window.location.href,function(res){console.log(res); }); - 通过jQuery
$("html").html();
详细解决方案
js获取整个页面源码
热度:80 发布时间:2023-10-22 12:12:41.0
相关解决方案