Disable Right Click on Pictures?

Hi there, I run an adult site, where people entrust me with their most personal and private pictures, Is there any way I could disable the right click function on pictures so that others can't steal their photos?

Regards

Richard

Quote · 10 Sep 2008

There is right click code all over the internet but WHERE you would put it would be the big issue  .....  unless someone knows.

It will not comepletly stop it however just only 'deter' it  .....  if they want it they can get it.
.

Quote · 10 Sep 2008

Indeed, However, to placate my members I would like to be seen as trying to "deter" people taking their pics off the site  :)

 

Regards

Richard

Quote · 10 Sep 2008

Add the following code to the very top of /templates/tmpl_uni/_header.html  .....  v6.1.4  ..... 

<SCRIPT language="JavaScript">
<!--
//Disable right click script
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</SCRIPT>

Quote · 10 Sep 2008

thanks a million !!

Regards

Richard

Quote · 10 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.