Kill “No Right Click” Scripts

Browsers102 words1 minutes to read

I was being a nerd today, and was digging through the list of bugs for Mozilla 1.7b (and the latest Firefox). I came across this bug that I thought was very interesting. It allows you to kill scripts that attempt to block users from right-clicking on the page.

Quoted from the bug report:

Here’s the layman’s explanation:

  1. In the address bar, type about:config and press Enter
  2. Search for a Preference named dom.event.contextmenu.enabled
  3. Double click its entry and change it to false

Mozilla will now show the context menu even in pages that try to hide or replace it.

How cool is that?

Ryan Parman

Ryan Parman is an experienced Software/DevOps/Security engineer, currently living in Seattle. He is the creator of and , patented multifactor-authentication-as-a-service at , and came up with the idea of “serverless, event-driven, responsive functions in the cloud” while at AWS in 2010. Ryan's aptly-named blog, , is where he writes about ideas longer than . Ambivert. Curious. Not a coffee drinker.