From b24eb888b5e5bab57dda356634f9bf5413d08b53 Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 24 Mar 2005 20:34:09 +0000 Subject: [PATCH 1/1] add SeaMonkey detection :) --- include/classes/useragent.php-class | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index 5db5dc9..18415b8 100755 --- a/include/classes/useragent.php-class +++ b/include/classes/useragent.php-class @@ -176,6 +176,10 @@ class userAgent { $this->brand = 'Firefox'; $this->version = $regs[1]; } + elseif (preg_match('|SeaMonkey/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) { + $this->brand = 'SeaMonkey'; + $this->version = $regs[1]; + } elseif (preg_match('|Galeon/([0-9a-zA-Z\.+]+)|', $this->uastring, $regs)) { $this->brand = 'Galeon'; $this->version = $regs[1]; -- 2.35.3