• Home
  • Flailing Wildly
  • Résumé
  • Design
  • Code
  • Wishlist
  • About Me

Flailing Wildly
Too much straw, not enough camel.

Kill “No Right Click” Scripts

by Ryan Parman • March 30, 2004 • Browsers, Software • 3 comments

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 entrepreneur, open source evangelist and passionate usability advocate currently living in Seattle. He is the founder and visionary behind SimplePie and CloudFusion, co-founder of WarpShare, member of the RSS Advisory Board, and creator of the AWS SDK for PHP. Ryan's aptly-named blog, Flailing Wildly, is where he writes about ideas longer than 140 characters.

« Bye, Bye, BuyMusic.com
Eternal Sunshine of the Spotless Mind »

Discussion

flump

March 31, 2004

that’s pretty good, there always little bugs around those things any way. Like some of them if you hold down the left mouse button, and right click the menu will come up. Others if they use pop-up messages, you just need to right click and click the popup message away then right click again (fast).

Nice to see a way to stop them all together though :)

 

Jonathan Stanley

April 1, 2004

Hmm, does beg the question why you are visitng a site that has masses of Javascript stupidity to “stop people stealing their code”.

I usually +F4 said sites before you can say “disable Javascript” anyway… But Mozilla exposing this as a configurable setting is pretty nifty though. :D

 

Ryan Parman

April 1, 2004

Yeah, I was pretty stoked to come across it. it was initially suggested to Alt+Click to disable no-right-click methods, but apparently they decided to implement it this way. I just wish it had a control panel option.

The nightly Firefox downloads (post-1.7b) have this feature as well.

 

Comments for this post are now closed.

Blog search

Archives
  • 2012 (4)
  • 2011 (27)
  • 2010 (9)
  • 2009 (7)
  • 2008 (12)
  • 2007 (8)
  • 2006 (18)
  • 2005 (57)
  • 2004 (104)
  • 2003 (103)
Categories
  • Apple (49)
  • Browsers (56)
  • Clueless Recruiters (5)
  • Code (58)
  • Community (1)
  • Creating Websites (31)
  • Culture (2)
  • Design (5)
  • Digital Media (6)
  • Family Life (12)
  • Just for Fun (26)
  • Law (1)
  • Life Lessons (2)
  • Music (5)
  • Notable Quotes (1)
  • Personal (34)
  • Political (14)
  • Projects (47)
  • Software (63)
  • Syndication (28)
  • Technology (81)
  • The Hiring Process (1)
  • Tutorials (8)
  • TV and Movies (16)
  • Video Games (5)
  • Website (62)
  • Work and Business (7)
  • Writing (4)
Socially-aware

Twitter • Facebook • YouTube • Yelp! • Flickr • Instagram • Zerply • LinkedIn • Last.fm • Spotify • Rdio • Pinboard • gdgt

Claim to fame
  • Amazon Web Services
  • WarpShare
  • CloudFusion
  • SimplePie
Legal mumbo-jumbo

All ideas, opinions and comments I post are my own and are in no way affiliated with anybody I work with. If you quote and/or reprint something I've written or said, please direct folks back to this site as a form of attribution. I promise I'll do the same for you. Unless otherwise noted, all content on this site is copyright © 1979–2011 Ryan Parman.

Powered by Rocket Sauce. A Ryan Parman production.