Thanks to a post in Spatial Notes Blog I’ve finally found a cross-browser way to handle right click on an OL map, I’ve been using an homebrew solution only to discover how it did not work correctly in MSIE. The proposed solution involves a custom control subclass and the standard OL machinery, the MSIE oddities are handled internally by OL itself.