Created
April 16, 2014 18:31
-
-
Save fakiolinho/10917738 to your computer and use it in GitHub Desktop.
jQuery: Hide Code
This file contains hidden or 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 src="//code.jquery.com/jquery-1.11.0.min.js"></script> | |
<script> | |
$(document).ready(function(){ | |
$(document).bind("contextmenu", function(e){ | |
return false; | |
}); | |
$(document).on('keydown', function(e) { | |
if(e.keyCode == 123) return false; | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment