Disable/Prevent Copy Paste in a Page with Javascript

  1. < script type = "text/JavaScript" >  
  2. //how to prevent cut copy paste  
  3. function killCopy(e) {  
  4.     return false  
  5. }  
  6.   
  7. function reEnable() {  
  8.     return true  
  9. }  
  10. document.onselectstart = new Function("return false")  
  11. if (window.sidebar) {  
  12.     document.onmousedown = killCopy  
  13.     document.onclick = reEnable  
  14. } < /script>