Kirill Bondar 7/17/2012 7:06:09 AM Implemented Browser() function that returns either "Desktop", "Tablet", "Mobile" or "TV".
The function detects the browser based on user-agent string sent with each request. The string contains only basic information such as platform and browser code and NO information on device's screen size or orientation - thus, the result is one of 4 categories.
|