[Greasemonkey] GM_log

Shaun Etherton shaun at synect.com
Fri Jul 1 12:44:59 EDT 2005


On Thu, 2005-06-30 at 21:06 -0500, Jeremy Dunck wrote:
> On 6/30/05, Shaun Etherton <shaun at synect.com> wrote:
> > Hi,
> > 
> > I have just started looking at greasemonkey so I'm sorry if this is a
> > dumb question.
> > I was wondering if its possible to use GM_log from within non user.js
> > javascript files somehow.
> 
> No, but...
> 
> > I have been asked to add some functionality to a complex Javascript
> > application and was hoping to use this instead of alerts for debugging.
> 
> What you want is dump().
> http://kb.mozillazine.org/Dev_:_Tips_:_Enabling_dump
> 
> Also, setting the env var MOZ_NO_REMOTE = 1 will allow you to run
> multiple Firefox sessions at the same time.. in order to run, say, 2
> different profiles: one for debug, and one for normal browsing.

Thanks for the Quick reply. That looks perfect I will give it a try.
Much appreciated.

cheers,
-- 
Shaun Etherton <shaun at synect.com>



More information about the Greasemonkey mailing list