Advertisement
Kyfx

No Copy HTML Script Such as deface or web source of urs LOOL

Jun 27th, 2015
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. Alert Html
  2. <script>alert("Kyfx was here")</script><br />
  3.  
  4. No copy
  5.  
  6. <script>
  7. function click() {
  8. if (event.button==2||event.button==3) {
  9. oncontextmenu='return false';
  10. }
  11. }
  12. document.onmousedown=click
  13. document.oncontextmenu = new Function("return false;")
  14. </script>
  15.  
  16. block CTRL +
  17.  
  18. <script>
  19. /*function check(e)
  20. {
  21. alert(e.keyCode);
  22. }*/
  23. document.onkeydown = function(e) {
  24. if (e.ctrlKey && (e.keyCode === 67 || e.keyCode === 86 || e.keyCode === 85 || e.keyCode === 117)) {//Alt+c, Alt+v will also be disabled sadly.
  25. alert('Not copy Html');
  26. }
  27. return false;
  28. };
  29. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement