Blog Archives

Javascript : How To Disable Right Click On Your Website


There are cases where you don’t want mouse right click to work 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.oncontextmenu = function() {return false;}; $(document).mousedown(function(e){

Tagged with: ,
Posted in Javascript
Follow me on Twitter

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 443 other followers