Can someone suggest me the Javascript cross-browser(should support IE 11 and new versions of Safari, Firefox, Chrome) equivalent for the JQuery's event.originalEvent property? I tried directly using event.originalEvent in my JS code, which is working perfectly fine on Chrome Browser, but not on Firefox.
I need this property to differentiate between an actual mouse click and programmatic click on an element, and I don't have the freedom to use JQuery.
EDIT: The answer here seems to be doing the trick. Thanks everyone for helping out.