Project

General

Profile

Actions

Feature #24443

closed

getBrowserInfo should recognize iOS and android for easier mobile optimization

Added by Andreas Lappe almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-12-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

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

getBrowserInfo.diff (7.76 KB) getBrowserInfo.diff Administrator Admin, 2010-12-30 15:28
getBrowserInfo-v2.diff (11.8 KB) getBrowserInfo-v2.diff Administrator Admin, 2011-01-02 22:02
getBrowserInfo-v3.diff (20 KB) getBrowserInfo-v3.diff Administrator Admin, 2011-01-04 22:10

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #24454: t3lib_utility_Client::getBrowserInfo() fails to detect ChromeClosed2011-01-02

Actions
Related to TYPO3 Core - Bug #24675: htmlArea RTE: Not enabled in various browser/system combinationsClosedStanislas Rolland2011-01-20

Actions
Actions #1

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/

Actions #2

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.

Actions #3

Updated by Andreas Lappe almost 14 years ago

Added v3 with suggestions of Jeff Segars to maintain backwards-compatibility.

Actions #4

Updated by Ernesto Baschny almost 14 years ago

Committed to trunk in rev. 10022.

Actions #5

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF