JavaScript » Window » captureEvents

Syntax:
window.captureEvent(eventType)

This method instructs the window to capture all events of a particular type. See the event object for a list of event types.