We updated a website at work this week, and a request of a collaborator of our client was that their photos be “protected” against theft and illegal copy. To them, this meant deactivating the contextual menu to prevent people from clicking on “Save image as…”
We argued that this would not prevent anybody from saving an image and, more importantly, that it would degrade the user experience, but our protestations fell unto deaf ears.
Here are seven ways to download the images you want, even if right click is disabled.
- Use Opera: Opera doesn’t honour the oncontextmenu directive, so your right clicks will happily give you the menu with the “Save image as…” option
- View source: “Use the source, Luke!” Find the image you want, it has to have a URL, paste it in the address bar, File => Save, bingo!
- Use Firebug: This is exactly like viewing the source, but it’s easier to find the URL of the particular image you’re interested in
- Save entire page: In the File menu of many browsers, there’s a “Save page as…” option, and you can select to save the entire page, not just the HTML. This will download all the media files used on that page, including the “protected” files!
- wget:
wget -r http://website.com. Nuff said. - Drag and drop: Open an image editing program, and just drag the “uncopiable” into the canvas. Optionally remove the watermark.
- Take a screenshot: Just press on PrintScreen, paste the image in any image editing program and get the image.
March 29, 2008 at 11:34 am |
I know it’s just an example, but you don’t ever want to recommend that anyone do wget -r http://example.com; they will wind up pulling most of the Internet.
More appropriate is wget -r -l2, which limits you to directly linked things only, excluding any links they may have. Alternatively, you could use wget -r -L to follow relative links only, keeping you on the example.com site, or (for an URL with a path) wget -r -np, which prevents you from ascending to the parent directory.
September 16, 2008 at 4:09 am |
fyi Disabling javascript works 9 times out of 10 easy.
February 20, 2009 at 5:43 pm |
how do u disable javascript? how do u get opera. where do u find the url and what is wget? i’m so confused. thanks a bunch!
May 10, 2009 at 11:03 pm |
I tried them all, but the last one worked awesome. Thanks!!!!
November 14, 2009 at 1:22 am |
oh my gosh! thanks a bunch!!!!!!