[Greasemonkey] Finding the form element in focus

Julien Couvreur julien.couvreur at gmail.com
Fri Mar 17 10:59:14 EST 2006


A little javascript/DOM question:
Is it possible to find out what form element is currently in focus?

I want to create a user script or bookmarklet that transforms the
currently active text input into a textarea, for better readability.

Thanks,
Julien


More information about the Greasemonkey mailing list