Summary
This small module helps theme-developers to deal with cross-browser compatibility. It makes easier to handle different types of non-widespread browsers just as much as it helps with using different versions of Internet Explorer.
The module extends the $body_classes variable in page.tpl.php based on the enduser's browser, and platform.
The module also makes a $browser_classes variable available in page.tpl.php, which stores the data in an array, this way the developer can make use of it as needed, if he does not wish to use the $body_classes variable.
Supported browsers
- ie
- opera
- safari
- chrome
- netscape
- ff
- konqueror
- dillo
- chimera
- beonex
- aweb
- amaya
- icab
- lynx
- galeon
- operamini
Browser version checking
The module creates version classes.
- ie[version]
- opera[version]
- chrome[version]
- safari[version]
- netscape[version]
- ff[version]
- konqueror[version]
- operamini[version]
Supported platforms
- win
- ipad
- ipod
- iphone
- mac
- android
- linux
- nokia
- blackberry
- NetBSD
- FreeBSD
- OpenBSD
Mobile detecting
The module checks if the device is mobile and adds "mobile" or "desktop" class.