add seamonkey

pull/7/head
plukevdh 13 years ago
parent 07f1d65f56
commit 2be132a7a5

@ -26,6 +26,7 @@
, opera = /opera/i.test(ua)
, firefox = /firefox/i.test(ua)
, gecko = /gecko\//i.test(ua)
, seamonkey = /seamonkey\//i.test(ua)
, webkitVersion = /version\/(\d+(\.\d+)?)/i
function detect() {
@ -77,7 +78,10 @@
if (firefox) o.firefox = t
return o
}
if (seamonkey) return {
seamonkey: t
, version: ua.match(/seamonkey\/(\d+(\.\d+)?)/i)[1]
}
}
var bowser = detect()

Loading…
Cancel
Save