Disable right click


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. window.addEvent('domready', function() {
  2. document.body.addEvent('contextmenu',function(e) {
  3. e.stop();
  4. });
  5. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.