Feature #24443
closedgetBrowserInfo should recognize iOS and android for easier mobile optimization
0%
Description
t3lib_utility_Client::getBrowserInfo() should differentiate between e.g. 'mac' for Mac OS X and 'iOS' on the mobile devices like iPod touch, iPhone and iPad. Same for Linux and the more specific android – which normally (not always of course) implies some sort of special/mobile device.
While I was at it, I added support for Windows 7, Windows Vista, Windows XP and Windows 2000 besides the iOS and android. Inluded are some UnitTests for the new entries as well as one for the older (the OS I had in vmware at this time).
(issue imported from #M16878)
Files
Updated by Steffen Gebert almost 14 years ago
Thanks Andreas!
Could you please send this as RFC to the core team mailinglist?
http://typo3.org/teams/core/core-mailinglist-rules/
Updated by Andreas Lappe almost 14 years ago
Second version supersedes the first and adds additional system detection for {Free,Open,Net}BSD as well as Chrome OS and some more tests for various Browsers.
Updated by Andreas Lappe almost 14 years ago
Added v3 with suggestions of Jeff Segars to maintain backwards-compatibility.
Updated by Ernesto Baschny almost 14 years ago
Committed to trunk in rev. 10022.