why disabling right click is pointless

May 8, 2008

A few people out there think that if they add some simple JavaScript to disable right clicking, their code will be safe. For those of you wondering, yes, this can be done. And yes, it is totally pointless.

Here is a link to the script:

Web developers dream of the day when there (client-side) code would be completely invisible to visitors. Why, you might ask? Because, it takes time to develop sweet scripts to make a website functional; who wants some script kiddie stealing borrowing there precious scripts. Not only that, Mac users could care less about right clicking, they only have a single click!

Normally by right-clicking (in Windows) on a web page, you have access to such great features like: properties, view page info, exporting options (depending on your browser), and the infamous view page source. The thing is, you could also view a page’s source (and other exciting options) by clicking on your browsers tool bar and finding the same option. And if you think that you might be protecting your images by disabling this function, just remember that there is a little thing called cache.

With this in mind, why would someone want to disable right clicking? Is there any functional reason that someone would do so? Please, someone tell my why you would want to do this, I just don’t get it.


One comment

  1. […] this can be done. And yes, it is totally pointless. Here is a link to the script: http://javascrhttps://funbytebitstop.wordpress.com/2008/05/08/why-disabling-right-click-is-pointless/Hundreds of Thousands of Microsoft Web Servers Hacked Washington PostHundreds of thousands of Web […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: