禁止查看源文件

字號:


    保存為網(wǎng)頁試試
    <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="" target="_blank"></a>可惜你看不到!
    -->
    </body>
    </html>