Is there a way to catch each event triggered by block of code and stop its propagation?
Something like
stopAllEvent(function(){
// some code that could trigger some events
//...
});
and each event triggered inside the function must be "stopped"...
Exists a way to do this?