jpc101

better a bread crust shared in love than a slab of prime rib served in hate 
« Back to blog

Using CSS to stop right-click image saving

You want to stop people casually stealing your nice images... ...you could use a bit of javascript to kill right-clicks but I think those are a BAD IDEA! They can really annoy a lot of users (especially people who use right-click based 'mouse gestures' when surfing) and are very easy to stop (by turning off js!). Instead, you can use some (relatively) simple css. Here are some ways of stopping image saving with right-clicks with css. Granted, they won't stop someone who really wants to get the images, but they're nicer than js!

Comments (0)

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    Connect    twitter