Created
October 14, 2015 15:54
-
-
Save craig-ludington/b60501a1780a913fe129 to your computer and use it in GitHub Desktop.
These data are no longer on our web site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(document).ready(function() { | |
$(function() { | |
$('body').bind('cut copy', function(e) { | |
e.preventDefault(); | |
alert('You cannot ' + e.type + ' text!'); | |
}); | |
}); | |
$(function() { | |
$(this).bind("contextmenu", function(e) { | |
e.preventDefault(); | |
}); | |
}); | |
}); | |
</script> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment