I tried to pass extra arguments when triggering events, instead of using this way of bypassing events, so in the event handler I could check for the extra argument and skip the event or not, but extra arguments don't work when the event is blur and the element is focused (https://forum.jquery.com/topic/extra-arguments-passed-to-trigger-doesn-t-reach-blur-event-handler-when-element-has-focus)