»
EnglishFrenchVietnamese

Print - No Right Click - JavaScriptBank.com

Full version: jsB@nk » Security » Mouse » No Right Click
URL: http://www.javascriptbank.com/no-right-click.html

No Right Click © JavaScriptBank.comThis JavaScript is the best for Web Page Security. It disables the browsers Right Click Menu giving your page a high level of security. No alert message is displayed.

Full version: jsB@nk » Security » Mouse » No Right Click
URL: http://www.javascriptbank.com/no-right-click.html



JavaScript
<SCRIPT language=JAVASCRIPT>//Copyright (c) 2001 Coyotee Labs Romania (www.coyoteelabs.go.ro)//This script can be used freely as long as all copyright messages are//intact. Visit WWW.COYOTEELABS.GO.RO for more scriptsvar oLastBtn=0;bIsMenu = false;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 !=1) return false; } else if (event.button !=1) { event.cancelBubble = true event.returnValue = false; return false; } } document.onmousedown = norightclick; document.oncontextmenu = nocontextmenu; </SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->