[wp-hackers] Objectifying the browser detection
David House
dave at xmouse.ithium.net
Thu Jul 29 20:55:49 UTC 2004
Just a note that maybe we should move the browser detection globals ($is_IE,
$is_gecko and so on) over to a $ua object or something? Maybe:
class browser {
function uastring() { /* returns ua's identifying string */ }
var $is_IE;
var $is_gecko;
var $is_lynx;
//etc.
}
Just for some more global reduction.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the hackers
mailing list