web api event
Element: beforescriptexecute event
[!WARNING] 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.
It is a proprietary event specific to Gecko (Firefox).
Syntax
Use the event name in methods like addEventListener(), or set an event handler property.
addEventListener("beforescriptexecute", (event) => { })
onbeforescriptexecute = (event) => { }
Event type
A generic Event.
Specifications
Not part of any specification.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
afterscriptexecuteevent