Module Description
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

Project Usage
109
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module helps to set CSS class in the body based on the header user agent and device.
Data Name
user_agent_class

OPENAI CHATBOT

OPENAI CHATBOT

14:28:33
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.