07-13-2024, 08:57 PM
As you can see, on our website if you are pressing right click it's gonna say "ha ha ha!!"
This one you can do it like this:
1. Copy following code:
Put it between <head> and </head>
Have fun
This one you can do it like this:
1. Copy following code:
Code:
<script type="text/javascript">
<!--
function no_right_click()
{
if (event.button==2)
window.alert('Ha, ha, ha!!!!');
}
document.onmousedown=no_right_click;
//-->
</script>
Put it between <head> and </head>
Have fun