How to avoid/disable mouse right click on my page
Use below code this will helpful for you
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script> $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); </script> </head> <body> <p>Right click is disabled on this page.</p> </body> </html>
No comments:
Post a Comment