范文 |
查看效果: 看不到源代码 代码如下: <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> |