获取当前网页的源码 通过 outerHTMLdocument.documentElement.outerHTML 通过异步请求$.get(window.location.href,function(res){ console.log(res); }); 通过jQuery$("html").html(); 相关文章: 2022-02-02 2022-12-23 2022-12-23 2021-09-21 2021-10-08 2022-12-23 2022-12-23 2022-12-23