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 1
Method 1 of 3:

Disabling "No Right Click" Temporarily

PDF download Download Article
  1. The normal right-click menu will open even if the site would normally block it.
  2. Advertisement
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
      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

      About This Article

      Thanks to all authors for creating a page that has been read 231,515 times.

      Is this article up to date?

      Advertisement