Skip to content

random($foo) is the occassionally still updated blog of Leonard Lin. My pics are on Flickr, code is on Github. @lhl on Twitter.   More »

random($foo)

Posted on July 16, 2002February 27, 2005 by lhl

Browser Feature Detection – browser sniffing via API name detection. Detection is done by determining if a property/method is undefined or not using the typeof operand. Full details in the source. (Danny Goodman wrote an article about Object Detection a while back)

Posted in Legacy

Post navigation

Previous Post
Next Post