Re-enable Right-Click When Web Pages Disable it

Sometimes it is just irritating when a web site uses javascript to disable your right-click, attempting to block you to access the context menu. Tech-Recipes has a good tips on re-enabling the right-click context menu on this situation. You can a javascript to re-enable it:

When visiting the offending website, type the following into the URL bar of your browser:
javascript:void(document.oncontextmenu=null)

Re-Enable Right-Click When Web Pages Turn It Off – [Tech-Recipes]

  • Judith Elaine Bush

    Thanks for passing this on. It’s always seemed to be an absurd control as i can think of a dozen ways one could steal the content from such a page, but what i really want to do is use the “open in new tab” option of my browser.

  • scott reston

    er… that’s “tech recipes”, not receipts…

  • http://www.lifehack.org/ Leon

    @Scott: Thanks for spotting this. Updated!

  • http://www.tech-recipes.com Davak

    Thanks for the link to our recipe. I have followed you forever through your RSS feed. Love your site.

  • Pingback: Re-enable Right-Click When Web Pages Disable it at the Dogberry Patch

  • xD

    xD

  • http://forrestledbetter.com forrest

    I wrote a greasemonkey script to make this a little easier:

    http://forrestledbetter.com/2007/06/06/enable-right-click/

  • dadwhiskers

    This doesn’t work on this site, not does the holding rt-click thing:

    http://www.pakhomov.com/seals.html

  • Nishshanka Prabhath

    thanks it works, so the other problem is how to enable the cursor and text selection on web pages that disables it..  :)