POSTS FOR 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

Ryan Parman is an experienced software engineer, open source evangelist, and passionate user advocate currently living in Seattle. He is the creator of and , and worked on DevOps and Security at . He is now bringing learning into the digital age as an Engineering Lead and Site Reliability Engineer at . Ryan's aptly-named blog, , is where he writes about ideas longer than .