This tutorial will help you if you arrive at a website, find something you like and want to copy, and then right-click. Many websites have made it a point to prevent right-clicking on their pages in order to stop copying or theft.
There are several ways around the inability to right-click on web pages. Although I don’t condone copyright theft, or copying entire pages, I support the possibility of taking quotes, code, or other snippets of pages for your own purposes. It is a great help to save troubleshooting steps from other sources. However, not everyone is as educated as I am.
How to allow right click on blocked websites
You can copy and paste ‘void documentoncontextmenu null’ to a webpage if you are landed on it. Now you should be able to right-click as normal to do what you need. This is a must-have for every copy you make, but it works great on many pages.
This is not a universal method as website owners can use a variety of methods to prevent right-clicking. Try these other methods if that fails.
Save this page
The best way to get around the right-click block is by saving the entire page as HTML. Then, I can open the page in the browser and right-click, copy, and paste it. This is especially useful when I have multiple pieces or quotes of code. Although this works in most browsers, Edge users may need to save the page to HTML to ensure it runs properly. It worked for me, and it may work for you.
- Type ‘about’ in a new tab.
- Click the three-dot icon at the top of the screen and choose Settings.
- Choose Advanced and Content Settings in Privacy and Security.
Use a browser plug-in
I use Firefox Quantum. Over a thousand results were returned for the ‘right click’ keyword. While some of the results are not relevant, I found the best plugins that were exactly what I needed. No matter what browser you use, you should find the exact same plugins.
Go to the source
You may find it easier to see the source code if you are only going to need to copy something from pages. Although adding “void document oncontextmenu NULL” to the URL bar takes less effort, it is not always convenient to have the code available. It’s worth remembering Ctrl+U.
Right-click on the page that you wish to open and hit Ctrl+ U. The source code will be displayed in a new tab. To search the source code of the text, you can use Ctrl+ F to locate it. The text should now be easy to copy. Ctrl + U or Ctrl + F should work with all modern browsers.
You should not use the ability to right-click and copy text from web pages. Use it sparingly and only when absolutely necessary. It takes a lot of effort and time to create content that you will enjoy. Please copy responsibly.