Tip Details Add a Related Tip

Rate as: Positive Negative

Enabling right click on web pages

Some web site owners try to protect the content on their site by disabling the right-click on the mouse button so you do not get the contextual menu to save images or look at page contents. While stealing images is not cool, neither is messing with my usual browser controls. If you run into this problem, there are a lot of ways around it. But here's one simple way. When you are on a site with the right-click disabled, copy the following text into the address bar of your browser and hit the Enter key:

javascript:void(document.oncontextmenu=null)

Once you do that, the right-click functionality of your browser should be restored.
Rating: 100% positive, 3 total Votes
Categories: javascript web security
Added: on Jul 19, 2008 at 6:37 am
Added By: an anonymous user
Searches: web security javascript site page

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

detecting if a user is logged into Twitter

no ratings, 0 comments
– Tip added by an anonymous user on Jan 07, 2009 at 1:08 pm

Detecting if a variable exists in Javascript

100% positive, 2 comments - last added on Oct 21, 2009 at 2:29 pm
– Tip added by an anonymous user on Jul 22, 2008 at 8:31 am

Telling when an iframe is done loading

85% positive, 3 comments - last added on May 16, 2009 at 7:48 am
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am

Length of associative arrays in Javascript

100% positive, 0 comments
– Tip added by an anonymous user on Nov 04, 2008 at 10:13 am

Free signed SSL certificates

Categories: security web SSL free
100% positive, 0 comments
– Tip added by an anonymous user on Aug 23, 2008 at 2:38 pm

reading select element values in javascript in IE7

100% positive, 0 comments
– Tip added by an anonymous user on Jul 17, 2009 at 1:28 pm

Optional parameters in javascript functions

100% positive, 0 comments
– Tip added by an anonymous user on Jul 30, 2008 at 10:44 am

Getting pages to render correctly in IE8

Categories: IE8 web css javascript HTML
100% positive, 0 comments
– Tip added by an anonymous user on Jul 23, 2009 at 10:13 pm

Keep websites from disabling right-click menus

100% positive, 0 comments
– Tip added by an anonymous user on Jan 20, 2009 at 8:08 am

Checking for undefined variables in Javascript

100% positive, 1 comment - last added on Jul 14, 2009 at 5:13 pm
– Tip added by an anonymous user on Jan 14, 2009 at 9:47 am

Copying text from web pages that block copying

100% positive, 0 comments
– Tip added by an anonymous user on Dec 02, 2008 at 12:43 pm

Find the location of a tiny url

Categories: web URL security
100% positive, 0 comments
– Tip added by an anonymous user on Sep 18, 2008 at 11:15 am

Viewing CSS and Javascript files

100% positive, 0 comments
– Tip added by an anonymous user on Aug 20, 2008 at 7:27 am

Encrypting messages

100% positive, 0 comments
– Tip added by an anonymous user on Jul 20, 2008 at 11:31 am

compressing javascript

100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 3:02 pm

Surfing the web anonymously

Categories: security web anonymous
100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 8:03 am

How to impress the judges of 2009 Calling All Innovators Contest

no ratings, 0 comments
– Tip added by alvinmood on Jun 12, 2009 at 6:05 am

Ignoring secondary security questions on websites

Categories: web security
no ratings, 0 comments
– Tip added by an anonymous user on Mar 03, 2009 at 9:11 am

attaching events to nodes in Javascript

no ratings, 0 comments
– Tip added by an anonymous user on Aug 18, 2008 at 11:23 am

animating elements with jQuery

0% positive, 0 comments
– Tip added by an anonymous user on Aug 04, 2008 at 1:46 pm