Michel said:
Can I invoke the context menu from javascript so I can have it
disabled on 1 right-click, but show it on a double right-click or
vice-versa?
Unless you provide reasons I find valid I will not even try to suggest
how that could *possibly* be done in *some* user agents because not
supporting this course of action and eventually hiding the required
information from anyone who does not know it and reads this posting
hopefully makes the Web a better place to be.
So my answer is only that:
1. Double-clicking is a Bad Thing from an ergonomic perspective
as it is likely to support RSI (Repetitive Strain Injury).
It seems foolish to force users to right-double-click for a
normal function of their software that they are used to work
with one click (possibly on another mouse button, for example
the left one in Opera).
2. There are more way to access a context-sensitive menu than
clicking a mouse button, depending on the user agent and
the GUI/application framework. Your method is flawed if it
does not also cover these access points, and what they are
you cannot know.
3. Do not ever mess with the software of your users (unless you
are really really sure that you know what you are doing).
PointedEars