[Greasemonkey] Started FAQ page
evan.martin at gmail.com
Mon Apr 4 00:55:28 EDT 2005
I use dump() for debugging some of my scripts, but I don't have them handy.
Part of the trick is you have to run "firefox -console" and keep the
console open to see the output.
Another approach is something I've seen in Mihai's scripts: his log()
function creates appends a <pre> to the body and stuffs some text into
it. It's pretty useful.
On Apr 3, 2005 5:59 PM, Jeremy Dunck <jdunck at gmail.com> wrote:
> On Apr 3, 2005 7:55 PM, Evan Martin <evan.martin at gmail.com> wrote:
> > My FAQ: how do you debug scripts? This includes both "how do I get
> > the browser to report script errors?" as well as "how can I log
> > information (without using alert)?"
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
More information about the Greasemonkey