Add the following HTML to your website to stop people from right clicking on your website. This will only people from right clicking to save or copy information on your website; there are other ways to copy and save information from your website though.
You can change the alert message from 'Sorry no right clicking' to whatever you want. Just make sure that you don't change the formating of the parentheses and single quotes around the alert message.
function noRightClick() {
if (event.button==2) {
alert('Sorry no right clicking')
}
}
document.onmousedown=noRightClick
Published by Laura Munion
I am a freelance writer in Ohio. I specialize in writing about health and fitness topics. My areas of expertise are dental health, autism, and fitness. I have a Bachelor of Science in Electronics Engineering... View profile
Setting Up Your MySpace Profile: Simple Instructions No One Shows YouWhat virtually takes days for newbies can be transformed into hours or minutes depending on how well you follow directions and of course how well I explained them, lol.- How to Launch Command Prompt with Right ClickThis article discusses how to launch command prompt with a right click.
- The Mighty Mouse by Apple: Right Click with GleeThis is a quick discussion of my experience with Apple's new Mighty Mouse. Their first two-button mouse is pretty good for a first try, but needs a little work.
- Right-Click Disable Scripts
- Application Wizard - Your Entire Mac, Only a Click Away
- Use Concept Chaining to Increase Click-Through Revenue
- Email Scams: Six Email Messages You Do Not Want to Click
- QuickNote Firefox Plugin - Save Notes Quickly by Right Clicking
- How to Encrypt a Webpage So Nobody Can Copy Your Code
- "Setup Cannot Copy the File Staxmem.Dll" Error Message




1 Comments
Post a CommentWhere do you place this code- say in Blogger? I am scared to go pasting into my template!