I'm looking to detect a specific model of iPad via Javascript (iPad v. iPad 2 v. iPad Mini v..., etc).
This information is not contained in the user agent. Some iPads have Retina, some don't.
If possible, the ability to distinguish iPhone types as well would be helpful.
Is this possible?