»
EnglishFrenchVietnamese

Print - Disable Mouse Click - JavaScriptBank.com

Full version: jsB@nk » Security » Mouse » Disable Mouse Click
URL: https://www.javascriptbank.com/disable-mouse-click.html

Disable Mouse Click © JavaScriptBank.comThis JavaScript will disable mouse click ability of users.

Full version: jsB@nk » Security » Mouse » Disable Mouse Click
URL: https://www.javascriptbank.com/disable-mouse-click.html



JavaScript
<script language="Javascript" type="text/javascript"><!-- Hide code from older browsersif (document.layers) {document.captureEvents(Event.MOUSEDOWN)}document.onmousedown = captureMousedownfunction captureMousedown(evt) {if (evt) {mouseClick = evt.which}else {mouseClick = window.event.button}if (mouseClick==1 || mouseClick==2 || mouseClick==3) {alert("Menu Disabled")return false}}// Stop hiding code --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->