Console²
| Console²: | Home Revision History Feedback Screenshots Contributors Source Code Bugs |
|---|---|
| Console Filter: | Home Revision History Feedback |
Quick-Start
- Install Console Filter
- Restart Firefox
- Go to Tools → Error Console
What's New
- 2008-02-21: New homepage for Console Filter
Developers
- 0.3+ - Philip Chee
- 0.1 to 0.3 - zeniko
Console Filter A text filter for the JavaScript/Error Console.
Console Filter helps you to find the relevant errors in the JavaScript (or Error) Console.
If you use JavaScript in strict mode (javascript.options.strict is set), it can get pretty difficult to find your own lapses and oversights. Console Filter gives you more control over the console, so that you can focus on debugging instead of digging.
The filter syntax is basically "Google Lite" The messages in the console are searched for all terms entered (AND search), but must not contain any terms preceded by a minus sign (NOT search). Terms inside quotations marks must be found in that order (exact phrase).
error -expect "declaration dropped"
Additionally, there are a few special category filters:
- @js (JavaScript errors only),
- @css (CSS errors only),
- @xml (XML/XUL/XBL/HTML errors only), and
- @- (messages and strict warnings only).
These can be enabled through about:config (recommended for Firefox 1.5 and above).
The filter textbox can be focused (and its content selected) through the hotkeys [Ctrl]+[K] (as the Web Search bar - opposing to [Ctrl]+[L] for the evaluation field) and [Ctrl]+[Q].
The current filter is saved between sessions, as is a list of up to ten permanent filters. To add a filter to that list, confirm it with [Return]. To remove it again, just right-click on it.
Compatibility
Officially supported applications: Firefox, Thunderbird, and SeaMonkey.Console Filter can also be installed in Mozilla Suite, Netscape 7/8/9, Flock, Sunbird, eMusic Remote, and Nvu; however this is for the convenience of the users of minority applications and no support will be provided if Console Filter does not work in these applications.
Installation
Latest release:
Console Filter 0.3+
This release version works with Firefox 1.0 to 3.0b3,
Thunderbird 1.0 to 3.0a,
SeaMonkey 1.0 to 2.0a,
and most probably the current trunk/branch nightlies.
- [new] maxVersion bump for Firefox/Thunderbird/SeaMonkey nightlies.
- [fix] Typo in the XPFE/SeaMonkey keyset ID.
- [fix] Better way of dealing with a missing keyset ID in Firefox 1.0.
- [nit] Update the Array.prototype.map implementation (for Gecko 1.7 applications) to match the reference implementation on DevMo.