Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
This event was a proposal in an early version of the specification. Do not rely on it.
The beforescriptexecute event is fired when a script is about to be executed. Cancelling the event prevents the script from executing.
| Bubbles | Yes |
|---|---|
| Cancelable | Yes |
| Interface | Event |
| Event handler property | None |
Specifications
Not part of any specification.
Browser compatibility
No compatibility data found. Please contribute data for "api.Element.beforescriptexecute_event" (depth: 1) to the MDN compatibility data repository.
See also
afterscriptexecuteevent