Tips & Tricks Windows

What Is Void Document Oncontextmenu=null? Enable The Right Click

Void Document
Written by Kelly Houstan

The internet world is now growing at an exceptionally exponential rate, and a lot of websites have great content. We sometimes want to save content for future use, however, as soon as you try to right-click in order to save the content. You will see an error message that says “Sorry, this functionality has been disabled by the administrator.” The error mostly means that the site administrator or owner has disabled right-click option. In order to protect their content from plagiarism and from users who try to steal their work as well. Just read this article to know all about What Is Void Document Oncontextmenu=null? Enable The Right Click. Let’s start!

Re-writing the content is a really tedious task, however, what other options do we have? If you have to copy only certain parts of the content, then you guys can use a few workarounds in order to copy from right-click disabled websites.  One of the easiest ways that you can be used is the void document oncontextmenu=null. But, do not exploit these methods for unethical hacking purposes as well. Also, just try to follow all the methods below, as what may also work for one user might not work for another as well.

What Is Void Document Oncontextmenu=null? Enable The Right Click

Void document oncontextmenu=null is a really simple JavaScript piece that you guys can use to enable right tap on the websites that actually have blocked it. You guys can use it via following an effortless and easy step. First, just head to the website that has disabled the right-click. You have to type the following code in the URL bar (address bar) and click on enter:

javascript: void(document.oncontextmenu=null); 

This JavaScript code will also bypass the website’s alert, and then you guys can easily use the right-click menu. However, there is no guarantee that this method will work on each & every website. When the webmasters use different ways in order to disable right-click. Another drawback of this method is you guys need to paste the above code in the address bar. Each time you guys want to copy from the website.

Enable Right Click on the Websites that have Disabled it

Turn off the JavaScript to Enable the Right-Click Menu

Webmasters mostly use JavaScript codes to disable right-click on their websites. You can turn off the JavaScript altogether in order to access the right-click menu.

In Mozilla Firefox

You have to open a new tab, type ‘about: config’ in the address bar, and click on Enter. Just search for JavaScript in the search preference bar and click on Enter. Double-tap on the ‘javascript.enabled’ option in order to turn its status to false from true.

The downside of the method is that most websites use JavaScript in order to function properly. Turning off it might stop some of the web page elements and, in many cases, the whole website. So you guys should use this function along with caution. When you turn off the Javascript, reload the website, and then use the right-click function. Always enable the JavaScript back when you guys are finished with your work to make sure many other websites function properly.

In Google Chrome

  • Tap on the three vertical dots at the top right corner of your screen and then select the Settings option.
  • Just find Privacy and Security and tap on Site Settings.

Void Document

  • Head to Content Settings and find JavaScript. Tap on the toggle in order to disable it.

Save the Webpage to Enable the Right-Click Menu

This is also one of the many effective ways in order to work around the disabled right-tap on the menu. Just save the desired webpage as HTML, you guys can then open it and copy the contents as usual. Tap on Ctrl+ S on your keyboard and then save the webpage as well.

Try to Use Reader Mode | Void Document

This is actually a straightforward one-step process in order to use right-click on websites that have disabled it. For this purpose, press F9 in order to enable the Browser Reader Mode. And check if the right click works or not. Although it is not a guaranteed fix, however, it only takes a second to try!

Use the Source Code of the Page to Copy the Text you need

If you only want to use right-tap to copy the content, then there is another advantageous way. This is also a very convenient method, and you’ll find it really handy when you guys use it.

Head to the website from where you want to copy the content. Tap on Ctrl+ U together from your keyboard in order to open the source code of the website. The right-tap-on feature isn’t disabled for the source code. You can find the content and copy it from the source code as well.

Use Browser Extensions | Void Document

There are a lot of third-party browser extensions that you guys can use to turn on the right-click context menu on websites. For Google Chrome, the Absolute Enable Right Click & Copy extension is absolutely safe as well as reliable. It can also help you access the disabled right-click menu very easily. For Firefox, you guys can use the same extension Absolute Enable Right Click & Copy. If these are not available, then you guys can search for other extensions and try them as well. There are a lot of them available for free as well.

Use a Proxy Server to Copy Content from a Website

A proxy server permits you in order to browse securely and anonymously and can also be used to prevent the disabled right-tap on the menu.

There are a lot of proxy servers that you guys can use, such as Proxify as well as FilterByPass. Simply enter the website that you guys want the right-click function in order to work on the Proxy website. After doing this, you guys can surf and navigate the website anonymously which will help you dodge the right tap on warning. You guys may also have to uncheck the ‘Remove Scripts’ box in the proxy server to prevent running the website scripts. Uncheck the box in order to make sure the website runs smoothly.


Well, That is all from my side. If you want to know more about this article or have any queries. Then feel free to ask me anything in the comments section below.

Have a Good Day!

Also See: How To Change Your Date of Birth On Facebook

About the author

Kelly Houstan

Leave a Comment