I don't think it would be difficult to combine techniques from https://addons.mozilla.org/firefox/3469/ and pass them to FireBug