隱藏網頁源代碼
今天看到一個網頁,查看源代碼時居然是空的。非常好奇。將這個網頁下載到本地之后發現是通過一段JS腳本來實現這個效果的?,F與大家分享:<html> <head> <title>查看源文件為空-</title> <script> function clear() { Source=document.body.firstCh
今天看到一個網頁,查看源代碼時居然是空的。非常好奇。將這個網頁下載到本地之后發現是通過一段JS腳本來實現這個效果的?,F與大家分享:<html> <head> <title>查看源文件為空-</title> <script> function clear() { Source=document.body.firstCh
1, 通過js實現-onfocus="this.blur()" <input type="text" value="fisker" onclick="alert(this.value);" disabled />輸入框無法獲得焦點,不能編輯表單可以獲得值??梢詮椭?。蠻奇怪的,都選住了,還沒有獲得焦點?2, readonly&l
1、忽視右鍵<body oncontextmenu="return false">或<body style="overflow-y:hidden">2、加入背景音樂IE:<bgsound src="*.mid" loop=infinite>NS:<embed src="*.mid&quo