I am creating a Firefox extension that pops up growl-like notifications. Currently I am popping them up relative to a status bar icon. This is fine unless there are other status bar extensions installed that would make my icon not the rightmost element. How would I go about positioning it so that the notifications always start at the bottom right?
Current Code:
container.openPopup(document.getElementById('notification-statusbar'), 'before_end', 0, -5, false, false);