JS 获取整个html页面源文件

document.body.innerHTML;

原文地址:https://www.cnblogs.com/yaya1943/p/3142415.html