屏蔽功能键Shift,Alt,Ctrl 〈script〉 function look(){ if(event.shiftKey) alert("禁止按Shift键!"); //可以换成ALT CTRL } document.onkeydown=look; 〈/script〉
网页不会被缓存 〈META HTTP-EQUIV="pragma" CONTENT="no-cache"〉 〈META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate"〉 〈META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"〉 或者〈META HTTP-EQUIV="expires" CONTENT="0"〉 |