保存为网页试试

<html>

<head>

<script>

function clear(){

Source=document.body.firstChild.data;

document.open();

document.close();

document.title="看不到源代码";

document.body.innerHTML=Source;

}</script>

</head>

<body onload=clear()>

<!--

<a href="http://www.forasp.cn" target="_blank">网站制作学习</a>可惜你看不到!

-->

</body>

</html>