JS获取整个网页html代码

 1 document.getElementsByTagName('html')[0].innerHTML  

原文地址:https://www.cnblogs.com/nh34546/p/14822794.html