How to Enable Right-Click on Websites Which Don’t Let You

While the majority of websites still allow for users to use the right-click functionality on their web pages, a small minority of sites which are in the business of banking, news publication or video streaming think that blocking the ability to right-click will stop content theft. Unfortunately, their implementation is not very creative and thus isn’t the most effective method to achieve that goal. It instead creates a frustrating experience for their users since disabling right-click will prevent users from accessing key shortcuts like Forward, Back, Search and Reload which saves a lot of mouse travel. So here’s how to definitively enable right-click on websites that block it.

RELATED: Open Mailto Links via Your Preferred Email Provider in Google Chrome

Enable Right-Clicking on Sites Where It is Disabled

There are two ways to get right-clicking to work. One is by using a line or code and the other is with the help of a Google Chrome extension.

#Use a Line of Javascript to Enable Right-Click on Websites

Step 1: Copy the following line of Javascript.

javascript:void(document.oncontextmenu=null);

When right-click is disabled

Step 2: Paste the line in the address bar of the appropriate site and hit enter. Right-click is enabled instantly and will work without having to refresh the web page.

Right-click working after adding a line of code

For frequently visited sites where right-clicking is blocked, create a bookmark with the above code. This will help initiate the script from the bookmarks bar and save a lot of time.

Create a bookmark using the code

#Use a Chrome Extension

Another method to enable right-click on websites is to use the Chrome extension RightToCopy since it automates the previous process without creating a bookmark and has some supplementary features which weren’t addressed previously. It addition to enabling right-click, the extension also allows the user to select text, copy text and also prevent scripts from copying text to the clipboard.

RELATED: Force Autosave On Any Website And Automatically Fill Forms Later

 

Did you find this article useful -

Filed under Google Chrome. Posted by Ambariish and last updated on June 26, 2017.

Leave a Comment:

Your email address will not be published. Required fields are marked *

*

Get Google Updates

Every Sunday, we send out "Google This Week" newsletter which covers all the latest and important updates from Google. First, we curate information from authentic and verified sources and then write the newsletter in an easy to understand format with images and summary for each update. View Sample ›

Join 9000+ subscribers following their favorite company in a simpler and easier way. Join Now ›