Advertisement
DraKiNs

[COD] BlockCopy HTML

Jun 26th, 2011
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3.     var allDocument = document.getElementsByTagName("div");
  4.     for(curDocument in allDocument)
  5.     {
  6.         allDocument[curDocument].onselectstart=function() { return false; };
  7.         allDocument[curDocument].ondragstart=function() { return false; };
  8.         allDocument[curDocument].oncontextmenu=function() { return false; };
  9.     }  
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement