看不到源代碼1

字號:


    查看效果:
    看不到源代碼
    代碼如下:
    <html>
    <title>看不到源代碼</title>
    <head>
    <script>
    function clear(){
    Source=document.body.firstChild.data;
    document.open();
    document.write("如果你看到的是這一句,那說明源碼已經(jīng)加了保護(hù).");
    document.close();
    document.title="看不到源代碼";
    document.body.innerHTML=Source;
    }</script></head>
    <body onload=clear()><!--
    <marquee>看得到源代碼嗎?</marquee>
    --></body></html>