AssembleMe is an information science blog written by Julius Schorzman that frequently sways off-topic.

Julius is the CEO of the Google Ventures backed company DailyCred. DailyCred makes working with OAuth super duper simple.

To view some of my old projects, visit Shopobot or CodeCodex.

You can follow me on Twitter if you really want to @schorzman.

Contact Me
This form does not yet contain any fields.
    « Poverty in America | Main | Subway Map Fun »

    Leave My Context Menu Alone!

    INFO VISUALIZATION: Someone needs to make an extension for FireFox that ignores JavaScript that breaks the right-click menu (a.k.a. the context menu). Come now people, this doesn't keep anyone from saving images from your website. (As John Ashcroft might say, people still have P2P, or permission to pilfer.)

    Just today I was checking out Santiago Calatrava's images of the Athens Olympic Stadium and the new WTC Transit Center when I ran into this annoying little piece of code.

    document.oncontextmenu=new Function("return false")

    What a complete bummer it is to see this clumsy little technique spread from crappy Geocities "art" sites to architechture firms and giants like Amazon.

    UPDATE: Thanks to everyone who wrote in. I was using an older version of FireFox that didn't have the extra context menu protection, but I downloaded the new version and it works great! W00t!

    References (1)

    References allow you to track sources for this article, as well as articles that were written in response to this article.

    Reader Comments (6)

    What version are you using? That has been in firefox for a couple of point revisions. Click on Edit/Preferences then click on "Web Features" then in the box with java and javascript check boxes click on Advanced. Uncheck the "Disable or replace context menus" in the "allow javascript to" popup.

    There you go, no more crappy security through stupidity.

    -pillo out

    August 29, 2004 | Unregistered CommenterAnonymous

    No extension needed, just a knowledge of the preferences panel:

    Tools > Options > Web Features > Advanced (In the javascript box) > (deselect) Disable or replace context menus.

    August 31, 2004 | Unregistered CommenterAnonymous

    Thanks for the comments folks! I'm downloading the new version of FireFox right now.

    August 31, 2004 | Unregistered Commenterjuliuss

    Open the Firefox Options menu, select Web Features and press the Advanced button to the right of Enable Javascript, have fun.

    September 2, 2004 | Unregistered CommenterAnonymous

    Wow! Thanks Very Much!!

    February 24, 2008 | Unregistered Commenter민수

    <p>Hello ! everyone I am Taufik

    This is fact ,Firefox is the best browser but some features we dont know .

    Thanks for post solutions.

    PostPost a New Comment

    Enter your information below to add a new comment.

    My response is on my own website »
    Author Email (optional):
    Author URL (optional):
    Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>