No, I had no idea it ignored that preference. I just tested it myself,
and yes it seems even if you deselect that config option in Firefox,
the contextmenu still displays. I haven't coded it in any way to
subvert this - it uses the fairly common and standard "contextmenu"
event to trigger the menu. It must be Mozilla's problem then, not
mine ;p. Does anyone know why this might be happening?

Also note that I state clearly on the website that this plugin may be
best suited for an intranet environment, ie one where you have more
control over both the end-user's expectations of what "right-click"
should do, and their browser configuration.


On Jul 16, 7:02 pm, pd <[EMAIL PROTECTED]> wrote:
> It appears this plugin can ignore the Firefox preference under Tools -> 
> Options -> Content -> Enable Javascript -> Advanced, Allow
>
> JavaScript to "Disable or replace context menus".
>
> Are you aware of this? Is this deliberate? Do you think that's a good
> idea to take the control away from the user?
>
> FWIW from a developer point of view I like the idea of having this
> much control at my disposal however there's always the possibility
> Mozilla might tighten up the code governing the above mentioned
> preference, rendering any site using this plugin compromised
> functionality wise, wouldn't it?
>
> >From a user's viewpoint, don't know it's a great idea. Nefarious
>
> websites could re-use your code to exploit people.
>
> I understand this is a grey area and I'm not having a go at anyone,
> just wondering about the topic.
>
> pd
>
> On Jul 16, 1:05 pm, cdomigan <[EMAIL PROTECTED]> wrote:
>
> > Version r2 of the ContextMenu plugin has been released.
>
> > ContextMenu is a lightweight jQuery plugin that lets you selectively
> > override the browser's right-click menu with a custom one of your own.
>
> > You can download it here:http://www.trendskitchens.co.nz/jquery/contextmenu/
>
> > ContextMenu is now truly context-sensitive, allowing you to enable/
> > disable individual items depending on the context, or you can choose
> > dynamically to hide the menu.
>
> > Changes in this version:
> >   *  $.contextMenu.defaults() now works correctly
> >   *  onContextMenu, onShowMenu callbacks added (thanks Dan G. Switzer,
> > II)
> >   *  drop shadow!
>
> > Plus a few other changes and bug-fixes. 
> > Seehttp://www.trendskitchens.co.nz/jquery/contextmenu/
> > for full changelog and documentation.
>
> > r3 is currently in the works with support for nested menus, a much
> > requested feature :)
>
> > As always comments/bug reports are much appreciated!
>
> > Cheers,
>
> > Chris

Reply via email to