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, 2 total Votes
Categories: javascript web security
Added: on Jul 19, 2008 at 6:37 am
Added By: an anonymous user

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

Reveal passwords on web forms

Categories: web security hack black hat
100% positive, 0 comments
– Tip added by an anonymous user on Dec 17, 2007 at 1:23 pm

Telling when an iframe is done loading

100% positive, 0 comments
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am

Protect links from prying eyes

Categories: email security web linking
66% positive, 0 comments
– Tip added by crkr on Sep 27, 2007 at 7:39 am

Free signed SSL certificates

Categories: security web SSL free
100% positive, 0 comments
– Tip added by an anonymous user 6 days, 11 hours ago

Viewing CSS and Javascript files

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

Optional parameters in javascript functions

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

Detecting if a variable exists in Javascript

100% positive, 0 comments
– Tip added by an anonymous user on Jul 22, 2008 at 8:31 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

Watermarking digital photos

100% positive, 0 comments
– Tip added by an anonymous user on Dec 31, 2007 at 9:19 am

Wrap web text to any shape

100% positive, 0 comments
– Tip added by an anonymous user on Dec 16, 2007 at 10:35 am

Saving and Viewing saved passwords in Internet Explorer

100% positive, 0 comments
– Tip added by an anonymous user on Dec 13, 2007 at 7:20 am

Javascript variable naming

100% positive, 1 comment - last added on Jul 22, 2008 at 8:33 am
– Tip added by an anonymous user on Sep 30, 2007 at 7:28 am

Declaring variables in Javascript

Categories: javascript web
100% positive, 1 comment - last added on Aug 17, 2007 at 8:08 am
– Tip added by an anonymous user on Aug 16, 2007 at 9:54 am

Use encrypted connections for Google service

Categories: google security web
100% positive, 0 comments
– Tip added by an anonymous user on Aug 10, 2007 at 9:33 pm

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

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

Don't use onChange events for checkboxes

Categories: HTML DOM javascript web
no ratings, 0 comments
– Tip added by an anonymous user on Oct 01, 2007 at 4:01 pm

Code for creating Javascript CSS charts

no ratings, 0 comments
– Tip added by an anonymous user on Aug 21, 2007 at 12:23 pm