[Javascript] extract a list of supported events in Firefox

Troy III Ajnej trojani2000 at hotmail.com
Wed Jun 29 11:03:07 CDT 2011


Hey, Warner.

What I mean(t) is: 

a [named] list of events supported and 

of course [programmatically] collected.


For instance, on IE you could do:

 

for(x in document)if(/^on/.test(x))alert(x);

 

(!warning: long list ahead...)

 

Is there a sort of hack or whatever, that 

would enable us to build an actualy supported

list of events available on a current browser

version in a similar/dynamic manner?

 

Thanks.
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Troy III
       progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 


> From: john at jwarner.com
> To: javascript at lists.evolt.org
> Date: Wed, 29 Jun 2011 07:34:31 -0400
> Subject: Re: [Javascript] extract a list of supported events in Firefox
> 
> https://developer.mozilla.org/En/JavaScript/ECMAScript_5_support_in_Mozill
> a
> 
> John Warner 		 	   		  


More information about the Javascript mailing list