网站制作学习网JS脚本→正文:禁止查看源文件
字体:

禁止查看源文件

JS脚本 2008/3/22 17:14:44  点击:不统计

保存为网页试试

<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>

·上一篇:循环判断radio选中 >>    ·下一篇:js 判断邮箱格式 >>
推荐文章
最新文章