src code

namespace Prototype.Browser

Description

A collection of Boolean values indicating the browser which is currently in use. Available properties are IE, Opera, WebKit, MobileSafari and Gecko.

Example

Prototype.Browser.WebKit;
//-> true, when executed in any WebKit-based browser.