WICG / ua-client-hints

Wouldn't it be nice if `User-Agent` was a (set of) client hints?
https://wicg.github.io/ua-client-hints/
Other
583 stars 74 forks source link

Include EInk, Watch; fix type for formFactor #345

Closed djmitche closed 1 year ago

djmitche commented 1 year ago

This adds two new values for the form-factor hint, and corrects the type of the formFactor property of UADataValues.

Both were omitted from #343, and brought to my attention by @lukewarlow and @nielsbasjes.


Preview | Diff

lukewarlow commented 1 year ago

Fwiw Samsung Internet runs on watches I assume they also have client hints enabled? Unfortunately they dont enable client hints atm but maybe in future. And as mentioned can always be removed in future if it never gets used.

nielsbasjes commented 1 year ago

Fwiw Samsung Internet runs on watches I assume they also have client hints enabled?

If I use the Samsung browser on my normal phone it doesn't show any UA client hints. https://try.yauaa.basjes.nl/

Perhaps the browser on a watch is different (if you have one; please try it on my test site) but I expect it to be the same.

miketaylr commented 1 year ago

Fwiw Samsung Internet runs on watches I assume they also have client hints enabled?

Cool - didn't know that. :) If they decide to turn it on one day, SGTM.