Element: afterscriptexecute event

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

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

توجه: 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 {{domxref("EventTarget/addEventListener", "addEventListener()")}}:

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

Alternatively, assign to the event handler property of the interface:

js-nolint
onafterscriptexecute = (event) => { }

Event type

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

Specifications

Not part of any specification.

Browser compatibility

{{Compat}}

See also

  • [beforescriptexecute](/en-US/docs/Web/API/Element/beforescriptexecute_event) event