Browser()

Returns either "Desktop", "Tablet", "Mobile", or "TV".

Returns

Text

Description

This function detects the browser based on the user-agent string sent with each request. The string contains only basic information, such as platform and browser code, and NO information on the device’s screen size or orientation. As a result, the function categorizes the device into one of the four categories.

Examples