# How open page context menu from Firefox Addon when mouseup in Linux?

**URL:** <https://discourse.mozilla.org/t/how-open-page-context-menu-from-firefox-addon-when-mouseup-in-linux/8281>\
**Category:** Add-on Support\
**Created:** [April 24, 2016, 11:30am UTC](https://discourse.mozilla.org/t/how-open-page-context-menu-from-firefox-addon-when-mouseup-in-linux/8281 "2016-04-24T11:30:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![look997](https://avatars.discourse-cdn.com/v4/letter/l/2acd7d/32.png) [@look997](https://discourse.mozilla.org/u/look997)\
**Post date:** [April 24, 2016, 11:30am UTC](https://discourse.mozilla.org/t/how-open-page-context-menu-from-firefox-addon-when-mouseup-in-linux/8281/1 "2016-04-24T11:30:48Z")

</div>

How open page context menu from Firefox Addon when mouseup in Linux?

This show not working contextmenu:

function mouseUp () {  
event.target.ownerDocument.querySelector("#contentareacontextmenu").openPopupAtScreen(event.screenX, event.screenY, true);  
}  
var content = window.document.getElementById(“content”);

content.addEventListener(“mouseup”, mouseUp, true);
