Disabling the right click of the mouse (image protection)

In order not to allow website visitor(s) to click on the right button of the mouse:
  1. Open the index.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer directory of your CS-Cart installation.
  2. Replace the following line of the code:
    <body>

    with this one:
    <body oncontextmenu="return false">
  3. Save the file.
    NOTE: It cannot protect your images from copying because there are many other ways to copy your images from the site, if the images are shown there. For example, a website visitor can make a screenshot of your photo and get it in this way.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.