Document: afterscriptexecute event - Web APIs | MDN

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

js

addEventListener("afterscriptexecute", (event) => { })

onafterscriptexecute = (event) => { }

Event type

A generic Event.

Examples

js

function finished(e) {
  logMessage(`Finished script with ID: ${e.target.id}`);
}

document.addEventListener("afterscriptexecute", finished);
// or
document.onafterscriptexecute = finished;

View Live Example

Specifications

Not part of any specification.

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.