Back to Content

Element: afterscriptexecute event

files/en-us/web/api/element/afterscriptexecute_event/index.md

latest821 B
Original Source

{{APIRef}}{{Non-standard_header}}{{deprecated_header}}

[!WARNING] This event was a proposal in an early version of the specification. Do not rely on it.

The afterscriptexecute event is fired after a script has been executed.

It is a proprietary event specific to Gecko (Firefox).

This event is not cancelable.

Syntax

Use the event name in methods like {{domxref("EventTarget.addEventListener", "addEventListener()")}}, or set an event handler property.

js-nolint
addEventListener("afterscriptexecute", (event) => { })

onafterscriptexecute = (event) => { }

Event type

A generic {{domxref("Event")}}.

Specifications

Not part of any specification.

Browser compatibility

{{Compat}}

See also