Don’t disable right-clicking

Disabling right-clicking to protect your images is an empty endeavor and always has been. No matter what you do, if you post photos on the web, they can be taken. But not only is it pointless to disable right-clicking, it’s actually bad for your users.

Why isn’t it helpful?

It doesn’t actually protect the images on your website

Right-clicking is only one of many ways to collect an image from a web page and save it to your own computer:

  • You could left-click and drag the image to your desktop, which instantly saves the image without ever right-clicking.
  • You could use the print screen key or other keyboard shortcuts (command + shift + 3 or 4 on a Mac) or browser plugins to copy a picture of your computer screen and then crop the image out of the screenshot.
  • Or you could go straight to the location of the image by putting the URL into your browser, free of any javascript restraints to keep you from getting the image you want. This is a slightly more advanced approached for some people, but its still very quick and easy to do.

Right Click No Right Click

You limit your visitors in other ways when you disable right-clicking

The context menu that appears when right-clicking is for more than just copying and pasting. Common tasks that rely on right-clicking include opening a link in a new tab/window, copying text, or sharing a link with a friend. You might frustrate someone enough to drive them away from your site or prevent physically handicapped users with special input devices from navigating their way