Re-Enable Right-Click When Websites Turn It Off

Right click disable

People are nuts about protecting their web site from unauthorized copying. One of the most frequently used ways to preventing copying is to use javascript to disable the ability to right-click.

Of course, we can use javascript to turn it back on.

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

This example works against this page for example:
www.users.totalise.co.uk/~bigoleg/javascript/javascript_disable_right_click.html

If a dialog box opens whenever you right-click, could can often get around it by the following sequence:
Hold the right mouse button, hit enter to close the dialog box, and then release the right mouse button.

This example works against the following web site, for example:
www.cof.orst.edu/net/software/web/html/disable_rtclick.htm

 

Source: tech-recipes

1 comment

Add your comment

Your email address will not be published.