If you’ve spent any amount of time online, you’ve already run into a website that uses javascript to disable the right-click menu on the page… which can be really, really irritating for those of us that like to use the “back” feature on the context menu.

Why do they do this? Usually it’s a misguided attempt to keep people from viewing the source of their pages or stealing their images, but all they really do is end up annoying their readers into never coming back. Ever.

Hint: it doesn’t really stop anybody from stealing. It’s the tech equivalent of searching 85-year old grandmothers on airplanes for knitting needles. If you do it on your pages, stop it now.

Disabling Annoying Context Menu Javascript Nonsense

Open up the Tools \ Options panel, and then go to the Content “tab” on the top. You’ll see three buttons on the right-hand side, choose the one that says “Advanced”.

Firefox Options Window 

From this dialog you can uncheck the option for “Disable or replace context menus”. Note: If you also want to prevent websites from resizing your browser window, you can uncheck “Move or resize existing windows” while you are at it.

Firefox Advanced Javascript Settings

And now your context menu will work perfectly fine on the page.

Firefox Context Menu 

It should be noted that disabling this setting will prevent customized context menus from working on sites like Google Docs… so it’s a toss-up on which feature you like more.

Profile Photo for Lowell Heddings Lowell Heddings
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work.
Read Full Bio »