is it possible to detect inline event handlers
is it possible to detect inline event handlers
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.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: is it possible to detect inline event handlers
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.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.4) Gecko/20100611 Firefox/3.6.4