$(document.getElementsByTagName("iframe")[0].contentWindow.document.body).html(); 转载于:https://www.cnblogs.com/sky6699/p/7405721.html