<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> <noscript><meta http-equiv=" Refresh "content=" 0;url=about:noscript "></noscript > <title> screen Mouse right button, CTRL + N, SHIFT+F10, Alt+f4, F11, F5 refresh, backspace key </title> </pead> <body> <script >//Shielding the right mouse button, CTRL + N, SHIFT+F10, F11, F5 refresh, backspace function Document.oncontextmenu () {event.returnvalue=false;} right mouse button function Window.onhelp () {return false}//mask F1 help function Document.onkeydown () {if (Window.event.altKey) & & ((window.event.keycode==37) | |//Shielding ALT + Direction key ← (window.event.keycode==39)) {//shielding ALT + Direction key →alert ("You are not allowed to use ALT + Arrow key forward or back page! "); Event.returnvalue=false; } if ((event.keycode==8) | |//SHIELDING BACKSPACE Delete key (event.keycode==116) | |//Shielding F5 Refresh key (Event.ctrlkey && event.keycode==82)) {// Ctrl+r event.keycode=0; Event.returnvalue=false; } if (event.keycode==122) {event.keycode=0;event.returnvalue=false;}//Mask F11 if (Event.ctrlkey && event.keycode==78) Event.returnValue=false; Shielding CTRL + N if (event.shiftkey && event.keycode==121) Event.returnvalue=false; Shielded SHIFT+F10 if (window.event.srcelement.tagname== "A" && Window.event.shiftKey) window.event.returnvalue= False Screen shift plus left mouse button new page if ((Window.event.altKey) && (window.event.keycode==115)) {//Shield ALT+F4 Window.showmodelessdialog ("About:blank", "" "," dialogwidth:1px;dialogheight:1px "); return false; } </script> screen right mouse button, CTRL + N, SHIFT+F10, Alt+f4, F11, F5 refresh, backspace key </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]