Prevent Copying Text

Last post 08-15-2007, 11:08 PM by selliott. 0 replies.
Sort Posts: Previous Next
  •  08-15-2007, 11:08 PM 32523

    Prevent Copying Text

    I've read that this javascript should help prevent most users from being able to copy text, by disabling the option of highlighting text...but where would I put it?
     
    document.onselectstart=new Function('return false');
    function dMDown(e) {return false;}
    function dOClick() {return true;}
    document.onmousedown=dMDown;
    document.onclick=dOClick;
     
    Also, if you know where I could put it in Community Server, to prevent users from highlighting text in the forums, that would be great too.
View as RSS news feed in XML