Detect if event listener is supported
06:55 30 Dec 2010

Is it possible to detect if certain events are supported in certain browsers? I can detect if the browser supports document.addEventListener, but I need to know if it supports the event DOMAttrModified. Firefox and Opera support it, but Chrome and others do not.

javascript event-handling dom-events detection browser-detection