On 11/29/12 12:43 PM, Dan B. wrote:
> 
> Does SeaMonkey have any settings to both:
> 1) block the web page from disabling SeaMonkey's right-click context menu,
> 2) while still allowing the user to send a right-click event to the web
>     page (conveniently)?
> 
> I see the "Allow scripts to:" . "Disable or replace context menus" setting.
> 
> If there were also a "Send Right Click" command on the context menus for
> web page elements, then users could still effectively right click in a
> page (send right-click events to JavaScript in a page) but still make
> sure that no page could override the normal mapping of right-click to
> browser-supplied context menu.
> 
> How hard would that be to add?  (I'm asking both technically (any
> implementation trickiness?) and regarding convincing Mozilla
> developers/approvers.)
> 
> Thanks,
> Daniel

Not knowing anything about the internal code, I still can give an
educated guess.

If you have gone on the SeaMonkey menu bar to [Edit > Preferences >
Advanced > Scripts & Plugins] and unchecked the checkbox for "Allow
scripts to ... Disable or replace context menus", that would likely mean
that right-click  cannot trigger JavaScript.  There is no place on a
rendered Web page where right-click does not normally launch a context
menu.  Triggering JavaScript would override that.  Thus, I believe this
is an "either-or" situation.  Either a right-click launches a context
menu or else it triggers JavaScript, depending on the preference set by
the checkbox.

None of this applies to how hovering or left-click triggers JavaScript
or how JavaScript affects the initial rendering of a Web page, even when
the checkbox is unchecked.

-- 

David E. Ross
<http://www.rossde.com/>

Anyone who thinks government owns a monopoly on inefficient, obstructive
bureaucracy has obviously never worked for a large corporation.
© 1997 by David E. Ross
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to