PDA

View Full Version : no right click or select



michael_s
02-20-2009, 06:00 AM
If a user right clicks on any page of the catalog, even on the product image popup, then he/she is presented
with a message box saying function disabled, this is very useful to stop people from easily saving/copying
your product images. Select is also disabled, preventing users from copying/pasting text/images from the site etc...

More... (http://addons.oscommerce.com/info/6564)

mithereal
02-26-2009, 12:15 PM
rather than making a popup everytime the user right clicks(which can be annoying and can be circumvented by the k/b) all that is needed is to add
<body oncontextmenu="return false;"> under the initial <body xxx> tag to /catalog/templates/fallback/main_page.tpl.php and the same to /catalog/templates/fallback/content/popup_image.php