Created
August 2, 2023 01:13
-
-
Save bulbul84/37a5e337ba6fcede185a479738a4c7a5 to your computer and use it in GitHub Desktop.
Disable cut, copy content from website
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
$(document).ready(function() { | |
$('body').bind('cut copy', function(e) { | |
e.preventDefault(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment