FireBug Logging Function

By Richard Davies Last update Apr 28, 2006 — Installed 452 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 3, 0, 0
Script Summary:
Adds printfire() function to enable writing logging info to the FireBug JS console. As is noted in the comments, this script is unnecessary in the current version of Firebug.

Script homepage

Recently Updated TopicsPosts
Archived Comments4

this script has 1 topic, 4 posts

This script has no reviews.

Automatically adds the printfire() function to all web pages to enable writing logging info to the JavaScript console of the FireBug Firefox extension.

Please note the following caveats:

1. Since the printfire() function is only added at runtime in Firefox, any printfire calls will cause an error when the page is viewed in another browser.

2. Your JavaScript can't call printfire until Greasemonkey has added the function. (Which I believe is after the page has completely loaded.)