Don't let the user use right click on mouse
Page 1 of 1
Don't let the user use right click on mouse
- Code:
<!-- This Script is from www.freecodescript.com, Coded by: Krishna Eydatoula, Mahmood Bina-->
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
</script>
<br><font face="Tahoma"><a target="_blank" href="http://www.freecodescript.com/"><span style="font-size: 8pt; text-decoration: none">Free Code Script</span></a></font>
Similar topics
» Online user
» Message to user by clicking a button
» Lock right click
» Two lines around the mouse cursor
» Firelights after the mouse awesome code
» Message to user by clicking a button
» Lock right click
» Two lines around the mouse cursor
» Firelights after the mouse awesome code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum