网页禁止鼠标右键
禁止鼠标左右键代码/禁止网页选中/禁止另存为/防复制代码 <body oncontextmenu="return false" onselectstart="return false"> <noscript><iframe src="/*.html>";</iframe></noscript> <script> function stop(){ return false; } document.oncontextmenu=stop; </script> 禁止鼠标左右键 <script language=javascript> if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu(){ event.cancelBubble = true event.returnValue = false; return false; } function norightclick(e){ if (window.Event){ if (e.which == 2 || e.which == 3) return false; } else if (event.button == 2 || event.button == 3){ event.cancelBubble = true event.returnValue = false; return false; } } document.oncontextmenu = nocontextmenu; // for IE5+ document....