In one of our previous posts, we have seen how to save images to your PC, when right-click is disabled. Now let us take a look at how to enable right click on websites that have disabled it, and copy text from the web page.
While browsing, we often come across useful information on random websites, but when we want to note it down, our efforts go in vain when we see a window saying “Sorry, this functionality has been disabled by the administrator” because the right-click option has been disabled by the site administrator. If the information is a how-to guide, it could be a lifesaver for us at times. Jotting it down or paraphrasing it again is a laborious activity. One option would be to save the entire web page for offline reading. But if you need to copy only parts of the text, then these options may make more sense.
How to enable right click on websites
Let us take a look at some of the ways to re-enable right-clicking on websites and copy from right-click disabled websites or blogs that have turned it off on their web pages via browser settings or by using third-party tools.
- Using Reader Mode
- Using a Code method
- Disabling JavaScript from Settings
- Other methods
- Using Web Proxy
- Using Browser Extensions.
Essentially, the code that disables this feature and displays the window when you try to right-click on a web page is written in JavaScript. But some ways are using which we can bypass it.
1] Using Reader Mode
Use the Browser Reader Mode (F9) and then see if right-click works.
2] Using a Code method
In this method, all you need to do is remember the below string, or write it down at someplace safe:
javascript:void(document.oncontextmenu=null);
From now on, whenever you come across a web page, in which the right-click option has been disabled, just copy the above code, paste it in the browser address bar and hit enter. That’s it!
You can now access the right-click context menu options on the fly. However, the downside is that you need to use it every time you want to access the right-click menu.
3] Disabling JavaScript from Settings
You can disable JavaScript and prevent the script running which disables right-click features. This post will show you how to disable JavaScript in your browser.
Once you have disabled JavaScript, come back to the web page and then reload it. Boom! You will be able to access the right-click menu like a champ. However, the drawback of this method is that you are completely turning off JavaScript, which means it wouldn’t run any JavaScript codes at all, restricting the other functionalities of the web page. So, once you are done copying, you need to re-enable JavaScript in your web browser again.
4] Other methods
If your intention is just to copy text from a web page, you can do it easily by looking into the source code. Hit Ctrl+U, find the required text, and then copy.
The other way is to save the web page to your computer, using Ctrl+S shortcut, double-click to open it, and then copy the necessary text area.
If you aren’t that into checking your browser’s internals, there are always other ways to avoid this.
5] Using Web Proxy
Simply put, a web proxy is something that sits between you and the Internet and lets you browse websites anonymously by hiding your details such as IP address. You can go to a site that offers web proxy, such as hide.me or filterbypass, and enter the URL of the web page where the right-click option has been disabled. Check the Remove Scripts option which prevents the site from running any scripts.
6] Using Browser Extensions
If you can’t find comfort in any of the above methods, you can always seek help from the web store. Just install the extension in the browser that does the job without giving you any headache. There are many extensions available for this purpose. You can check out RightToCopy for Chrome or RightToClick for Firefox.
NOTE: Always respect Copyrights. Many times, websites disable the right-click option, because of copyright issues as they do not want their content to be noted down. If the text you are handling has copyright issues, you need to be careful while reproducing it. Nothing illegal has been suggested here – only workarounds using your own browser and third-party tool which are available on the official Google & Mozilla websites.