daily pastebin goal
51%
SHARE
TWEET

Disable Copy and Paste

handtevada Mar 1st, 2013 (edited) 1,466 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Disable Copy and Paste-->
  2. <script language='JavaScript1.2'>
  3. function disableselect(e){
  4. return false
  5. }
  6. function reEnable(){
  7. return true
  8. }
  9. document.onselectstart=new Function (&quot;return false&quot;)
  10. if (window.sidebar){
  11. document.onmousedown=disableselect
  12. document.onclick=reEnable
  13. }
  14. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top