Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

beforescriptexecute

Our volunteers haven't translated this article into ไทย yet. Join us and help get the job done!

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.

General info

Specification
HTML 5.1 (removed)
Interface
Event
Bubbles
Yes
Cancelable
Yes
Target
defaultView, Document, Element
Default Action
None

Properties

Property Type Description
target Read only EventTarget The script tag whose content is about to be executed.
type Read only DOMString The type of event.
bubbles Read only Boolean Whether the event normally bubbles or not
cancelable Read only Boolean Whether the event is cancellable or not?

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support No support 4.0 (2.0) ? ? No support
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support No support 4.0 (2.0) ? ? No support

Related Events

Document Tags and Contributors

Tags: 
 Contributors to this page: Mems, jsx, xim, teoli, Sheppy, ethertank, louisremi
 Last updated by: Mems,