I have a strange bug - shortly after the web page loads, a form is being submitted (form submission is triggered by Javascript code obviously). The problem is that I can't find the piece of code that submits the form. Is it possible to find it using Firebug or any other extension?
I resolved the problem, this can be done by adding
form.submit = function(event) {console.trace()}
Thus, we redefined submit handler for the form, and instead of being submitted, it will print trace info to the console.