禁止查看源文件
<html>
<head>
<script language="javascript">
function clear(){
Source=document.body.firstChild.data;
document.open();
document.close();
document.title="cccccc";
document.body.innerHTML=Source;
}
</script>
</head>
<body onload=clear()>
这时你查看源文件就不会看到有代码了~~~~
</body>
</html>
<head>
<script language="javascript">
function clear(){
Source=document.body.firstChild.data;
document.open();
document.close();
document.title="cccccc";
document.body.innerHTML=Source;
}
</script>
</head>
<body onload=clear()>
这时你查看源文件就不会看到有代码了~~~~
</body>
</html>
--今日你博了吗?