北京食品安全招聘信息:禁止别人在我的网页上面点击右键的代码是什么啊?请指教
<SCRIPT LANGUAGE=javascript> function click() { alert('禁止你的左键复制!') } function click1() { if (event.button==2) {alert('禁止右键点击~!') }} function CtrlKeyDown(){ if (event.ctrlKey) {alert('不当的拷贝将损害您的系统!') }} document.onkeydown=CtrlKeyDown; document.onselectstart=click; document.onmousedown=click1; </SCRIPT> 禁止复制代码(二) <script language="javascript" type="text/javascript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> </head> <body leftmargin=0 topmargin=0 onmousemove='HideMenu()' oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()"> <noscript><iframe src=*></iframe></noscript>