This article was co-authored by wikiHow staff writer, Travis Boylls. Travis has been a tech writer at wikiHow for more than 10 years. He has also worked in technical support for Dish Network and AT&T Wireless. He studied graphic design and web design at Pikes Peak Community College. He specializes in Windows, macOS, Linux, Android, iOS, and video game consoles. Travis has had a fascination with computers and technology that goes all the way back to childhood. He is proficient in all manner of software and computer operating systems.
This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources.
This article has been viewed 237,720 times.
Learn more...
Have you ever gone to a website where you try to right-click only to find it doesn't work? There is good news! If you use Mozilla Firefox, you can tell your browser not to obey the website and display it anyway. This wikiHow article teaches you how to disable "No right-click" scripts in Firefox.
How to Disable "No Right-Click" Scripts in Firefox
- Hold Shift and right-click to temporarily disable a right-click scripts in Firefox. This will display the normal right-click menu.
- Enter "about:config" in the address bar and locate the "dom.event.contextmenu.enabled" setting. Set it to "False" to permanently disable right-click scripts.
- On Firefox 2 and below, go to Tools > Options > Content. Click Advanced next to "Enable JavaScript." Uncheck "Disable or replace context menus."
Steps
-
Open the Configuration page. This option is no longer available in the Options menu. Instead, you will need to open the Firefox Configuration page. To do so, type about:config in the address bar and press Enter.
-
Click Accept the Risk and Continue. You will need to confirm that you understand that changing the advanced configuration preferences could result in Firefox not working properly. Click Accept the Risk and Continue on the first page.
-
Click Show all. It's at the top of the page. This displays all the advanced configuration options.
-
Find the control. To do so, type context into the search bar at the top of the page. Find the preference name listed as "dom.event.contextmenu.enabled" and double-click to toggle it to "false". This disables right-click scripts.
-
Try right-clicking on a site that you couldn't before. You may still receive a message about right-clicking not being allowed, but the right-click menu should appear after you close the message.
-
Click on the Tools or Firefox menu. It's in the menu bar at the top. If you are using Windows, click Tools. If you are using a Mac, click Firefox.
-
Click Options or Preferences in the menu. If you are using Windows, click Options. If you are using a Mac, click Preferences.
-
Click Content. It's at the top of the Windows that appears.
-
Click the Advanced button. It's on the "Enable JavaScript" line.
-
Uncheck "Disable or replace context menus." It's in the Advanced window that appears. This disables right-click scripts.
-
Search Google for "no right-click script" to test this. Use Google to try to find a website that blocks right-clicking so that you can test this.
Expert Q&A
Tips
Warnings
- Some web apps use context menus and rely on scripts like this to not have the browser context menu appear and have theirs appear instead. In this case, you will probably want to reenable right-click scripts.Thanks