已废弃 Gecko 24 (Firefox 24 / Thunderbird 24 / SeaMonkey 2.21)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
Releases the window from trapping events of a specific type.
This method had been considered deprecated since Gecko 1.9 (Firefox 3) in favor of W3C DOM Events methods (see
removeEventListener). The support for this method has been removed from Gecko 24 (Firefox 24).
eventType is a combination of the following values:
Note that you can pass a list of events to this method using the following syntax:
window.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP).
window.captureEvents ( ).