Prevent Users From Right Clicking Images


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

Can be applied to any element, but is most relevent when applied to an image.


Copy this code and paste it in your HTML
  1. <img src="imageurl.jpg" alt="" oncontextmenu="return false;" />

URL: http://www.imben.co.uk

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.