Download Article
Remove scripts that block you from right-clicking or selecting text
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."
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.
Advertisement
-
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.
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.Thanks
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 231,515 times.
Advertisement