You need to be logged in to post in the forums. If you do not have an account, please sign up first.
How to inspect event handlers
This is a newbie question from someone who doesn't really use tools like Dragonfly very often.Sometimes I have a page made by someone else where clicking on a link or other element triggers some Javascript to perform a task.
Is there a way to use Dragonfly to tell me what functions will be run when I click or hover on an element, whether the event handlers are attached using the onclick attribute in the HTML, or dynamically using things like addEventListener? Inspecting the source works if the functions are placed on a relevant HTML attribute, but not when the page uses Javascript to attach those events dynamically.
My main use for this would be for writing user Javascripts, where I want to find out quickly what functions need to be modified. Some sites use a lot of very messy javascript spread across a load of files that make it hard to work out what needs changing.
At the moment, I can click on an element to find out its proportions, CSS rules and its DOM properties, but I can't spot how to see what event handler functions are associated with it.