mozdev.org

Console²

Console²:
Console Filter:
Quick-Start
What's New
  • 2011-12-19: Console² 0.9 Released.
  • 2011-07-15: Console² 0.8 Released.
  • 2011-01-17: Console² 0.7.1 Released.
  • 2010-10-07: Console² 0.7 Released.
  • 2010-03-20: Console² 0.6 Released.
  • 2009-06-30: Console² 0.5 Released.
  • 2008-11-24: Console² 0.3.10 Released.
  • 2008-07-17: Console² 0.3.9.2 Released.
  • 2008-05-06: Console² 0.3.9.1 Released.
  • 2008-01-04: Console² 0.3.9 Released.
  • 2007-08-14: Console² 0.3.8 Released.
  • 2007-03-26: Console² 0.3.7 Released.
  • 2007-01-15: New homepage for Console²
Developers

Console² replaces the JavaScript Console with what could be the next generation Error Console.

As of Firefox 1.5, the JavaScript Console is used not only for JavaScript errors, but for CSS errors as well. This extension takes this into account by providing a simple possibility to display errors by type. In case you find Console Filter too confusing, this might be what you've been looking for.

Console² let's you display errors filtered by type (Errors, Warnings, Messages), language (JavaScript, CSS, XML) and context (Chrome, Content). Furthermore it provides a simple search box (as seen in the History and Bookmarks sidebars) and some accessibility improvements.

On the way, this extension proposes fixes to the following bugs: 67603, 68025, 80704, 81209, 83019, 86093, 88057, 106696, 136672, 147015, 156396, 179268, 233146, 238898, 265871, 266539 (also 291002, 345477), 267866, 272420, 275265, 276904, 288544, 289927, 298371, 298993, 301039, 302211, 305206, 306223, 307354, 307447, 309289, 312247, 322169, 325235, 332191, 334997, 335383, 342662, 348627, 366901, 369077, 376815, 379439, 380422, 385092, 386968, 387109, and 391740.

Finally, web developers can add the following function to their code and call it for sending messages to the console:

function debug(aMsg) {
	setTimeout(function() { throw new Error("[debug] " + aMsg); }, 0);
}

Compatibility

Officially supported applications: Firefox, Thunderbird, and SeaMonkey.

Console² can also be installed in Komodo, Flock, Sunbird, Netscape Navigator 9 and the eMusic Download Manager, however this is for the convenience of the users of minority applications and no support will be provided if Console² does not work in these applications.

Installation

Testing Version: Console² 1.0dev
This release version works with Firefox 3.0 to 18.0, Thunderbird 3.0 to 18.0, SeaMonkey 2.0 to 2.15, and most probably the current trunk/branch nightlies.

Latest release: Console² 0.9
This release version works with Firefox 3.0 to 11.0, Thunderbird 3.0 to 11.0, SeaMonkey 2.0 to 2.8, and most probably the current trunk/branch nightlies.

Release: Console² 0.8
This release version works with Firefox 3.0 to 9.0, Thunderbird 3.0 to 9.0, SeaMonkey 2.0 to 2.6, and most probably the current trunk/branch nightlies.

Release: Console² 0.7.1
This release version works with Firefox 3.0 to 4.0, Thunderbird 3.0 to 3.3, SeaMonkey 2.0 to 2.1, and most probably the current trunk/branch nightlies.

Release: Console² 0.7
This release version works with Firefox 3.0 to 4.0, Thunderbird 3.0 to 3.3, SeaMonkey 2.0 to 2.1, and most probably the current trunk/branch nightlies.

Release: Console² 0.6
This release version works with Firefox 1.5 to 3.7a, Thunderbird 1.5 to 3.1b, SeaMonkey 1.0 to 2.1a, and most probably the current trunk/branch nightlies.

Release: Console² 0.5
This release version works with Firefox 1.5 to 3.6a1pre, Thunderbird 1.5 to 3.0b4, SeaMonkey 1.0 to 2.0b1, and most probably the current trunk/branch nightlies.

Release: Console² 0.3.10
This release version works with Firefox 1.5 to 3.1b2, Thunderbird 1.5 to 3.0b1, SeaMonkey 1.0 to 2.0a2, and most probably the current trunk/branch nightlies.

Release: Console² 0.3.9.2
This release version works with Firefox 1.5 to 3.1a1, Thunderbird 1.5 to 3.0a2, SeaMonkey 1.0 to 2.0a1, and most probably the current trunk/branch nightlies.

Frequently Encountered Issues (FAQ)

I don't like the default toolbar layout.
The toolbar is customizable: simply right click on it, select Customize and have it your way.
Could you please add a keyboard shortcut for displaying the console?
This won't happen. Either use keyconfig or Web Developer for adding (and customizing) the shortcut.
I'd like to get more detailed error information: timestamp, stack trace, etc.
I'd like so, too. However, this won't happen before bug 228205 is fixed.
Some messages are not correctly categorized.
Have a look at this post and tell me where you don't agree.
I'd like to have the message backgrounds colored differently for errors, warnings and messages.
Just add mrtech's CSS suggestions to you userChrome.css and modify them as needed.
What about replacing the original JavaScript/Error Console with this extension?
This most probably won't happen (see bug 310168).

The console2 project can be contacted through the mailing list or the member list.
Copyright © 2000-2014. All rights reserved. Terms of Use & Privacy Policy.