PDF download Download Article
Remove scripts that block you from right-clicking or selecting text
PDF download Download Article

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."
Method 2
Method 2 of 3:

Disabling "No Right Click" Permanently

PDF download Download Article
  1. 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.
  2. 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.
  3. It's at the top of the page. This displays all the advanced configuration options.
  4. 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.
  5. You may still receive a message about right-clicking not being allowed, but the right-click menu should appear after you close the message.
  6. Advertisement
Method 3
Method 3 of 3:

Using Firefox 2 or Earlier

PDF download Download Article
  1. It's in the menu bar at the top. If you are using Windows, click Tools. If you are using a Mac, click Firefox.
  2. If you are using Windows, click Options. If you are using a Mac, click Preferences.
  3. It's at the top of the Windows that appears.
  4. It's on the "Enable JavaScript" line.
  5. It's in the Advanced window that appears. This disables right-click scripts.
  6. Use Google to try to find a website that blocks right-clicking so that you can test this.
  7. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

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.
Advertisement

You Might Also Like

Copy Text That Cannot Be Copied Copy and Select Text on Websites that Don't Allow It
Enable JavaScript in Mozilla FirefoxEnable JavaScript in Mozilla Firefox
Right Click on a Mac4 Simple Ways to Right-Click on Mac Computer
Disable JavaScript Turn Off JavaScript on Chrome, Safari, Edge, and More
Right Click on a Mouse That Does Not Have Right Click Right-Click on a Mouse That Does Not Have Right Click
Enable Cookies in Firefox Enable or Disable Cookies in Mozilla Firefox
Allow Pop–upsAllow Pop–ups
Enable Java in FirefoxEnable Java in Firefox
Mouse Right Click Not Working Fix Your Mouse Right Click When It’s Not Working Properly
Enable Cookies and JavaScript Turn on Cookies and JavaScript: Quick & Easy Guide
Enable JavaScript on a Mac Enable JavaScript in a Browser on a Mac
Bypass Anti‐AdBlockers in Chrome Bypass Anti‐AdBlockers in Chrome: 8 Tricks That Work
Block Websites on Firefox6 Simple Ways to Block Websites on Mozilla Firefox
Enable Cookies in Your Internet Web BrowserEnable Cookies in Your Internet Web Browser
Advertisement

About This Article

Travis Boylls
Written by:
wikiHow Technology Writer
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 viewed 238,060 times.
How helpful is this?
Co-authors: 20
Updated: July 1, 2024
Views: 238,060
Categories: Featured Articles | Firefox
Thanks to all authors for creating a page that has been read 238,060 times.

Is this article up to date?

Advertisement