> user-agent check ... don't assume any ill intent.
A user-agent check is ill intent for exactly the reasons you state:
> we've known for years that feature detection is preferable to user-agent detection
Wasn't Google the company that pushed this in the early days of Chrome?