A small module for detecting the browser name, version, operating system and device type through the
browser user agent and exposing methods for controllers.
The module automatically extends all Controllers to have two methods:
Both returning a Browser class which wraps the browser name, version, operating system and device type.
The browser name is crude but will return one of the following:
The browser version will return a string value in the format of "X.X", just the major and minor version numbers
The operating system will return one of the following values:
Device detects whether the browser is either a handheld or a screen device (mobile/tablet or desktop/laptop) and
will return the following values:
Detects the browser rendering engine and will return the following values:
When the module is included in your SilverStripe directory structure, the module, through extension, will expose
a browser attribute for use in templates:
Will be evaluated to something like:
<html class="macintosh firefox firefox22 screen gecko">
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem