Event.explicitOriginalTarget is a read-only Mozilla property that returns the non-anonymous originalEventTarget of the event (or null). (MDN: also noted as available in Web Workers where the engine supports it.)
Read the notes below before you rely on this property. Prefer feature detection when support is limited.
Syntax
Use event.explicitOriginalTarget. Start with this line.
JavaScript
event.explicitOriginalTarget
Call
What it does
event.explicitOriginalTarget
Primary signature.
Built into the browser. Read event.explicitOriginalTarget on an Event instance — no import required.
Library declarations
JavaScript
event.explicitOriginalTarget
Parameters
Parameter
Description
Feature detect
Required. Property may be missing
Return Value
Return Value
Description
*
The current value of event.explicitOriginalTarget.
JavaScript Examples
Example 1 — Feature-Detect Support
Check whether this browser exposes the property before reading it.
JavaScript
button.addEventListener("click", (event) => {
if ("explicitOriginalTarget" in event) {
console.log("supported");
console.log(event.explicitOriginalTarget.nodeName);
} else {
console.log("not available — use event.target");
console.log(event.target.nodeName);
}
});
Click the letters. The deepest node can be a text node.
Standard target. Engines often report the parent <p>.
Firefox original. When supported, EOT may still be #text.
Learning goal. Understand retargeting — still prefer event.target in apps.
Compatibility
Browser Support
Event.explicitOriginalTarget is marked Non-standard on MDN. It is a Mozilla-specific property (mainly Firefox / Gecko), not part of a web specification.
✓ Non-standard · Firefox
Event.explicitOriginalTarget
Read-only non-anonymous original EventTarget. Expect support primarily in Firefox; feature-detect everywhere else.
LimitedFirefox-focused
Mozilla FirefoxSupported · Gecko
Supported
Google ChromeNot available
No support
Apple SafariNot available
No support
Microsoft EdgeNot available
No support
OperaNot available
No support
Internet ExplorerNot a portable API
No support
explicitOriginalTargetNon-standard
Bottom line: Use for Firefox learning and legacy Gecko code only. Portable apps should rely on event.target (and composedPath() when you need the path).
Frequently Asked Questions
It is a read-only, Mozilla-specific Event property that returns the non-anonymous original EventTarget of the event (or null). MDN marks it Non-standard.
MDN marks it Non-standard only—not Deprecated or Experimental. It is not part of any web specification and is not on track to become a standard. Prefer event.target for portable code.
In Firefox, some events (for example mouse events over text nodes) are retargeted to a parent element. event.target often shows that parent, while explicitOriginalTarget can still point at the original text node.
Both are Mozilla-specific. MDN says explicitOriginalTarget never contains anonymous content, while originalTarget may. Neither should be used in cross-browser production apps.
Primarily Firefox (Gecko). Chrome, Safari, and Edge generally do not expose it. Always feature-detect before reading.
For portable apps use event.target (and event.currentTarget when you need the listener host). For path inspection, consider event.composedPath() where available.