Do Not Disable Right Click On Your Website With JavaScript
I'm just going to list some reasons why it's a bad idea to disable right clicking on your website with JavaScript.
- Any user can simply disable JavaScript, then view source, copy, etc, etc, without any trouble.
- With tools such as NoScript and Greasemonkey, users can disable your code automatically.
- It's another reason for your users to remember "oh yeah that's why I hate you".
- It's a waste of your time, and all of your users' time.
- It's extra data that has to be downloaded, wasting electricity and time.
So please do not listen to people that suggest doing this, it's a bad idea.

@erikvold