Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language

Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Javascript / Client Side Development

Reading Firefox about:config settings via Javascript

Hi all,
I've created a nifty context menu script that works great except for
one caveat: If the user has set his firefox configuration to disable
context menus,  via either Options->Content->Advanced or about:config-
>dom.event.contextmenu.enabled=false, then the browser's context menu

is displayed on top of my context menu.

I'd like to disable my context menu if that is the case, but I can't
find ANY way to read the settings in about:config via javascript! I've
found nice tutorials on how to do it as extensions to firefox, but its
out of scope... I just need to check if the user has this option set
to false in order to prevent my script from running....

The script is available at:  http://www.harelmalka.com?p=60
Demo is at:   http://www.harelmalka.com/rightcontext

Is there a way to do it?

Thanks in advance,
Harel Malka

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc