javascript:alert(document.documentElement.outerHTML); <html> <head> <script language="javascript"> function clear(){ Source=document.body.firstChild.data; document.open(); document.close(); document.title="看不到源代码"; document.body.innerHTML=Source; } </script> </head> <body onload=clear()> 111111111111111111111111111111</body> </html>