[Project_owners] browser/tabbrowser and context menu

Neil Deakin enndeakin at sympatico.ca
Thu Mar 18 09:47:08 EST 2004


Attila Szabó wrote:

>Hi 
>
>Please somebody tell me how and when exactly the context menu is created
>for a browser/tabbrowser element. My problem is the following:
>
>When I run my plugin from within a mozilla browser I got my right-click
>menu all right, but if I run it from outside, by then comand 
>
>mozilla -chrome chrome://mid/content 
>
>I have no context menu at all. I've been  searching  for a solution, but
>  found nothing. 
>
>Can I "inherit" the content menu? have I got to write my own one?
>
>  
>
The context menu in the browser in provided by an overlay 
chrome://communicator/content/contentAreaContextOverlay.xul

Firefox would have something similar. It would be expected that you 
create your own in many cases.

/ Neil



More information about the Project_owners mailing list