Thursday, February 3, 2011

JavaScript that will disable Copy and Paste.

< !-- Disable Copy and Paste-- >
< script language='JavaScript1.2' >
function disableselect(e){
return false
function reEnable(){
return true
document.onselectstart=new Function ("return false")
if (window.sidebar){
< /script >Insert the code between the < head > and < /head > tag. However, there is no guarantee way to prevent your contents from being stolen.The JavaScript above can be easily bypassed by an experience internet user. E.g. If the browser's JavaScript is disabled, the code will not work.

Site Meter