Ticket #1392 (closed bug: invalid)
Gecko is gecko
|Reported by:||Jonno||Owned by:|
Basicaly, detecting "Mozilla" is not very smart (as many, but not all, non-Mozilla browsers include Mozilla in their user agents). The only safe way I know about to reliably detect a Mozilla based browser is to look for Gecko/YYYYMMDD in the user agent (other browser may include "like Gecko", but none other include the gecko build date).
The attached patch fixes these issues as well as adds support for khtml (very similar to WebKit).