Javascripts > Javascript Alerts > No-Right Click Script
Script Title: No-Right Click Script
Description: A very useful script for protecting copywrited images. Easy customization. For more of these useful DHTML Scripts,HTML Help, and JavaScript Tutorials, visit the HTML Domain at http://www.htmldomain.tk!
Example: Available
Credit: Script created by HTML Domain
Copy the following code into your HEAD tags.<script> //*NO RIGHT-CLICK SCRIPT BY HTML DOMAIN* //*http://www.htmldomain.tk* //*This credit MUST STAY INTACT for use* //Change the message to appear when visitor right-clicks var message = "MESSAGE GOES HERE"; //*DO NOT EDIT BELOW THIS LINE* function click() { if (event.button==2) { alert(message); }; }; </script>
Copy the following code into your BODY tag.onMousedown="click();"
Enter your name and email address to have this script sent right to your Inbox for later viewing. First Name Last Name Email