HOME  → POSTS  → 2004

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

is an engineering manager with over 20 years of experience across software development, site reliability engineering, and security. He is the creator of SimplePie and AWS SDK for PHP, patented multifactor-authentication-as-a-service at WePay, defined much of the CI/CD and SRE disciplines at McGraw-Hill Education, and came up with the idea of “serverless, event-driven, responsive functions in the cloud” while at Amazon Web Services in 2010. Ryan's aptly-named blog, , is where he writes about ideas longer than . Ambivert. Curious. Not a coffee drinker.