User Agent Class
This module helps you to set css class in body depends on header user agent, device.
Configuration module:
- User agent (Browser) admin/config/system/user-agent
- Chrome
- Firefox
- Opera
- Safari
- Trident
- etc. ability to add any browsers by trigger from Header User-Agent:
- Device (Phone, Table, etc) admin/config/system/device
- Android
- iPhone
- iPad
- Blackberry
- Windows Phone
- etc. ability to add any devices by trigger from Header User-Agent:
- Responsibility (Frontend/Backend) admin/config/system/provide
It is possible to select a method for adding a class in body by Frontend-js (by default) and Backend-php (Advanced need to disable "internal page cache" module and only keep "dynamic page cache" enabled.)
An example Header -> User Agent:
- Chrome
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/60.0.3112.90 Safari/537.36
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.