Have you ever encountered a situation where you want to copy an inspiring quote or inspect a particular element, but the right-click menu simply doesn’t work? This is where void document oncontextmenu=null works.
The internet world is growing at an exceptionally exponential rate, and many websites have great content. We sometimes want to save content for future use, but as soon as you try to right-click to save the content, you will see an error message stating “Sorry, this functionality has been disabled by the administrator.”
The error usually means that the site administrator or owner has disabled right-click option to protect their content from plagiarism and from users who try to steal their work. Re-writing the content is a tedious task, but what other options do we have? If you need to copy only certain parts of the content, then you can use a few workarounds to copy from right click disabled websites. One of the easiest ways that can be used is the void document oncontextmenu=null.
However, do not exploit these methods for unethical hacking purposes. Also, try to follow all the methods listed below, as what may work for one user might not work for another.
How to Enable Right Click on the Websites that have Disabled it
In Google Chrome
1. Click on the three vertical dots at the top right corner of your screen and choose the Settings option.
2. Find Privacy and Security and click on Site Settings.
In Mozilla Firefox