The Horde_Browser class provides an API for getting information about the current user's browser and its capabilities.