Drupal For Firebug runs its hooks and outputs Firebug info whether the user agent has Firebug or not. Originally I was going to propose that it check whether Firebug is enabled on the client, but I can't think of a way to do that. (I thought Firebug would include a identifier in the User-Agent header of GETs, but I don't see it.)
So instead, what if Firebug just checked the User-Agent header for Firefox. If it's not Firefox, don't bother. I like to leave DfF on for when I'm debugging in Firefox, but sometimes I switch to Safari. It would be nice to have that implicitly disable DfF so I can see normal page load times. Maybe not a huge benefit, but the fix is simple and shouldn't have any negative impact.
Comments
Comment #1
populist commentedI think this could be an easy addition and would welcome a patch, but postponing since I think there is a better architectural solution for making DFF fast + detecting the FF plugin being enabled.
Comment #2
populist commentedAs an update, I also think it would make sense to have the admin_menu module have an option to auto disabled DFF as part of the "disable developer modules". Any specific performance testing should not happen with development modules running and allowing stuff to be easily turned on/off would be helpful.