You may see this answer.
OR
Refering to this explanation you can choose where to get involved in the event-dispatching-process.
It states clearly 
In the browsers that support the W3C DOM, a traditional event registration
element1.onclick = doSomething2;
  is seen as a registration in the bubbling phase.
So you have to hook into the capturing phase:
element.addEventListener('click', function() {
    //do your stuff
},true);
This way your event is on top of other assigned click events.
But it is still a question, if the browser supports this kind of event handling.