What is the code for disabling right click? (Part 2)
Author: admin / Category: SoftwareThere isn’t one that works in all browsers. Anything you put on the internets, is public. Unscrupulous nerds will always, always, easily be able to take anything you have for their own. Sorry for the bad news, but that’s the way it is. Every technique out there is easily circumvented, especially with Firefox (but it’s not the only one).
So, don’t put stuff you don’t want stolen on teh interwebs. For images, only display the small, jpg-artifacted, or watermarked version (if you need to show an image to potential clients for example). You keep the full, pretty version elsewhere– not even on the web hosting server but another machine.
I have a site where I have images that aren’t copyable with right-click (unintentional byproduct of a technique I am using) but they can still just go into the HTML source, find the names, and navigate directly to them.
It’s considered both rude and amateurish to disable right click. You’ll likely get a number of people saying you shouldn’t disable it, not even with Javascript. It’s like stealing someone’s Back button. Or stealing candy from their baby.
By definition ALL content must be UPLOADED TO THE USERS COMPUTER BEFORE it can be viewed in his browser.
Once the content is on his computer, you totally lose control over how that content is used. And once it is on his computer, he can find it and access it in numerous ways which you CANNOT PREVENT. All you can do it make it harder to access, but in the process you will chase away far more people you want on your site than people who will actually do something negative with the content you provided. Can you afford to lose THOUSANDS of customers for every bad egg out there?
The ONLY guaranteed way to keep people from copying content, is to NEVER PUT THE CONTENT ON THE INTERNET in the first place. Disabling right click and other tricks will just send your paying customers to your competitors that don’t cause them frustration.