On Mon, Nov 12, 2012 at 8:12 AM, Gervase Markham <g...@mozilla.org> wrote:
> On 12/11/12 16:07, Dirkjan Ochtman wrote:

>>> D) Use neither, like Chrome. UA sniffing is evil. Developers should use
>>> the
>>> presence of a touch API to detect touch capability, and use flexible
>>> layout
>>> to adapt to whatever screen size the user has. This is Google's approach.
>>
>>
>> Given all the options listed, this one sounds seriously attractive.
>> Let the developers use appropriate API's to figure out what kind of
>> layout is appropriate, instead of having them on confusing UA tokens.
>
>
> In an ideal world, I'm sure they'd all do that. Question is, will they?
>
>
> Gerv

On mobile Chrome leaks the device name in the UA this is the current
method of hardware feature detection on the Android stock browser as
well.

Kevin
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to