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.

eadlam

Member since
eadlam

Recent Docs Activity

View all activity
Page Date Comment

beforeunload


For the webkit/gecko example, I changed the argument "event" to "e" to match the (otherwise undeclared) variable "e". I Chose "e" over "event" because VIM (and possibly other editors) highlights "event" as a DOM object.