There are cases where you don’t want users to copy your content or view source in your website. So to do this just add the below piece of javascript code in your website and its done. jQuery(document).ready(function($){ $(document).keydown(function(event) { var…