One-Line Browser Detection in Javascript
A single line of JavaScript that that determines the browser of the user. I generally don't use much browser-specific JavaScript these days, but it's nice to know this is there when it's needed. Via Ajaxian
http://www.thespanner.co.uk/2009/01/29/detecting-browsers-javascript-hacks/