Tag : Disable Right click on Browser using JQuery

Home » Posts tagged Disable Right click on Browser using JQuery"

Disable Right click on Browser using JQuery <html> <head> <title></title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function () { $(document).bind("contextmenu", function (e) { alert('Right click is disabled'); e.preventDefault(); //or return false; // }); }); </script> </head> <body> </body> </html> ..

Read more