Re: trying to use dump() with Firefox on OS X
josh <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.mac |
|---|---|
| Organization | EarthLink Inc. -- http://www.EarthLink.net |
| Message-ID | <2004022123062416807%NoSPAMjrichards@hotmailcom> |
Replying to my own question:
In order to enable dump() you need to add the following lines to your
prefs.js file in your profile directory:
user_pref("browser.dom.window.dump.enabled", true);
user_pref("javascript.options.showInConsole", true);
On 2004-02-20 01:05:19 -0700, josh <[email protected]> said:
> I'm trying to use the javascript dump() command with Firefox under OS
> X, but for the life of me I can't figure out where it's going.
>
> I've tried variations of running
> '/Applications/Firefox.app/Contents/MacOS/firefox[-bin]' with
> redirecting stderr but no luck. I've checked all of the common system
> and console logs--no luck.
>
> I've tried googling my heart out, but no luck. The best I've found is this:
> http://tinyurl.com/2wnkf [groups.google.com]
>
> Here is the important part from the above link:
> "Dump() commands are written to the console. To bring it up on windows
> you run mozilla.exe -console but on the Mac I'm not sure how they do it,
> although I heard they came up with some way (Probably through drag &
> drop or something)."
>
> I've also tried playing around with './firefox -console' but I still
> can not get anything.
> Is 'dump()' supported on OS X? Can someone help?
>
> thanks,
> josh.