這招算是目前網(wǎng)上公布的防止查看源代碼的方法中最好的了,當(dāng)然了,要看還是辦法的,比如在地址欄中輸入javascript:alert(document.documentElement.outerHTML);