Cam
Administrator
[M:5000]
Posts: 6,381
|
Post by Cam on Sept 9, 2010 2:32:03 GMT
Code Title: Disable right clicks
Preview: Just when you right click it shows a alert message
Browser Support: All i believe
Description: Disables right-clicks
Code: <script language=JavaScript> <!-- var message="Sorry but right clicks are disabled."; function click(z) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (z.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </script>
Instructions: Change the red to your alert. Put in Global header. PLEASE NOTE YOU CAN GET PAST THIS EASLY AND DON'T TRUST IT TO STOP PEOPLE TAKING YOUR STUFF.
Support Contacts: Use support board.
Updates:
|
|