This is my first post of a type: "question", so bare with me...
I need to obtain a list of supported events on an encountered browser version programmatically, ie, via script.
Since Explorer exposes its events on document object I can do something as simple as this:
;for(x in document)if(/^on/.test(x))alert(x);
(!warning: long list ahead..., you can use the
..and simply store them on some appropriate object for latter use in my program flow.
Is there a sort of hack or "a hidden corner" or whatever, that would enable us to build a list of events available on Firefox in a similar fashion?
Any idea will be greatly appreciated.