网站制作学习网JS脚本→正文:看不到源代码1
字体:

看不到源代码1

JS脚本 2009/7/22 9:01:51  点击:不统计

本文原载于www.forasp.cn
关键词:看不到源代码,隐藏源代码,源代码看不到,保护源代码

查看效果:

看不到源代码
代码如下:
<html>
<title>看不到源代码</title>
<head>
<script>
function clear(){
Source=document.body.firstChild.data;
document.open();
document.write("如果你看到的是这一句,那说明源码已经加了保护.");
document.close();
document.title="看不到源代码";
document.body.innerHTML=Source;

}</script></head>

<body onload=clear()><!--

<marquee>看得到源代码吗?</marquee>

--></body></html>


%77w%77%2E%66%6F%72%61%73%70%2E%63%6E

·上一篇:格式化javascript代码 >>    ·下一篇:js获取上一页url >>
推荐文章
最新文章