[Project_owners] Display right-click context menu programmatically

eric.jung at yahoo.com eric.jung at yahoo.com
Mon Jul 9 06:58:05 PDT 2007


>>The internal popup code does all sorts of other stuff before actually 

calling showPopup. In particular, it sets document.popupNode, 
document.popupRangeParent and document.popupRangeOffset, of which the 
latter two are apparently needed for spellchecking. Although you can set 
document.popupNode through script the other two are readonly so you 
appear to be out of luck.<<



How about simulating a right-click mousedown/up event?
http://developer.mozilla.org/en/docs/Code_snippets:Miscellaneous#Simulating_mouse_and_key_Events


Eric Jung
FoxyProxy extension author
PasswordMaker extension author
mozdev board 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070709/f98cafc4/attachment-0001.html 


More information about the Project_owners mailing list