Page 1 of 1

is it possible to detect inline event handlers

Posted: Tue Jun 22, 2010 11:36 pm
by al_9x
so as not to show the scriptless icon? I guess it's probably not worth walking the dom yourself, but gecko knows if there are events handlers registered, seems it should be possible to query it.

Re: is it possible to detect inline event handlers

Posted: Wed Jun 23, 2010 12:27 am
by Giorgio Maone
No, there's no sane way to do that. Furthermore, if JS is disabled on the page no event handler gets registered, so you'd be left with the DOM anyway.